Home | History | Annotate | Download | only in graphics

Lines Matching defs:FloatRect

50 class FloatRect {
57 FloatRect() { }
58 FloatRect(const FloatPoint& location, const FloatSize& size)
60 FloatRect(float x, float y, float width, float height)
62 FloatRect(const IntRect&);
63 FloatRect(const LayoutRect&);
64 FloatRect(const SkRect&);
66 static FloatRect narrowPrecision(double x, double y, double width, double height);
129 bool intersects(const FloatRect&) const;
130 bool contains(const FloatRect&) const;
133 void intersect(const FloatRect&);
134 void unite(const FloatRect&);
135 void uniteEvenIfEmpty(const FloatRect&);
136 void uniteIfNonZero(const FloatRect&);
156 FloatRect transposedRect() const { return FloatRect(m_location.transposedPoint(), m_size.transposedSize()); }
164 FloatRect(const CGRect&);
167 FloatRect(const NSRect&);
186 inline FloatRect intersection(const FloatRect& a, const FloatRect& b)
188 FloatRect c = a;
193 inline FloatRect unionRect(const FloatRect& a, const FloatRect& b)
195 FloatRect c = a;
200 FloatRect unionRect(const Vector<FloatRect>&);
202 inline FloatRect& operator+=(FloatRect& a, const FloatRect& b)
210 inline FloatRect operator+(const FloatRect& a, const FloatRect& b)
212 FloatRect c = a;
217 inline bool operator==(const FloatRect& a, const FloatRect& b)
222 inline bool operator!=(const FloatRect& a, const FloatRect& b)
227 IntRect enclosingIntRect(const FloatRect&);
229 // Returns a valid IntRect contained within the given FloatRect.
230 IntRect enclosedIntRect(const FloatRect&);
232 IntRect roundedIntRect(const FloatRect&);
235 FloatRect mapRect(const FloatRect& r, const FloatRect& srcRect, const FloatRect& destRect);