Home
last modified time | relevance | path

Searched refs:ScalePoint (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Dpoint.cc72 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()
Dpoint3_unittest.cc51 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()
Ddip_util.cc34 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()
Dpoint3_f.h106 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()
Dpoint_f.h113 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()
Dpoint_unittest.cc91 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()
Daxis_transform2d.h60 return ScalePoint(p, scale_) + translation_; in MapPoint()
63 return ScalePoint(p - translation_, 1.f / scale_); in InverseMapPoint()
Dpoint_f.cc25 PointF ScalePoint(const PointF& p, float x_scale, float y_scale) { in ScalePoint() function
Dquad_unittest.cc350 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()
Drect_f.h175 set_origin(ScalePoint(origin(), x_scale, y_scale)); in Scale()