/third_party/skia/include/core/ |
D | SkMatrix.h | 46 class SK_API SkMatrix { 55 constexpr SkMatrix() : SkMatrix(1,0,0, 0,1,0, 0,0,1, kIdentity_Mask | kRectStaysRect_Mask) {} in SkMatrix() function 67 static SkMatrix SK_WARN_UNUSED_RESULT Scale(SkScalar sx, SkScalar sy) { in Scale() 68 SkMatrix m; in Scale() 83 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkScalar dx, SkScalar dy) { in Translate() 84 SkMatrix m; in Translate() 88 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkVector t) { return Translate(t.x(), t.y()); } in Translate() 89 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkIVector t) { return Translate(t.x(), t.y()); } in Translate() 96 static SkMatrix SK_WARN_UNUSED_RESULT RotateDeg(SkScalar deg) { in RotateDeg() 97 SkMatrix m; in RotateDeg() [all …]
|
/third_party/flutter/skia/include/core/ |
D | SkMatrix.h | 33 class SK_API SkMatrix { 42 constexpr SkMatrix() : SkMatrix(1,0,0, 0,1,0, 0,0,1, kIdentity_Mask | kRectStaysRect_Mask) {} in SkMatrix() function 54 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar sx, SkScalar sy) { in MakeScale() 55 SkMatrix m; in MakeScale() 69 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar scale) { in MakeScale() 70 SkMatrix m; in MakeScale() 85 static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) { in MakeTrans() 86 SkMatrix m; in MakeTrans() 108 static SkMatrix SK_WARN_UNUSED_RESULT MakeAll(SkScalar scaleX, SkScalar skewX, SkScalar transX, in MakeAll() 111 SkMatrix m; in MakeAll() [all …]
|
/third_party/skia/src/core/ |
D | SkMatrix.cpp | 24 void SkMatrix::doNormalizePerspective() { in doNormalizePerspective() 30 if (0 == fMat[SkMatrix::kMPersp0] && 0 == fMat[SkMatrix::kMPersp1]) { in doNormalizePerspective() 31 SkScalar p2 = fMat[SkMatrix::kMPersp2]; in doNormalizePerspective() 37 fMat[SkMatrix::kMPersp2] = 1; in doNormalizePerspective() 63 SkMatrix& SkMatrix::reset() { *this = SkMatrix(); return *this; } in reset() 65 SkMatrix& SkMatrix::set9(const SkScalar buffer[]) { in set9() 71 SkMatrix& SkMatrix::setAffine(const SkScalar buffer[]) { in setAffine() 96 uint8_t SkMatrix::computePerspectiveTypeMask() const { in computePerspectiveTypeMask() 111 uint8_t SkMatrix::computeTypeMask() const { in computeTypeMask() 124 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); in computeTypeMask() [all …]
|
D | SkMatrixPriv.h | 23 static size_t WriteToMemory(const SkMatrix& matrix, void* buffer) { in WriteToMemory() 27 static size_t ReadFromMemory(SkMatrix* matrix, const void* buffer, size_t length) { in ReadFromMemory() 31 typedef SkMatrix::MapXYProc MapXYProc; 32 typedef SkMatrix::MapPtsProc MapPtsProc; 35 static MapPtsProc GetMapPtsProc(const SkMatrix& matrix) { in GetMapPtsProc() 36 return SkMatrix::GetMapPtsProc(matrix.getType()); in GetMapPtsProc() 39 static MapXYProc GetMapXYProc(const SkMatrix& matrix) { in GetMapXYProc() 40 return SkMatrix::GetMapXYProc(matrix.getType()); in GetMapXYProc() 47 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx, in InverseMapRect() 49 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect() [all …]
|
D | SkImageFilterTypes.cpp | 15 static SkIVector map_as_vector(int32_t x, int32_t y, const SkMatrix& matrix) { in map_as_vector() 21 static SkVector map_as_vector(SkScalar x, SkScalar y, const SkMatrix& matrix) { in map_as_vector() 29 bool Mapping::decomposeCTM(const SkMatrix& ctm, const SkImageFilter* filter, in decomposeCTM() 31 SkMatrix remainder, layer; in decomposeCTM() 39 layer = SkMatrix::I(); in decomposeCTM() 43 remainder = SkMatrix::I(); in decomposeCTM() 48 layer = SkMatrix::Scale(decomposed.fWidth, decomposed.fHeight); in decomposeCTM() 65 layer = SkMatrix::Scale(scale, scale); in decomposeCTM() 68 SkMatrix invRemainder; in decomposeCTM() 83 bool Mapping::adjustLayerSpace(const SkMatrix& layer) { in adjustLayerSpace() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkMatrix.cpp | 33 if (0 == mat[SkMatrix::kMPersp0] && 0 == mat[SkMatrix::kMPersp1]) { in normalize_perspective() 34 SkScalar p2 = mat[SkMatrix::kMPersp2]; in normalize_perspective() 40 mat[SkMatrix::kMPersp2] = 1; in normalize_perspective() 66 SkMatrix& SkMatrix::reset() { *this = SkMatrix(); return *this; } in reset() 68 SkMatrix& SkMatrix::set9(const SkScalar buffer[]) { in set9() 75 SkMatrix& SkMatrix::setAffine(const SkScalar buffer[]) { in setAffine() 100 uint8_t SkMatrix::computePerspectiveTypeMask() const { in computePerspectiveTypeMask() 115 uint8_t SkMatrix::computeTypeMask() const { in computeTypeMask() 128 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); in computeTypeMask() 129 int m01 = SkScalarAs2sCompliment(fMat[SkMatrix::kMSkewX]); in computeTypeMask() [all …]
|
D | SkMatrixPriv.h | 23 static size_t WriteToMemory(const SkMatrix& matrix, void* buffer) { in WriteToMemory() 27 static size_t ReadFromMemory(SkMatrix* matrix, const void* buffer, size_t length) { in ReadFromMemory() 31 typedef SkMatrix::MapXYProc MapXYProc; 32 typedef SkMatrix::MapPtsProc MapPtsProc; 35 static MapPtsProc GetMapPtsProc(const SkMatrix& matrix) { in GetMapPtsProc() 36 return SkMatrix::GetMapPtsProc(matrix.getType()); in GetMapPtsProc() 39 static MapXYProc GetMapXYProc(const SkMatrix& matrix) { in GetMapXYProc() 40 return SkMatrix::GetMapXYProc(matrix.getType()); in GetMapXYProc() 47 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx, in InverseMapRect() 49 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect() [all …]
|
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLUtil.cpp | 11 template<> void GrGLSLGetMatrix<3>(float* dest, const SkMatrix& src) { in GrGLSLGetMatrix() 13 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLSLGetMatrix() 14 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); in GrGLSLGetMatrix() 15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix() 18 dest[3] = SkScalarToFloat(src[SkMatrix::kMSkewX]); in GrGLSLGetMatrix() 19 dest[4] = SkScalarToFloat(src[SkMatrix::kMScaleY]); in GrGLSLGetMatrix() 20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix() 23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix() 24 dest[7] = SkScalarToFloat(src[SkMatrix::kMTransY]); in GrGLSLGetMatrix() 25 dest[8] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix() [all …]
|
D | GrGLSLPrimitiveProcessor.cpp | 17 SkMatrix GrGLSLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix, in GetTransformMatrix() 19 SkMatrix combined; in GetTransformMatrix() 30 combined.set(SkMatrix::kMSkewY, in GetTransformMatrix() 31 combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix() 32 combined.set(SkMatrix::kMScaleY, in GetTransformMatrix() 33 combined[SkMatrix::kMPersp1] - combined[SkMatrix::kMScaleY]); in GetTransformMatrix() 34 combined.set(SkMatrix::kMTransY, in GetTransformMatrix() 35 combined[SkMatrix::kMPersp2] - combined[SkMatrix::kMTransY]); in GetTransformMatrix() 40 combined.set(SkMatrix::kMSkewY, in GetTransformMatrix() 41 h * combined[SkMatrix::kMPersp0] - combined[SkMatrix::kMSkewY]); in GetTransformMatrix() [all …]
|
D | GrGLSLProgramDataManager.cpp | 13 void GrGLSLProgramDataManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix) const { in setSkMatrix() 15 matrix.get(SkMatrix::kMScaleX), in setSkMatrix() 16 matrix.get(SkMatrix::kMSkewY), in setSkMatrix() 17 matrix.get(SkMatrix::kMPersp0), in setSkMatrix() 18 matrix.get(SkMatrix::kMSkewX), in setSkMatrix() 19 matrix.get(SkMatrix::kMScaleY), in setSkMatrix() 20 matrix.get(SkMatrix::kMPersp1), in setSkMatrix() 21 matrix.get(SkMatrix::kMTransX), in setSkMatrix() 22 matrix.get(SkMatrix::kMTransY), in setSkMatrix() 23 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
|
/third_party/flutter/skia/src/shaders/ |
D | SkShaderBase.h | 46 virtual bool update(const SkMatrix& ctm, const SkMatrix* localM) = 0; 59 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; } in getLocalMatrix() 81 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() 90 const SkMatrix* fMatrix; // the current matrix in the canvas 91 const SkMatrix* fLocalMatrix; // optional local matrix 125 const SkMatrix& getTotalInverse() const { return fTotalInverse; } in getTotalInverse() 126 const SkMatrix& getCTM() const { return fCTM; } in getCTM() 129 SkMatrix fCTM; 130 SkMatrix fTotalInverse; 173 bool SK_WARN_UNUSED_RESULT computeTotalInverse(const SkMatrix& ctm, [all …]
|
/third_party/skia/src/shaders/ |
D | SkShaderBase.h | 42 sk_sp<SkShader> makeWithCTM(const SkMatrix&) const; // owns its own ctm 50 const SkMatrix& getLocalMatrix() const { return fLocalMatrix; } in getLocalMatrix() 72 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, in ContextRec() 82 const SkMatrix* fMatrix; // the current matrix in the canvas 83 const SkMatrix* fLocalMatrix; // optional local matrix 119 const SkMatrix& getTotalInverse() const { return fTotalInverse; } in getTotalInverse() 120 const SkMatrix& getCTM() const { return fCTM; } in getCTM() 123 SkMatrix fCTM; 124 SkMatrix fTotalInverse; 168 bool SK_WARN_UNUSED_RESULT computeTotalInverse(const SkMatrix& ctm, [all …]
|
/third_party/skia/tests/ |
D | MatrixTest.cpp | 20 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) { in nearly_equal() 37 const SkMatrix& a, in are_equal() 38 const SkMatrix& b) { in are_equal() 75 static bool is_identity(const SkMatrix& m) { in is_identity() 76 SkMatrix identity; in is_identity() 81 static void assert9(skiatest::Reporter* reporter, const SkMatrix& m, in assert9() 110 SkMatrix m; in test_set9() 122 buffer[SkMatrix::kMScaleX] = 1; in test_set9() 123 buffer[SkMatrix::kMScaleY] = 1; in test_set9() 124 buffer[SkMatrix::kMPersp2] = 1; in test_set9() [all …]
|
D | GrQuadCropTest.cpp | 25 const SkMatrix& viewMatrix, const SkMatrix* localMatrix) { in run_crop_axis_aligned_test() 30 GrQuad::MakeFromRect(kDrawRect, localMatrix ? *localMatrix : SkMatrix::I()), in run_crop_axis_aligned_test() 49 SkMatrix invViewMatrix; in run_crop_axis_aligned_test() 53 SkMatrix toLocal = SkMatrix::Concat(*localMatrix, invViewMatrix); in run_crop_axis_aligned_test() 99 const SkMatrix& viewMatrix, const SkMatrix* localMatrix) { in run_crop_fully_covered_test() 105 SkMatrix invViewMatrix; in run_crop_fully_covered_test() 113 GrQuad::MakeFromRect(drawRect, localMatrix ? *localMatrix : SkMatrix::I()), in run_crop_fully_covered_test() 177 static void test_axis_aligned_all_clips(skiatest::Reporter* r, const SkMatrix& viewMatrix, in test_axis_aligned_all_clips() 178 const SkMatrix* localMatrix) { in test_axis_aligned_all_clips() 207 static void test_axis_aligned(skiatest::Reporter* r, const SkMatrix& viewMatrix) { in test_axis_aligned() [all …]
|
/third_party/flutter/skia/tests/ |
D | MatrixTest.cpp | 20 static bool nearly_equal(const SkMatrix& a, const SkMatrix& b) { in nearly_equal() 37 const SkMatrix& a, in are_equal() 38 const SkMatrix& b) { in are_equal() 75 static bool is_identity(const SkMatrix& m) { in is_identity() 76 SkMatrix identity; in is_identity() 81 static void assert9(skiatest::Reporter* reporter, const SkMatrix& m, in assert9() 100 SkMatrix m; in test_set9() 112 buffer[SkMatrix::kMScaleX] = 1; in test_set9() 113 buffer[SkMatrix::kMScaleY] = 1; in test_set9() 114 buffer[SkMatrix::kMPersp2] = 1; in test_set9() [all …]
|
D | GrQuadCropTest.cpp | 25 const SkMatrix& viewMatrix, const SkMatrix* localMatrix) { in run_crop_axis_aligned_test() 30 GrQuad localQuad = GrQuad::MakeFromRect(kDrawRect, localMatrix ? *localMatrix : SkMatrix::I()); in run_crop_axis_aligned_test() 50 SkMatrix invViewMatrix; in run_crop_axis_aligned_test() 54 SkMatrix toLocal = SkMatrix::Concat(*localMatrix, invViewMatrix); in run_crop_axis_aligned_test() 100 const SkMatrix& viewMatrix, const SkMatrix* localMatrix) { in run_crop_fully_covered_test() 106 SkMatrix invViewMatrix; in run_crop_fully_covered_test() 167 static void test_axis_aligned_all_clips(skiatest::Reporter* r, const SkMatrix& viewMatrix, in test_axis_aligned_all_clips() 168 const SkMatrix* localMatrix) { in test_axis_aligned_all_clips() 197 static void test_axis_aligned(skiatest::Reporter* r, const SkMatrix& viewMatrix) { in test_axis_aligned() 200 SkMatrix normalized = SkMatrix::MakeRectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f), in test_axis_aligned() [all …]
|
/third_party/skia/modules/sksg/src/ |
D | SkSGTransform.cpp | 18 SkMatrix AsSkMatrix(const T&); 21 SkMatrix AsSkMatrix<SkMatrix>(const SkMatrix& m) { return m; } in AsSkMatrix() 24 SkMatrix AsSkMatrix<SkM44>(const SkM44& m) { return m.asM33(); } in AsSkMatrix() 30 SkM44 AsSkM44<SkMatrix>(const SkMatrix& m) { return SkM44(m); } in AsSkM44() 38 template <typename = std::enable_if<std::is_same<T, SkMatrix>::value || 55 SkRect onRevalidate(InvalidationController* ic, const SkMatrix& ctm) override { in onRevalidate() 66 SkMatrix asMatrix() const override { in asMatrix() 86 template <typename = std::enable_if<std::is_same<T, SkMatrix>::value || 100 SkRect onRevalidate(InvalidationController* ic, const SkMatrix& ctm) override { in onRevalidate() 112 SkMatrix asMatrix() const override { in asMatrix() [all …]
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.cpp | 14 void GrGLSLProgramDataManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix) const { in setSkMatrix() 16 matrix.get(SkMatrix::kMScaleX), in setSkMatrix() 17 matrix.get(SkMatrix::kMSkewY), in setSkMatrix() 18 matrix.get(SkMatrix::kMPersp0), in setSkMatrix() 19 matrix.get(SkMatrix::kMSkewX), in setSkMatrix() 20 matrix.get(SkMatrix::kMScaleY), in setSkMatrix() 21 matrix.get(SkMatrix::kMPersp1), in setSkMatrix() 22 matrix.get(SkMatrix::kMTransX), in setSkMatrix() 23 matrix.get(SkMatrix::kMTransY), in setSkMatrix() 24 matrix.get(SkMatrix::kMPersp2), in setSkMatrix()
|
/third_party/skia/docs/examples/ |
D | MemberIndex.cpp | 14 for (int i : { SkMatrix::kMScaleX, SkMatrix::kMSkewX, SkMatrix::kMTransX, 15 SkMatrix::kMSkewY, SkMatrix::kMScaleY, SkMatrix::kMTransY, 16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) { 17 SkMatrix m;
|
/third_party/flutter/skia/docs/examples/ |
D | MemberIndex.cpp | 14 for (int i : { SkMatrix::kMScaleX, SkMatrix::kMSkewX, SkMatrix::kMTransX, 15 SkMatrix::kMSkewY, SkMatrix::kMScaleY, SkMatrix::kMTransY, 16 SkMatrix::kMPersp0, SkMatrix::kMPersp1, SkMatrix::kMPersp2 } ) { 17 SkMatrix m;
|
/third_party/flutter/skia/src/gpu/ |
D | GrPathProcessor.h | 20 const SkMatrix& viewMatrix = SkMatrix::I(), 21 const SkMatrix& localMatrix = SkMatrix::I()) { 28 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() 29 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 41 GrPathProcessor(const SkPMColor4f&, const SkMatrix& viewMatrix, const SkMatrix& localMatrix); 44 const SkMatrix fViewMatrix; 45 const SkMatrix fLocalMatrix;
|
/third_party/flutter/skia/gm/ |
D | shadermaskfilter.cpp | 45 SkMatrix matrix = SkMatrix::MakeScale(SkIntToScalar(image->width()) / mask->width(), in draw_masked_image() 257 using ShaderMakerT = sk_sp<SkShader>(*)(SkCanvas*, const SkMatrix& lm); 259 [](SkCanvas* canvas, const SkMatrix& lm) -> sk_sp<SkShader> { in __anon89d59bcb0302() 266 [](SkCanvas*, const SkMatrix& lm) -> sk_sp<SkShader> { in __anon89d59bcb0402() 278 SkMatrix fCanvasMatrix, 282 { SkMatrix::I(), SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10) }, 283 { SkMatrix::MakeScale(2, 2), SkMatrix::I(), SkMatrix::MakeTrans(10, 10) }, 284 { SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10), SkMatrix::I() }, 285 { SkMatrix::Concat(SkMatrix::MakeScale(2, 2), SkMatrix::MakeTrans(10, 10)), 286 SkMatrix::I(), SkMatrix::I() }, [all …]
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrBezierEffect.h | 61 const SkMatrix& viewMatrix, 64 const SkMatrix& localMatrix, 102 const SkMatrix& viewMatrix() const { return fViewMatrix; } in viewMatrix() 103 const SkMatrix& localMatrix() const { return fLocalMatrix; } in localMatrix() 112 GrConicEffect(const SkPMColor4f&, const SkMatrix& viewMatrix, uint8_t coverage, GrClipEdgeType, 113 const SkMatrix& localMatrix, bool usesLocalCoords); 116 SkMatrix fViewMatrix; 117 SkMatrix fLocalMatrix; 145 const SkMatrix& viewMatrix, 148 const SkMatrix& localMatrix, [all …]
|
/third_party/flutter/skia/include/codec/ |
D | SkEncodedOrigin.h | 32 static inline SkMatrix SkEncodedOriginToMatrix(SkEncodedOrigin origin, int w, int h) { in SkEncodedOriginToMatrix() 34 case kTopLeft_SkEncodedOrigin: return SkMatrix::I(); in SkEncodedOriginToMatrix() 35 case kTopRight_SkEncodedOrigin: return SkMatrix::MakeAll(-1, 0, w, 0, 1, 0, 0, 0, 1); in SkEncodedOriginToMatrix() 36 case kBottomRight_SkEncodedOrigin: return SkMatrix::MakeAll(-1, 0, w, 0, -1, h, 0, 0, 1); in SkEncodedOriginToMatrix() 37 case kBottomLeft_SkEncodedOrigin: return SkMatrix::MakeAll( 1, 0, 0, 0, -1, h, 0, 0, 1); in SkEncodedOriginToMatrix() 38 case kLeftTop_SkEncodedOrigin: return SkMatrix::MakeAll( 0, 1, 0, 1, 0, 0, 0, 0, 1); in SkEncodedOriginToMatrix() 39 case kRightTop_SkEncodedOrigin: return SkMatrix::MakeAll( 0, -1, h, 1, 0, 0, 0, 0, 1); in SkEncodedOriginToMatrix() 40 case kRightBottom_SkEncodedOrigin: return SkMatrix::MakeAll( 0, -1, h, -1, 0, w, 0, 0, 1); in SkEncodedOriginToMatrix() 41 case kLeftBottom_SkEncodedOrigin: return SkMatrix::MakeAll( 0, 1, 0, -1, 0, w, 0, 0, 1); in SkEncodedOriginToMatrix()
|
/third_party/skia/include/codec/ |
D | SkEncodedOrigin.h | 32 static inline SkMatrix SkEncodedOriginToMatrix(SkEncodedOrigin origin, int w, int h) { in SkEncodedOriginToMatrix() 34 case kTopLeft_SkEncodedOrigin: return SkMatrix::I(); in SkEncodedOriginToMatrix() 35 case kTopRight_SkEncodedOrigin: return SkMatrix::MakeAll(-1, 0, w, 0, 1, 0, 0, 0, 1); in SkEncodedOriginToMatrix() 36 case kBottomRight_SkEncodedOrigin: return SkMatrix::MakeAll(-1, 0, w, 0, -1, h, 0, 0, 1); in SkEncodedOriginToMatrix() 37 case kBottomLeft_SkEncodedOrigin: return SkMatrix::MakeAll( 1, 0, 0, 0, -1, h, 0, 0, 1); in SkEncodedOriginToMatrix() 38 case kLeftTop_SkEncodedOrigin: return SkMatrix::MakeAll( 0, 1, 0, 1, 0, 0, 0, 0, 1); in SkEncodedOriginToMatrix() 39 case kRightTop_SkEncodedOrigin: return SkMatrix::MakeAll( 0, -1, w, 1, 0, 0, 0, 0, 1); in SkEncodedOriginToMatrix() 40 case kRightBottom_SkEncodedOrigin: return SkMatrix::MakeAll( 0, -1, w, -1, 0, h, 0, 0, 1); in SkEncodedOriginToMatrix() 41 case kLeftBottom_SkEncodedOrigin: return SkMatrix::MakeAll( 0, 1, 0, -1, 0, h, 0, 0, 1); in SkEncodedOriginToMatrix()
|