/third_party/skia/src/core/ |
D | SkMatrix.cpp | 72 fMat[kMScaleX] = buffer[kAScaleX]; in setAffine() 124 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); in computeTypeMask() 204 SkScalar mx = fMat[kMScaleX]; in isSimilarity() 236 SkScalar mx = fMat[kMScaleX]; in preservesRightAngles() 288 fMat[kMTransX] += sdot(fMat[kMScaleX], dx, fMat[kMSkewX], dy); in preTranslate() 348 fMat[kMScaleX] *= sx; in preScale() 360 if (fMat[kMScaleX] == 1 && fMat[kMScaleY] == 1 in preScale() 397 fMat[kMScaleX] *= invX; in postIDiv() 414 fMat[kMScaleX] = cosV; in setSinCos() 430 fMat[kMScaleX] = xform.fSCos; in setRSXform() [all …]
|
D | SkPaintPriv.cpp | 112 SkScalar sx = SkPoint::Length(matrix[SkMatrix::kMScaleX], matrix[SkMatrix::kMSkewY]); in ComputeResScaleForStroking()
|
D | SkPathRef.cpp | 101 if (matrix.get(SkMatrix::kMScaleX) != 0) { in transform_dir_and_start() 103 if (matrix.get(SkMatrix::kMScaleX) > 0) { in transform_dir_and_start()
|
D | SkStrikeSpec.cpp | 144 return distance(SkMatrix::kMScaleX, SkMatrix::kMSkewY ) > maxSizeSquared in ShouldDrawAsPath()
|
D | SkScalerContext.cpp | 834 G.get(SkMatrix::kMScaleX), -G.get(SkMatrix::kMSkewX), G.get(SkMatrix::kMTransX), in computeMatrices() 850 if (SkScalarAbs(GA.get(SkMatrix::kMScaleX)) <= SK_ScalarNearlyZero || in computeMatrices() 869 s->fX = SkScalarAbs(GA.get(SkMatrix::kMScaleX)); in computeMatrices()
|
D | SkBitmapProcState.cpp | 161 return SkScalarNearlyZero(matrix[SkMatrix::kMScaleX] - SK_Scalar1, tol) in just_trans_general()
|
/third_party/skia/include/core/ |
D | SkMatrix.h | 345 static constexpr int kMScaleX = 0; //!< horizontal scale factor variable 407 SkScalar getScaleX() const { return fMat[kMScaleX]; } in getScaleX() 492 SkMatrix& setScaleX(SkScalar v) { return this->set(kMScaleX, v); } in setScaleX() 557 fMat[kMScaleX] = scaleX; in setAll() 1803 fMat[kMScaleX] = sx; in setScaleTranslate()
|
D | SkM44.h | 407 : SkM44(src[SkMatrix::kMScaleX], src[SkMatrix::kMSkewX], 0, src[SkMatrix::kMTransX], in SkM44()
|
/third_party/skia/docs/examples/ |
D | Matrix_array_operator.cpp | 9 SkDebugf("matrix[SkMatrix::kMScaleX] %c= 42\n", matrix[SkMatrix::kMScaleX] == 42 ? '=' : '!'); in draw()
|
D | MemberIndex.cpp | 14 for (int i : { SkMatrix::kMScaleX, SkMatrix::kMSkewX, SkMatrix::kMTransX,
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.cpp | 16 matrix.get(SkMatrix::kMScaleX), in setSkMatrix()
|
/third_party/skia/tests/ |
D | MatrixTest.cpp | 122 buffer[SkMatrix::kMScaleX] = 1; in test_set9() 475 bool result = scalar_nearly_equal_relative(mat[SkMatrix::kMScaleX], in check_matrix_recomposition() 585 SkScalar perpdot = mat[SkMatrix::kMScaleX]*mat[SkMatrix::kMScaleY] - in test_matrix_decomposition() 606 mat[SkMatrix::kMScaleX] = 0.f; in test_matrix_decomposition() 613 mat[SkMatrix::kMScaleX] = 1.f; in test_matrix_decomposition() 916 m.set(SkMatrix::kMScaleX, gRectStaysRectSamples[i].m00); in DEF_TEST() 926 mat.set(SkMatrix::kMScaleX, 1) in DEF_TEST()
|
/third_party/skia/src/utils/ |
D | SkCamera.cpp | 101 orien->set(SkMatrix::kMScaleX, x * axis.x - z * cross.x); in doUpdate() 135 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
|
/third_party/skia/src/gpu/ops/ |
D | SmallPathShapeData.cpp | 31 SkScalar sx = ctm.get(SkMatrix::kMScaleX); in SmallPathShapeDataKey()
|
D | GrOvalOpFactory.cpp | 1838 params.fXRadius = SkScalarAbs(viewMatrix[SkMatrix::kMScaleX] * ellipseXRadius + in Make() 1847 strokeWidth * (viewMatrix[SkMatrix::kMScaleX] + viewMatrix[SkMatrix::kMSkewY])); in Make() 2198 SkScalar a = viewMatrix[SkMatrix::kMScaleX]; in DIEllipseOp() 3182 SkScalar scaledRadius = SkScalarAbs(radius * (viewMatrix[SkMatrix::kMScaleX] + in MakeCircularRRectOp() 3198 scaledStroke = SkScalarAbs(strokeWidth * (viewMatrix[SkMatrix::kMScaleX] + in MakeCircularRRectOp() 3232 SkScalar xRadius = SkScalarAbs(viewMatrix[SkMatrix::kMScaleX] * radii.fX + in make_rrect_op() 3252 strokeWidth * (viewMatrix[SkMatrix::kMScaleX] + viewMatrix[SkMatrix::kMSkewY])); in make_rrect_op() 3363 SkScalar a = viewMatrix[SkMatrix::kMScaleX]; in MakeOvalOp()
|
D | SoftwarePathRenderer.cpp | 284 SkScalar sx = args.fViewMatrix->get(SkMatrix::kMScaleX); in onDrawPath()
|
D | ShadowRRectOp.cpp | 727 SkScalar matrixFactor = viewMatrix[SkMatrix::kMScaleX] + viewMatrix[SkMatrix::kMSkewX]; in Make()
|
D | AAConvexPathRenderer.cpp | 238 SkScalar det2x2 = m.get(SkMatrix::kMScaleX) * m.get(SkMatrix::kMScaleY) - in get_direction()
|
/third_party/skia/gm/ |
D | rasterhandleallocator.cpp | 115 return CGAffineTransformMake(matrix[SkMatrix::kMScaleX], in matrix_to_transform() 248 xf.eM11 = ctm[SkMatrix::kMScaleX]; in updateHandle()
|
/third_party/skia/src/gpu/geometry/ |
D | GrPathUtils.cpp | 207 m[SkMatrix::kMScaleX] = (float)((0.5*a3 + a6)*scale); in set() 224 fM[0] = m33 * m.get(SkMatrix::kMScaleX); in set() 231 fM[0] = m.get(SkMatrix::kMScaleX); in set()
|
/third_party/skia/samplecode/ |
D | SamplePolyToPoly.cpp | 34 m2.set(SkMatrix::kMScaleX, dst[1].fX - dst[0].fX); in PolyToPolyView()
|
/third_party/skia/experimental/graphite/src/ |
D | UniformManager.cpp | 204 m[i].get(SkMatrix::kMScaleX), in WriteSkMatrices()
|
/third_party/skia/src/gpu/ |
D | GrBlurUtils.cpp | 334 SkScalar sx = viewMatrix.get(SkMatrix::kMScaleX); in compute_key_and_clip_bounds()
|
/third_party/skia/src/gpu/v1/ |
D | SurfaceDrawContext.cpp | 1175 SkScalarInvert(SkScalarAbs(viewMatrix[SkMatrix::kMScaleX])) : in drawFastShadow() 1176 sk_float_rsqrt(viewMatrix[SkMatrix::kMScaleX] * viewMatrix[SkMatrix::kMScaleX] + in drawFastShadow()
|
/third_party/skia/src/ports/ |
D | SkScalerContext_mac_ct.cpp | 109 return CGAffineTransformMake( SkScalarToCGFloat(matrix[SkMatrix::kMScaleX]), in MatrixToCGAffineTransform()
|