Searched refs:ScalePoint (Results 1 – 10 of 10) sorted by relevance
/external/libchrome/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 | point3_unittest.cc | 51 EXPECT_EQ(Point3F().ToString(), ScalePoint(Point3F(), 2.f).ToString()); in TEST() 53 ScalePoint(Point3F(), 2.f, 2.f, 2.f).ToString()); in TEST() 56 ScalePoint(Point3F(1.f, -1.f, 2.f), 2.f).ToString()); in TEST() 58 ScalePoint(Point3F(1.f, -1.f, 2.f), 2.f, 3.f, 4.f).ToString()); in TEST()
|
D | dip_util.cc | 34 return ScalePoint(point_in_pixel, 1.f / scale_factor); in ConvertPointToDIP() 66 return ScalePoint(point_in_dip, scale_factor); in ConvertPointToPixel() 84 RectF(ScalePoint(gfx::PointF(rect_in_dip.origin()), scale_factor), in ConvertRectToPixel()
|
D | point3_f.h | 106 inline Point3F ScalePoint(const Point3F& p, in ScalePoint() function 113 inline Point3F ScalePoint(const Point3F& p, const Vector3dF& v) { in ScalePoint() function 117 inline Point3F ScalePoint(const Point3F& p, float scale) { in ScalePoint() function 118 return ScalePoint(p, scale, scale, scale); in ScalePoint()
|
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_unittest.cc | 91 EXPECT_EQ(PointF().ToString(), ScalePoint(PointF(), 2).ToString()); in TEST() 92 EXPECT_EQ(PointF().ToString(), ScalePoint(PointF(), 2, 2).ToString()); in TEST() 94 EXPECT_EQ(PointF(2, -2).ToString(), ScalePoint(PointF(1, -1), 2).ToString()); in TEST() 96 ScalePoint(PointF(1, -1), 2, 2).ToString()); in TEST()
|
D | axis_transform2d.h | 60 return ScalePoint(p, scale_) + translation_; in MapPoint() 63 return ScalePoint(p - translation_, 1.f / scale_); in InverseMapPoint()
|
D | point_f.cc | 25 PointF ScalePoint(const PointF& p, float x_scale, float y_scale) { in ScalePoint() function
|
D | quad_unittest.cc | 350 PointF a_scaled = ScalePoint(a, 1.5f); in TEST() 351 PointF b_scaled = ScalePoint(b, 1.5f); in TEST() 352 PointF c_scaled = ScalePoint(c, 1.5f); in TEST() 353 PointF d_scaled = ScalePoint(d, 1.5f); in TEST()
|
D | rect_f.h | 175 set_origin(ScalePoint(origin(), x_scale, y_scale)); in Scale()
|