Home | History | Annotate | Download | only in graphics

Lines Matching defs:FloatRect

28 #include "FloatRect.h"
41 FloatRect::FloatRect(const IntRect& r) : m_location(r.location()), m_size(r.size())
45 FloatRect FloatRect::narrowPrecision(double x, double y, double width, double height)
47 return FloatRect(narrowPrecisionToFloat(x), narrowPrecisionToFloat(y), narrowPrecisionToFloat(width), narrowPrecisionToFloat(height));
50 bool FloatRect::intersects(const FloatRect& other) const
58 bool FloatRect::contains(const FloatRect& other) const
64 void FloatRect::intersect(const FloatRect& other)
82 void FloatRect::unite(const FloatRect& other)
100 void FloatRect::uniteIfNonZero(const FloatRect& other)
118 void FloatRect::scale(float sx, float sy)
126 void FloatRect::fitToPoints(const FloatPoint& p0, const FloatPoint& p1)
165 void FloatRect::fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2)
175 void FloatRect::fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3)
185 IntRect enclosingIntRect(const FloatRect& rect)
196 FloatRect mapRect(const FloatRect& r, const FloatRect& srcRect, const FloatRect& destRect)
199 return FloatRect();
203 return FloatRect(destRect.x() + (r.x() - srcRect.x()) * widthScale,