Home
last modified time | relevance | path

Searched refs:SkVector4 (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/core/
DSkMatrix44.h88 struct SkVector4 { struct
91 SkVector4() { in SkVector4() argument
94 SkVector4(const SkVector4& src) { in SkVector4() argument
97 SkVector4(SkScalar x, SkScalar y, SkScalar z, SkScalar w = SK_Scalar1) {
104 SkVector4& operator=(const SkVector4& src) {
109 bool operator==(const SkVector4& v) {
113 bool operator!=(const SkVector4& v) {
422 friend SkVector4 operator*(const SkMatrix44& m, const SkVector4& src) {
423 SkVector4 dst;
/external/skia/tests/
DMatrix44Test.cpp603 static bool is_rectilinear (SkVector4& p1, SkVector4& p2, SkVector4& p3, SkVector4& p4) { in is_rectilinear()
614 static SkVector4 mul_with_persp_divide(const SkMatrix44& transform, const SkVector4& target) { in mul_with_persp_divide()
615 SkVector4 result = transform * target; in mul_with_persp_divide()
628 SkVector4 p1(5.0f, 5.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
629 SkVector4 p2(10.0f, 5.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
630 SkVector4 p3(10.0f, 20.0f, 0.0f); in empirically_preserves_2d_axis_alignment()
631 SkVector4 p4(5.0f, 20.0f, 0.0f); in empirically_preserves_2d_axis_alignment()