Home
last modified time | relevance | path

Searched refs:kMScaleX (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/core/
DSkMatrix.cpp63 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 …]
DSkMatrixImageFilter.cpp131 fTransform[SkMatrix::kMScaleX], in toString()
DSkScalerContext.cpp765 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()
DSkGlyphCache.cpp359 matrix[SkMatrix::kMScaleX], matrix[SkMatrix::kMSkewX], in dump()
DSkBitmapProcState.cpp82 if (!SkScalarNearlyZero(matrix[SkMatrix::kMScaleX] - SK_Scalar1, tol)) { in just_trans_general()
DSkDraw.cpp460 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/
DSkMatrix.h112 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/
DGrGLUtil.cpp259 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLGetMatrix()
276 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLGetMatrix()
DGrGLProgramDataManager.cpp248 matrix.get(SkMatrix::kMScaleX), in setSkMatrix()
DGrGLPathRendering.cpp240 coefficients[0] = SkScalarToFloat(matrix[SkMatrix::kMScaleX]); in setProgramPathFragmentInputTransform()
/external/skia/tests/
DMatrixTest.cpp105 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/
DSamplePolyToPoly.cpp34 m2.set(SkMatrix::kMScaleX, dst[1].fX - dst[0].fX); in PolyToPolyView()
/external/skia/src/effects/
DSk2DPathEffect.cpp79 fMatrix[SkMatrix::kMScaleX], fMatrix[SkMatrix::kMSkewX], fMatrix[SkMatrix::kMTransX], in toString()
/external/skia/src/utils/
DSkCamera.cpp237 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()
DSkMatrix44.cpp923 dst[0][0] = SkScalarToMScalar(src[SkMatrix::kMScaleX]); in initFromMatrix()
959 dst[SkMatrix::kMScaleX] = SkMScalarToScalar(fMat[0][0]); in operator SkMatrix()
/external/skia/src/gpu/
DGrPathUtils.cpp285 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()
DGrOvalRenderer.cpp1052 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()
DGrAARectRenderer.cpp228 { viewMatrix[SkMatrix::kMScaleX], viewMatrix[SkMatrix::kMSkewY] }, in generateAAFillRectGeometry()
DGrAAConvexPathRenderer.cpp221 SkScalar det2x2 = SkScalarMul(m.get(SkMatrix::kMScaleX), m.get(SkMatrix::kMScaleY)) - in get_direction()
/external/skia/src/animator/
DSkDrawMatrix.cpp104 result = fMatrix[SkMatrix::kMScaleX]; in dump()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp114 bMatrix[SkMatrix::kMScaleX] = -2 * (SkScalarMul(fCenterX1, bMatrix[SkMatrix::kMScaleX]) + in Edge2PtConicalEffect()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp225 fGsA.m11 = SkScalarToFloat(GsA.get(SkMatrix::kMScaleX)); in SkScalerContext_DW()
DSkFontHost_win.cpp629 fGsA.eM11 = SkScalarToFIXED(GsA.get(SkMatrix::kMScaleX)); in SkScalerContext_GDI()
688 xform.eM11 = SkScalarToFloat(sA.get(SkMatrix::kMScaleX)); in SkScalerContext_GDI()
DSkFontHost_mac.cpp277 return CGAffineTransformMake( ScalarToCG(matrix[SkMatrix::kMScaleX] * sx), in MatrixToCGAffineTransform()
/external/skia/src/pdf/
DSkPDFShader.cpp656 const SkScalar sx = in[SkMatrix::kMScaleX]; in split_perspective()

12