Home
last modified time | relevance | path

Searched refs:kMScaleY (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/src/core/
DSkMatrix.cpp76 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 …]
DSkPaintPriv.cpp113 SkScalar sy = SkPoint::Length(matrix[SkMatrix::kMSkewX], matrix[SkMatrix::kMScaleY]); in ComputeResScaleForStroking()
DSkScalerContext.cpp835 -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()
DSkPathRef.cpp105 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()
DSkStrikeSpec.cpp145 || distance(SkMatrix::kMSkewX, SkMatrix::kMScaleY) > maxSizeSquared; in ShouldDrawAsPath()
DSkBitmapProcState.cpp162 && SkScalarNearlyZero(matrix[SkMatrix::kMScaleY] - SK_Scalar1, tol); in just_trans_general()
/third_party/skia/include/core/
DSkMatrix.h349 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()
DSkM44.h408 src[SkMatrix::kMSkewY], src[SkMatrix::kMScaleY], 0, src[SkMatrix::kMTransY], in SkM44()
/third_party/skia/docs/examples/
DMatrix_array_operator.cpp10 SkDebugf("matrix[SkMatrix::kMScaleY] %c= 24\n", matrix[SkMatrix::kMScaleY] == 24 ? '=' : '!'); in draw()
DMemberIndex.cpp15 SkMatrix::kMSkewY, SkMatrix::kMScaleY, SkMatrix::kMTransY,
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramDataManager.cpp20 matrix.get(SkMatrix::kMScaleY), in setSkMatrix()
/third_party/skia/tests/
DMatrixTest.cpp123 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/
DSmallPathShapeData.cpp32 SkScalar sy = ctm.get(SkMatrix::kMScaleY); in SmallPathShapeDataKey()
DGrOvalOpFactory.cpp1841 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()
DSoftwarePathRenderer.cpp285 SkScalar sy = args.fViewMatrix->get(SkMatrix::kMScaleY); in onDrawPath()
DAAConvexPathRenderer.cpp238 SkScalar det2x2 = m.get(SkMatrix::kMScaleX) * m.get(SkMatrix::kMScaleY) - in get_direction()
/third_party/skia/src/utils/
DSkCamera.cpp105 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/
Drasterhandleallocator.cpp118 matrix[SkMatrix::kMScaleY], in matrix_to_transform()
252 xf.eM22 = ctm[SkMatrix::kMScaleY]; in updateHandle()
/third_party/skia/src/gpu/geometry/
DGrPathUtils.cpp212 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/
DSamplePolyToPoly.cpp38 m2.set(SkMatrix::kMScaleY, dst[2].fY - dst[0].fY); in PolyToPolyView()
/third_party/skia/experimental/graphite/src/
DUniformManager.cpp208 m[i].get(SkMatrix::kMScaleY), in WriteSkMatrices()
/third_party/skia/src/gpu/
DGrBlurUtils.cpp335 SkScalar sy = viewMatrix.get(SkMatrix::kMScaleY); in compute_key_and_clip_bounds()
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp112 SkScalarToCGFloat(matrix[SkMatrix::kMScaleY]), in MatrixToCGAffineTransform()
DSkFontHost_win.cpp666 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/
DSkPDFGradientShader.cpp555 const SkScalar sy = in[SkMatrix::kMScaleY]; in split_perspective()

12