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

  /external/skia/modules/canvaskit/
interface.js 11 // Add some helpers for matrices. This is ported from SkMatrix.cpp
18 CanvasKit.SkMatrix = {};
25 CanvasKit.SkMatrix.identity = function() {
35 CanvasKit.SkMatrix.invert = function(m) {
40 return CanvasKit.SkMatrix.identity();
51 // See SkMatrix.h::mapPoints for the docs on the math.
52 CanvasKit.SkMatrix.mapPoints = function(matrix, ptArr) {
70 CanvasKit.SkMatrix.multiply = function(m1, m2) {
86 CanvasKit.SkMatrix.rotated = function(radians, px, py) {
98 CanvasKit.SkMatrix.scaled = function(sx, sy, px, py)
    [all...]
  /external/skqp/experimental/canvaskit/
interface.js 12 // Add some helpers for matrices. This is ported from SkMatrix.cpp
19 CanvasKit.SkMatrix = {};
26 CanvasKit.SkMatrix.identity = function() {
36 CanvasKit.SkMatrix.invert = function(m) {
41 return CanvasKit.SkMatrix.identity();
52 // See SkMatrix.h::mapPoints for the docs on the math.
53 CanvasKit.SkMatrix.mapPoints = function(matrix, ptArr) {
71 CanvasKit.SkMatrix.multiply = function(m1, m2) {
87 CanvasKit.SkMatrix.rotated = function(radians, px, py) {
99 CanvasKit.SkMatrix.scaled = function(sx, sy, px, py)
    [all...]
  /external/skia/include/core/
SkMatrix.h 8 /* Generated by tools/bookmaker from include/core/SkMatrix.h and docs/SkMatrix_Reference.bmh
14 bookmaker -b docs -i include/core/SkMatrix.h -p
29 /** \class SkMatrix
30 SkMatrix holds a 3x3 matrix for transforming coordinates. This allows mapping
34 SkMatrix elements are in row major order. SkMatrix does not have a constructor,
35 so it must be explicitly initialized. setIdentity() initializes SkMatrix
37 initializes all SkMatrix elements with the corresponding mapping.
39 SkMatrix includes a hidden variable that classifies the type of matrix to
40 improve performance. SkMatrix is not thread safe unless getType() is called first
    [all...]
  /external/skqp/include/core/
SkMatrix.h 8 /* Generated by tools/bookmaker from include/core/SkMatrix.h and docs/SkMatrix_Reference.bmh
14 bookmaker -b docs -i include/core/SkMatrix.h -p
29 /** \class SkMatrix
30 SkMatrix holds a 3x3 matrix for transforming coordinates. This allows mapping
34 SkMatrix elements are in row major order. SkMatrix does not have a constructor,
35 so it must be explicitly initialized. setIdentity() initializes SkMatrix
37 initializes all SkMatrix elements with the corresponding mapping.
39 SkMatrix includes a hidden variable that classifies the type of matrix to
40 improve performance. SkMatrix is not thread safe unless getType() is called first
    [all...]
  /external/skia/src/core/
SkMatrix44.cpp 964 static void initFromMatrix(SkMScalar dst[4][4], const SkMatrix& src) {
965 dst[0][0] = SkScalarToMScalar(src[SkMatrix::kMScaleX]);
966 dst[1][0] = SkScalarToMScalar(src[SkMatrix::kMSkewX]);
968 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]);
969 dst[0][1] = SkScalarToMScalar(src[SkMatrix::kMSkewY]);
970 dst[1][1] = SkScalarToMScalar(src[SkMatrix::kMScaleY]);
972 dst[3][1] = SkScalarToMScalar(src[SkMatrix::kMTransY]);
977 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]);
978 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]);
980 dst[3][3] = SkScalarToMScalar(src[SkMatrix::kMPersp2])
    [all...]
  /external/skqp/src/core/
SkMatrix44.cpp 964 static void initFromMatrix(SkMScalar dst[4][4], const SkMatrix& src) {
965 dst[0][0] = SkScalarToMScalar(src[SkMatrix::kMScaleX]);
966 dst[1][0] = SkScalarToMScalar(src[SkMatrix::kMSkewX]);
968 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]);
969 dst[0][1] = SkScalarToMScalar(src[SkMatrix::kMSkewY]);
970 dst[1][1] = SkScalarToMScalar(src[SkMatrix::kMScaleY]);
972 dst[3][1] = SkScalarToMScalar(src[SkMatrix::kMTransY]);
977 dst[0][3] = SkScalarToMScalar(src[SkMatrix::kMPersp0]);
978 dst[1][3] = SkScalarToMScalar(src[SkMatrix::kMPersp1]);
980 dst[3][3] = SkScalarToMScalar(src[SkMatrix::kMPersp2])
    [all...]

Completed in 272 milliseconds