Home
last modified time | relevance | path

Searched refs:postScale (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/flutter/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp24 matrix->postScale(-1, 1); in set()
43 matrix->postScale(0.5, 0.5); in set()
45 matrix->postScale(fR1 / (fR1 * fR1 - 1), 1 / sqrt(SkScalarAbs(fR1 * fR1 - 1))); in set()
47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set()
66 gradientMatrix.postScale(scale, scale); in Create()
/third_party/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp24 matrix->postScale(-1, 1); in set()
43 matrix->postScale(0.5, 0.5); in set()
45 matrix->postScale(fR1 / (fR1 * fR1 - 1), 1 / sqrt(SkScalarAbs(fR1 * fR1 - 1))); in set()
47 matrix->postScale(SkScalarAbs(1 - fFocalX), SkScalarAbs(1 - fFocalX)); // scale |1 - f| in set()
66 gradientMatrix.postScale(scale, scale); in Create()
/third_party/flutter/skia/tests/
DMatrixTest.cpp187 rot90Scale.setRotate(90).postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
393 mat.setRotate(30).postScale(2, 2); in test_matrix_preserve_shape()
398 mat.setRotate(30).postScale(3, 2); in test_matrix_preserve_shape()
509 mat.setRotate(kRotation1).postScale(kScale0, kScale0); in test_matrix_decomposition()
519 mat.setRotate(kRotation0).postScale(kScale1, -kScale1); in test_matrix_decomposition()
529 mat.setRotate(kRotation1).postScale(kScale1, kScale0); in test_matrix_decomposition()
534 mat.setRotate(90).postScale(kScale1, kScale0); in test_matrix_decomposition()
549 mat.setRotate(kRotation1).postScale(kScale0, kScale0).postRotate(kRotation0); in test_matrix_decomposition()
554 mat.setRotate(kRotation0).postScale(kScale1, kScale0).postRotate(kRotation1); in test_matrix_decomposition()
559 mat.setRotate(kRotation0).postScale(-kScale1, kScale0).postRotate(kRotation1); in test_matrix_decomposition()
[all …]
DRoundRectTest.cpp723 matrix.postScale(SkIntToScalar(-1), SkIntToScalar(1)); in test_transform_helper()
775 matrix.postScale(SkIntToScalar(1), SkIntToScalar(-1)); in test_transform_helper()
813 matrix.postScale(SkIntToScalar(1), SkIntToScalar(-1)); in test_transform_helper()
825 matrix.postScale(SkIntToScalar(-1), SkIntToScalar(1)); in test_transform_helper()
852 matrix.postScale(SkIntToScalar(-1), SkIntToScalar(-1)); in test_transform_helper()
892 matrix.postScale(SkIntToScalar(-1), SkIntToScalar(-1)); in test_transform_helper()
/third_party/skia/tests/
DMatrixTest.cpp197 rot90Scale.setRotate(90).postScale(SK_Scalar1 / 4, SK_Scalar1 / 2); in test_matrix_min_max_scale()
402 mat.setRotate(30).postScale(2, 2); in test_matrix_preserve_shape()
407 mat.setRotate(30).postScale(3, 2); in test_matrix_preserve_shape()
518 mat.setRotate(kRotation1).postScale(kScale0, kScale0); in test_matrix_decomposition()
528 mat.setRotate(kRotation0).postScale(kScale1, -kScale1); in test_matrix_decomposition()
538 mat.setRotate(kRotation1).postScale(kScale1, kScale0); in test_matrix_decomposition()
543 mat.setRotate(90).postScale(kScale1, kScale0); in test_matrix_decomposition()
558 mat.setRotate(kRotation1).postScale(kScale0, kScale0).postRotate(kRotation0); in test_matrix_decomposition()
563 mat.setRotate(kRotation0).postScale(kScale1, kScale0).postRotate(kRotation1); in test_matrix_decomposition()
568 mat.setRotate(kRotation0).postScale(-kScale1, kScale0).postRotate(kRotation1); in test_matrix_decomposition()
[all …]
/third_party/flutter/skia/modules/skottie/src/
DSkottieAdapter.cpp73 t.postScale(fScale.x() / 100, fScale.y() / 100); // 100% based in totalMatrix()
104 t.postScale(fScale.fX / 100, fScale.fY / 100, fScale.fZ / 100); in totalMatrix()
172 persp_t.postScale(view_size * 0.5f, view_size * 0.5f, 1); in totalMatrix()
199 m.postScale(std::pow(fScale.x() * .01f, fOffset), in apply()
/third_party/skia/bench/
DMatrixBench.cpp155 fMatrix[i].postScale(sx, sy); in onDelayedSetup()
179 fMatrix.postScale(1.5f, 2.5f); in InvertMapRectMatrixBench()
270 static SkMatrix make_scale() { SkMatrix m(make_trans()); m.postScale(1.5f, 0.5f); return m; } in make_scale()
/third_party/flutter/skia/bench/
DMatrixBench.cpp155 fMatrix[i].postScale(sx, sy); in onDelayedSetup()
179 fMatrix.postScale(1.5f, 2.5f); in InvertMapRectMatrixBench()
270 static SkMatrix make_scale() { SkMatrix m(make_trans()); m.postScale(1.5f, 0.5f); return m; } in make_scale()
/third_party/flutter/skia/src/pdf/
DSkPDFShader.cpp175 leftMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
191 rightMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
218 topMatrix.postScale(-1, 1); in make_image_shader()
234 bottomMatrix.postScale(-1, 1); in make_image_shader()
/third_party/skia/src/pdf/
DSkPDFShader.cpp176 leftMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
192 rightMatrix.postScale(SK_Scalar1, -SK_Scalar1); in make_image_shader()
219 topMatrix.postScale(-1, 1); in make_image_shader()
235 bottomMatrix.postScale(-1, 1); in make_image_shader()
/third_party/skia/gm/
Dimagealphathreshold.cpp83 matrix.postScale(.8f, .8f); in onDraw()
142 matrix.postScale(.8f, .8f); in onDraw()
Dxfermodes.cpp145 m.postScale(SK_ScalarHalf, SK_ScalarHalf, x, y); in draw_mode()
191 m.postScale(SK_ScalarHalf, SK_ScalarHalf, x, y); in draw_mode()
/third_party/flutter/skia/gm/
Dimagealphathreshold.cpp83 matrix.postScale(.8f, .8f); in onDraw()
142 matrix.postScale(.8f, .8f); in onDraw()
Dxfermodes.cpp144 m.postScale(SK_ScalarHalf, SK_ScalarHalf, x, y); in draw_mode()
190 m.postScale(SK_ScalarHalf, SK_ScalarHalf, x, y); in draw_mode()
/third_party/flutter/skia/include/core/
DSkMatrix44.h345 void postScale(SkMScalar sx, SkMScalar sy, SkMScalar sz);
353 inline void postScale(SkMScalar scale) { in postScale() function
354 this->postScale(scale, scale, scale); in postScale()
/third_party/skia/docs/examples/
DMatrix_063.cpp11 matrix.postScale(1, 0.5f); in draw()
DMatrix_postScale_2.cpp11 matrix.postScale(.75f, 1.5f); in draw()
DMatrix_postScale.cpp11 matrix.postScale(.75f, 1.5f, source.width() / 2, source.height() / 2); in draw()
DMatrix_decomposeScale.cpp9 matrix.postScale(1.f / 4, 1.f / 2); in draw()
DMatrix_TypeMask.cpp21 matrix.postScale(2, 1); in draw()
/third_party/flutter/skia/docs/examples/
DMatrix_postScale_2.cpp11 matrix.postScale(.75f, 1.5f); in draw()
DMatrix_equal_operator.cpp14 b.postScale(0.5f, 0.25f); in draw()
DMatrix_postScale.cpp11 matrix.postScale(.75f, 1.5f, source.width() / 2, source.height() / 2); in draw()
DMatrix_decomposeScale.cpp9 matrix.postScale(1.f / 4, 1.f / 2); in draw()
DMatrix_TypeMask.cpp21 matrix.postScale(2, 1); in draw()

12345