Home
last modified time | relevance | path

Searched refs:SimpleMatrix (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMatrix.java40 private SimpleMatrix simpleMatrix = SimpleMatrix.newIdentityMatrix();
75 return simpleMatrix.equals(SimpleMatrix.IDENTITY); in isIdentity()
95 simpleMatrix = new SimpleMatrix(values); in setValues()
106 simpleMatrix = new SimpleMatrix(getSimpleMatrix(src)); in set()
115 simpleMatrix = SimpleMatrix.newIdentityMatrix(); in reset()
121 simpleMatrix = SimpleMatrix.translate(dx, dy); in setTranslate()
127 simpleMatrix = SimpleMatrix.scale(sx, sy, px, py); in setScale()
133 simpleMatrix = SimpleMatrix.scale(sx, sy); in setScale()
139 simpleMatrix = SimpleMatrix.rotate(degrees, px, py); in setRotate()
145 simpleMatrix = SimpleMatrix.rotate(degrees); in setRotate()
[all …]
/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp428 struct SimpleMatrix { struct
434 SkMatrix toSkMatrix(const SimpleMatrix& sm) { in toSkMatrix() argument
440 void ApplyTransform(SkPath& orig, const SimpleMatrix& sm) { in ApplyTransform()
520 ….function("_transform", select_overload<void(SkPath& orig, const SimpleMatrix& sm)>(&ApplyTransfor… in EMSCRIPTEN_BINDINGS()
614 value_array<SimpleMatrix>("SkMatrix") in EMSCRIPTEN_BINDINGS()
615 .element(&SimpleMatrix::scaleX) in EMSCRIPTEN_BINDINGS()
616 .element(&SimpleMatrix::skewX) in EMSCRIPTEN_BINDINGS()
617 .element(&SimpleMatrix::transX) in EMSCRIPTEN_BINDINGS()
619 .element(&SimpleMatrix::skewY) in EMSCRIPTEN_BINDINGS()
620 .element(&SimpleMatrix::scaleY) in EMSCRIPTEN_BINDINGS()
[all …]
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp428 struct SimpleMatrix { struct
434 SkMatrix toSkMatrix(const SimpleMatrix& sm) { in toSkMatrix() argument
440 void ApplyTransform(SkPath& orig, const SimpleMatrix& sm) { in ApplyTransform()
520 ….function("_transform", select_overload<void(SkPath& orig, const SimpleMatrix& sm)>(&ApplyTransfor… in EMSCRIPTEN_BINDINGS()
614 value_array<SimpleMatrix>("SkMatrix") in EMSCRIPTEN_BINDINGS()
615 .element(&SimpleMatrix::scaleX) in EMSCRIPTEN_BINDINGS()
616 .element(&SimpleMatrix::skewX) in EMSCRIPTEN_BINDINGS()
617 .element(&SimpleMatrix::transX) in EMSCRIPTEN_BINDINGS()
619 .element(&SimpleMatrix::skewY) in EMSCRIPTEN_BINDINGS()
620 .element(&SimpleMatrix::scaleY) in EMSCRIPTEN_BINDINGS()
[all …]
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp111 struct SimpleMatrix { struct
117 SkMatrix toSkMatrix(const SimpleMatrix& sm) { in toSkMatrix() argument
123 SimpleMatrix toSimpleSkMatrix(const SkMatrix& sm) { in toSimpleSkMatrix()
124 SimpleMatrix m {sm[0], sm[1], sm[2], in toSimpleSkMatrix()
560 bool clampAsIfUnpremul, const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
579 const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
603 const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
630 const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
667 .function("concat", optional_override([](SkCanvas& self, const SimpleMatrix& m) { in EMSCRIPTEN_BINDINGS()
704 .function("getTotalMatrix", optional_override([](const SkCanvas& self)->SimpleMatrix { in EMSCRIPTEN_BINDINGS()
[all …]
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp69 struct SimpleMatrix { struct
75 SkMatrix toSkMatrix(const SimpleMatrix& sm) { in toSkMatrix() argument
81 SimpleMatrix toSimpleSkMatrix(const SkMatrix& sm) { in toSimpleSkMatrix()
82 SimpleMatrix m {sm[0], sm[1], sm[2], in toSimpleSkMatrix()
636 bool clampAsIfUnpremul, const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
655 const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
679 const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
706 const SimpleMatrix& lm)->sk_sp<SkShader> { in EMSCRIPTEN_BINDINGS()
749 .function("concat", optional_override([](SkCanvas& self, const SimpleMatrix& m) { in EMSCRIPTEN_BINDINGS()
787 .function("getTotalMatrix", optional_override([](const SkCanvas& self)->SimpleMatrix { in EMSCRIPTEN_BINDINGS()
[all …]