/third_party/skia/src/core/ |
D | SkMatrix.cpp | 76 fMat[kMScaleY] = buffer[kAScaleY]; in setAffine() 127 int m11 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleY]); in computeTypeMask() 205 SkScalar my = fMat[kMScaleY]; in isSimilarity() 237 SkScalar my = fMat[kMScaleY]; in preservesRightAngles() 289 fMat[kMTransY] += sdot(fMat[kMSkewY], dx, fMat[kMScaleY], dy); in preTranslate() 353 fMat[kMScaleY] *= sy; in preScale() 360 if (fMat[kMScaleX] == 1 && fMat[kMScaleY] == 1 in preScale() 401 fMat[kMScaleY] *= invY; in postIDiv() 419 fMat[kMScaleY] = cosV; in setSinCos() 435 fMat[kMScaleY] = xform.fSCos; in setRSXform() [all …]
|
D | SkPaintPriv.cpp | 113 SkScalar sy = SkPoint::Length(matrix[SkMatrix::kMSkewX], matrix[SkMatrix::kMScaleY]); in ComputeResScaleForStroking()
|
D | SkScalerContext.cpp | 835 -G.get(SkMatrix::kMSkewY), G.get(SkMatrix::kMScaleY), G.get(SkMatrix::kMTransY), in computeMatrices() 851 SkScalarAbs(GA.get(SkMatrix::kMScaleY)) <= SK_ScalarNearlyZero || in computeMatrices() 870 s->fY = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() 873 SkScalar yScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices() 879 SkScalar realYScale = SkScalarAbs(GA.get(SkMatrix::kMScaleY)); in computeMatrices()
|
D | SkPathRef.cpp | 105 sameSign = matrix.get(SkMatrix::kMScaleY) > 0 ? 0b01 : 0b00; in transform_dir_and_start() 108 sameSign = matrix.get(SkMatrix::kMScaleY) > 0 ? 0b00 : 0b01; in transform_dir_and_start()
|
D | SkStrikeSpec.cpp | 145 || distance(SkMatrix::kMSkewX, SkMatrix::kMScaleY) > maxSizeSquared; in ShouldDrawAsPath()
|
D | SkBitmapProcState.cpp | 162 && SkScalarNearlyZero(matrix[SkMatrix::kMScaleY] - SK_Scalar1, tol); in just_trans_general()
|
/third_party/skia/include/core/ |
D | SkMatrix.h | 349 static constexpr int kMScaleY = 4; //!< vertical scale factor variable 414 SkScalar getScaleY() const { return fMat[kMScaleY]; } in getScaleY() 498 SkMatrix& setScaleY(SkScalar v) { return this->set(kMScaleY, v); } in setScaleY() 561 fMat[kMScaleY] = scaleY; in setAll() 1808 fMat[kMScaleY] = sy; in setScaleTranslate()
|
D | SkM44.h | 408 src[SkMatrix::kMSkewY], src[SkMatrix::kMScaleY], 0, src[SkMatrix::kMTransY], in SkM44()
|
/third_party/skia/docs/examples/ |
D | Matrix_array_operator.cpp | 10 SkDebugf("matrix[SkMatrix::kMScaleY] %c= 24\n", matrix[SkMatrix::kMScaleY] == 24 ? '=' : '!'); in draw()
|
D | MemberIndex.cpp | 15 SkMatrix::kMSkewY, SkMatrix::kMScaleY, SkMatrix::kMTransY,
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.cpp | 20 matrix.get(SkMatrix::kMScaleY), in setSkMatrix()
|
/third_party/skia/tests/ |
D | MatrixTest.cpp | 123 buffer[SkMatrix::kMScaleY] = 1; in test_set9() 481 scalar_nearly_equal_relative(mat[SkMatrix::kMScaleY], in check_matrix_recomposition() 585 SkScalar perpdot = mat[SkMatrix::kMScaleX]*mat[SkMatrix::kMScaleY] - in test_matrix_decomposition() 609 mat[SkMatrix::kMScaleY] = 0.f; in test_matrix_decomposition() 616 mat[SkMatrix::kMScaleY] = 8.f; in test_matrix_decomposition() 919 m.set(SkMatrix::kMScaleY, gRectStaysRectSamples[i].m11); in DEF_TEST() 930 .set(SkMatrix::kMScaleY, 5) in DEF_TEST()
|
/third_party/skia/src/gpu/ops/ |
D | SmallPathShapeData.cpp | 32 SkScalar sy = ctm.get(SkMatrix::kMScaleY); in SmallPathShapeDataKey()
|
D | GrOvalOpFactory.cpp | 1841 viewMatrix[SkMatrix::kMScaleY] * ellipseYRadius); in Make() 1849 strokeWidth * (viewMatrix[SkMatrix::kMSkewX] + viewMatrix[SkMatrix::kMScaleY])); in Make() 2201 SkScalar d = viewMatrix[SkMatrix::kMScaleY]; in DIEllipseOp() 3235 viewMatrix[SkMatrix::kMScaleY] * radii.fY); in make_rrect_op() 3254 strokeWidth * (viewMatrix[SkMatrix::kMSkewX] + viewMatrix[SkMatrix::kMScaleY])); in make_rrect_op() 3366 SkScalar d = viewMatrix[SkMatrix::kMScaleY]; in MakeOvalOp()
|
D | SoftwarePathRenderer.cpp | 285 SkScalar sy = args.fViewMatrix->get(SkMatrix::kMScaleY); in onDrawPath()
|
D | AAConvexPathRenderer.cpp | 238 SkScalar det2x2 = m.get(SkMatrix::kMScaleX) * m.get(SkMatrix::kMScaleY) - in get_direction()
|
/third_party/skia/src/utils/ |
D | SkCamera.cpp | 105 orien->set(SkMatrix::kMScaleY, y * axis.y - z * zenith.y); in doUpdate() 141 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
|
/third_party/skia/gm/ |
D | rasterhandleallocator.cpp | 118 matrix[SkMatrix::kMScaleY], in matrix_to_transform() 252 xf.eM22 = ctm[SkMatrix::kMScaleY]; in updateHandle()
|
/third_party/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 212 m[SkMatrix::kMScaleY] = (float)(a7*scale); in set() 228 fM[4] = m33 * m.get(SkMatrix::kMScaleY); in set() 235 fM[4] = m.get(SkMatrix::kMScaleY); in set()
|
/third_party/skia/samplecode/ |
D | SamplePolyToPoly.cpp | 38 m2.set(SkMatrix::kMScaleY, dst[2].fY - dst[0].fY); in PolyToPolyView()
|
/third_party/skia/experimental/graphite/src/ |
D | UniformManager.cpp | 208 m[i].get(SkMatrix::kMScaleY), in WriteSkMatrices()
|
/third_party/skia/src/gpu/ |
D | GrBlurUtils.cpp | 335 SkScalar sy = viewMatrix.get(SkMatrix::kMScaleY); in compute_key_and_clip_bounds()
|
/third_party/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 112 SkScalarToCGFloat(matrix[SkMatrix::kMScaleY]), in MatrixToCGAffineTransform()
|
D | SkFontHost_win.cpp | 666 fGsA.eM22 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleY)); in SkScalerContext_GDI() 725 xform.eM22 = SkScalarToFloat(sA.get(SkMatrix::kMScaleY)); in SkScalerContext_GDI()
|
/third_party/skia/src/pdf/ |
D | SkPDFGradientShader.cpp | 555 const SkScalar sy = in[SkMatrix::kMScaleY]; in split_perspective()
|