Home
last modified time | relevance | path

Searched defs:HomogeneousCoordinate (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/cc/base/
Dmath_util.h32 struct HomogeneousCoordinate { struct
33 HomogeneousCoordinate(SkMScalar x, SkMScalar y, SkMScalar z, SkMScalar w) { in HomogeneousCoordinate() function
40 bool ShouldBeClipped() const { return w() <= 0.0; } in ShouldBeClipped()
42 gfx::PointF CartesianPoint2d() const { in CartesianPoint2d()
53 gfx::Point3F CartesianPoint3d() const { in CartesianPoint3d()
64 SkMScalar x() const { return vec[0]; } in x()
65 SkMScalar y() const { return vec[1]; } in y()
66 SkMScalar z() const { return vec[2]; } in z()
67 SkMScalar w() const { return vec[3]; } in w()
69 SkMScalar vec[4];