HomeSort by relevance Sort by last modified time
    Searched defs:SkMatrix (Results 1 - 4 of 4) sorted by null

  /external/skia/include/core/
SkMatrix.h 18 /** \class SkMatrix
19 SkMatrix holds a 3x3 matrix for transforming coordinates. This allows mapping
23 SkMatrix elements are in row major order. SkMatrix does not have a constructor,
24 so it must be explicitly initialized. setIdentity() initializes SkMatrix
26 initializes all SkMatrix elements with the corresponding mapping.
28 SkMatrix includes a hidden variable that classifies the type of matrix to
29 improve performance. SkMatrix is not thread safe unless getType() is called first.
32 class SK_API SkMatrix {
35 /** Sets SkMatrix to scale by (sx, sy). Returned matrix is
    [all...]
  /external/skqp/include/core/
SkMatrix.h 18 /** \class SkMatrix
19 SkMatrix holds a 3x3 matrix for transforming coordinates. This allows mapping
23 SkMatrix elements are in row major order. SkMatrix does not have a constructor,
24 so it must be explicitly initialized. setIdentity() initializes SkMatrix
26 initializes all SkMatrix elements with the corresponding mapping.
28 SkMatrix includes a hidden variable that classifies the type of matrix to
29 improve performance. SkMatrix is not thread safe unless getType() is called first.
32 class SK_API SkMatrix {
35 /** Sets SkMatrix to scale by (sx, sy). Returned matrix is
    [all...]
  /external/skia/src/core/
SkMatrix44.cpp 962 static void initFromMatrix(SkMScalar dst[4][4], const SkMatrix& src) {
963 dst[0][0] = SkScalarToMScalar(src[SkMatrix::kMScaleX]);
964 dst[1][0] = SkScalarToMScalar(src[SkMatrix::kMSkewX]);
966 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]);
967 dst[0][1] = SkScalarToMScalar(src[SkMatrix::kMSkewY]);
968 dst[1][1] = SkScalarToMScalar(src[SkMatrix::kMScaleY]);
970 dst[3][1] = SkScalarToMScalar(src[SkMatrix::kMTransY]);
975 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]);
976 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]);
978 dst[3][3] = SkScalarToMScalar(src[SkMatrix::kMPersp2])
    [all...]
  /external/skqp/src/core/
SkMatrix44.cpp 962 static void initFromMatrix(SkMScalar dst[4][4], const SkMatrix& src) {
963 dst[0][0] = SkScalarToMScalar(src[SkMatrix::kMScaleX]);
964 dst[1][0] = SkScalarToMScalar(src[SkMatrix::kMSkewX]);
966 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]);
967 dst[0][1] = SkScalarToMScalar(src[SkMatrix::kMSkewY]);
968 dst[1][1] = SkScalarToMScalar(src[SkMatrix::kMScaleY]);
970 dst[3][1] = SkScalarToMScalar(src[SkMatrix::kMTransY]);
975 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]);
976 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]);
978 dst[3][3] = SkScalarToMScalar(src[SkMatrix::kMPersp2])
    [all...]

Completed in 654 milliseconds