Searched refs:ScalePoint (Results 1 – 4 of 4) sorted by relevance
/external/libmojo/ui/gfx/geometry/ |
D | point.cc | 72 return ToCeiledPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToCeiledPoint() 78 return ToCeiledPoint(ScalePoint(gfx::PointF(point), scale, scale)); in ScaleToCeiledPoint() 84 return ToFlooredPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToFlooredPoint() 90 return ToFlooredPoint(ScalePoint(gfx::PointF(point), scale, scale)); in ScaleToFlooredPoint() 96 return ToRoundedPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToRoundedPoint() 102 return ToRoundedPoint(ScalePoint(gfx::PointF(point), scale, scale)); in ScaleToRoundedPoint()
|
D | point_f.h | 113 GFX_EXPORT PointF ScalePoint(const PointF& p, float x_scale, float y_scale); 115 inline PointF ScalePoint(const PointF& p, float scale) { in ScalePoint() function 116 return ScalePoint(p, scale, scale); in ScalePoint()
|
D | point_f.cc | 25 PointF ScalePoint(const PointF& p, float x_scale, float y_scale) { in ScalePoint() function
|
D | rect_f.h | 175 set_origin(ScalePoint(origin(), x_scale, y_scale)); in Scale()
|