/external/skia/src/core/ |
D | SkMatrix.cpp | 63 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1; in reset() 77 fMat[kMScaleX] = buffer[kAScaleX]; in setAffine() 128 int m00 = SkScalarAs2sCompliment(fMat[SkMatrix::kMScaleX]); in computeTypeMask() 208 SkScalar mx = fMat[kMScaleX]; in isSimilarity() 240 SkScalar mx = fMat[kMScaleX]; in preservesRightAngles() 277 fMat[kMScaleX] = fMat[kMScaleY] = fMat[kMPersp2] = 1; in setTranslate() 297 fMat[kMTransX] += sdot(fMat[kMScaleX], dx, fMat[kMSkewX], dy); in preTranslate() 333 fMat[kMScaleX] = sx; in setScale() 373 fMat[kMScaleX] *= sx; in preScale() 412 fMat[kMScaleX] *= invX; in postIDiv() [all …]
|
D | SkMatrixImageFilter.cpp | 131 fTransform[SkMatrix::kMScaleX], in toString()
|
D | SkScalerContext.cpp | 765 G.get(SkMatrix::kMScaleX), -G.get(SkMatrix::kMSkewX), G.get(SkMatrix::kMTransX), in computeMatrices() 779 s->fX = SkScalarAbs(GA.get(SkMatrix::kMScaleX)); in computeMatrices() 832 if (0 == matrix[SkMatrix::kMScaleX]) { in SkComputeAxisAlignmentForHText()
|
D | SkGlyphCache.cpp | 359 matrix[SkMatrix::kMScaleX], matrix[SkMatrix::kMSkewX], in dump()
|
D | SkBitmapProcState.cpp | 82 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleX] - SK_Scalar1, tol)) { in just_trans_general()
|
D | SkDraw.cpp | 460 SkScalar sx = matrix->get(SkMatrix::kMScaleX); in init() 1005 SkScalar sx = SkPoint::Length(matrix[SkMatrix::kMScaleX], matrix[SkMatrix::kMSkewY]); in compute_res_scale_for_stroking()
|
/external/skia/include/core/ |
D | SkMatrix.h | 112 kMScaleX, enumerator 145 SkScalar getScaleX() const { return fMat[kMScaleX]; } in getScaleX() 166 void setScaleX(SkScalar v) { this->set(kMScaleX, v); } in setScaleX() 178 fMat[kMScaleX] = scaleX; in setAll() 723 fMat[kMScaleX] = sx; in setScaleTranslate()
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 259 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLGetMatrix() 276 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLGetMatrix()
|
D | GrGLProgramDataManager.cpp | 248 matrix.get(SkMatrix::kMScaleX), in setSkMatrix()
|
D | GrGLPathRendering.cpp | 240 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]); in setProgramPathFragmentInputTransform()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 105 buffer[SkMatrix::kMScaleX] = 1; in test_set9() 475 bool result = scalar_nearly_equal_relative(mat[SkMatrix::kMScaleX], in check_matrix_recomposition() 601 SkScalar perpdot = mat[SkMatrix::kMScaleX]*mat[SkMatrix::kMScaleY] - in test_matrix_decomposition() 622 mat[SkMatrix::kMScaleX] = 0.f; in test_matrix_decomposition() 629 mat[SkMatrix::kMScaleX] = 1.f; in test_matrix_decomposition() 870 m.set(SkMatrix::kMScaleX, gRectStaysRectSamples[i].m00); in DEF_TEST() 880 mat.set(SkMatrix::kMScaleX, SkIntToScalar(1)); in DEF_TEST()
|
/external/skia/samplecode/ |
D | SamplePolyToPoly.cpp | 34 m2.set(SkMatrix::kMScaleX, dst[1].fX - dst[0].fX); in PolyToPolyView()
|
/external/skia/src/effects/ |
D | Sk2DPathEffect.cpp | 79 fMatrix[SkMatrix::kMScaleX], fMatrix[SkMatrix::kMSkewX], fMatrix[SkMatrix::kMTransX], in toString()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 237 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross.fX); in doUpdate() 268 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
|
D | SkMatrix44.cpp | 923 dst[0][0] = SkScalarToMScalar(src[SkMatrix::kMScaleX]); in initFromMatrix() 959 dst[SkMatrix::kMScaleX] = SkMScalarToScalar(fMat[0][0]); in operator SkMatrix()
|
/external/skia/src/gpu/ |
D | GrPathUtils.cpp | 285 m[SkMatrix::kMScaleX] = (float)((0.5*a3 + a6)*scale); in set() 306 fM[0] = m33 * m.get(SkMatrix::kMScaleX); in set() 313 fM[0] = m.get(SkMatrix::kMScaleX); in set()
|
D | GrOvalRenderer.cpp | 1052 SkScalar xRadius = SkScalarAbs(viewMatrix[SkMatrix::kMScaleX]*ellipseXRadius + in create_ellipse_batch() 1060 scaledStroke.fX = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMScaleX] + in create_ellipse_batch() 1351 SkScalar a = viewMatrix[SkMatrix::kMScaleX]; in create_diellipse_batch() 1889 SkScalar xRadius = SkScalarAbs(viewMatrix[SkMatrix::kMScaleX]*radii.fX + in create_rrect_batch() 1908 scaledStroke.fX = SkScalarAbs(strokeWidth*(viewMatrix[SkMatrix::kMScaleX] + in create_rrect_batch()
|
D | GrAARectRenderer.cpp | 228 { viewMatrix[SkMatrix::kMScaleX], viewMatrix[SkMatrix::kMSkewY] }, in generateAAFillRectGeometry()
|
D | GrAAConvexPathRenderer.cpp | 221 SkScalar det2x2 = SkScalarMul(m.get(SkMatrix::kMScaleX), m.get(SkMatrix::kMScaleY)) - in get_direction()
|
/external/skia/src/animator/ |
D | SkDrawMatrix.cpp | 104 result = fMatrix[SkMatrix::kMScaleX]; in dump()
|
/external/skia/src/effects/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 114 bMatrix[SkMatrix::kMScaleX] = -2 * (SkScalarMul(fCenterX1, bMatrix[SkMatrix::kMScaleX]) + in Edge2PtConicalEffect()
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 225 fGsA.m11 = SkScalarToFloat(GsA.get(SkMatrix::kMScaleX)); in SkScalerContext_DW()
|
D | SkFontHost_win.cpp | 629 fGsA.eM11 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleX)); in SkScalerContext_GDI() 688 xform.eM11 = SkScalarToFloat(sA.get(SkMatrix::kMScaleX)); in SkScalerContext_GDI()
|
D | SkFontHost_mac.cpp | 277 return CGAffineTransformMake( ScalarToCG(matrix[SkMatrix::kMScaleX] * sx), in MatrixToCGAffineTransform()
|
/external/skia/src/pdf/ |
D | SkPDFShader.cpp | 656 const SkScalar sx = in[SkMatrix::kMScaleX]; in split_perspective()
|