Home
last modified time | relevance | path

Searched refs:kMTransX (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/core/
DSkMatrix.cpp34 fMat[kMTransX] = fMat[kMTransY] = in reset()
81 if (SkScalarAs2sCompliment(fMat[kMTransX]) | in computeTypeMask()
94 if (fMat[kMTransX] != 0 || fMat[kMTransY] != 0) { in computeTypeMask()
153 fMat[kMTransX] = dx; in setTranslate()
175 fMat[kMTransX] += SkScalarMul(fMat[kMScaleX], dx) + in preTranslate()
193 fMat[kMTransX] += dx; in postTranslate()
208 fMat[kMTransX] = px - SkScalarMul(sx, px); in setScale()
227 fMat[kMTransX] = fMat[kMTransY] = in setScale()
318 fMat[kMTransX] = roundidiv(fMat[kMTransX], divx); in postIDiv()
329 fMat[kMTransX] *= invX; in postIDiv()
[all …]
/external/skia/include/core/
DSkMatrix.h90 kMTransX, enumerator
125 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX()
146 void setTranslateX(SkScalar v) { this->set(kMTransX, v); } in setTranslateX()
156 fMat[kMTransX] = transX; in setAll()
/external/skia/samplecode/
DSampleOverflow.cpp34 matrix.set(SkMatrix::kMTransX, SkFloatToFixed(-1153.28)); in DrawRoundRect()
DSamplePolyToPoly.cpp37 m2.set(SkMatrix::kMTransX, dst[0].fX); in PolyToPolyView()
DSampleImageDir.cpp80 matrix.set(SkMatrix::kMTransX, SkFloatToScalar(-1153.28f)); in DrawRoundRect()
/external/skia/bench/
DMatrixBench.cpp288 float tx = fMatrix[SkMatrix::kMTransX]; in performTest()
326 float tx = (float) fMatrix[SkMatrix::kMTransX]; in performTest()
/external/skia/src/utils/
DSkCamera.cpp291 orien->set(SkMatrix::kMTransX, SkUnitScalarMul(x, axis.fZ) - SkUnitScalarMul(z, cross.fZ)); in doUpdate()
330 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
DSkMatrix44.cpp364 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]); in initFromMatrix()
386 dst[SkMatrix::kMTransX] = SkMScalarToScalar(fMat[3][0]); in operator SkMatrix()
/external/skia/src/gpu/
DGrPathUtils.cpp207 m33 * mat->get(SkMatrix::kMTransX), in fixup_matrix()
/external/skia/tests/
DMatrixTest.cpp221 mat.set(SkMatrix::kMTransX, SkIntToScalar(3)); in TestMatrix()
/external/skia/src/gpu/gl/
DGrGpuGLShaders.cpp424 GrScalarToFloat(m[GrMatrix::kMTransX]), in flushViewMatrix()
505 GrScalarToFloat(m[GrMatrix::kMTransX]), in flushTextureMatrix()
/external/skia/src/ports/
DSkFontHost_mac_atsui.cpp133 SkScalarToFloat(m[SkMatrix::kMTransX]), in SkScalerContext_Mac()
DSkFontHost_mac_coretext.cpp250 ScalarToCG(matrix[SkMatrix::kMTransX]) * sx, in MatrixToCGAffineTransform()