Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMatrix.cpp67 fMat[kMTransX] = fMat[kMTransY] = in reset()
81 fMat[kMTransX] = buffer[kATransX]; in setAffine()
126 if (fMat[kMTransX] != 0 || fMat[kMTransY] != 0) { in computeTypeMask()
276 fMat[kMTransX] = dx; in setTranslate()
299 fMat[kMTransX] += sdot(fMat[kMScaleX], dx, fMat[kMSkewX], dy); in preTranslate()
315 fMat[kMTransX] += dx; in postTranslate()
339 fMat[kMTransX] = fMat[kMTransY] = in setScale()
425 fMat[kMTransX] *= invX; in postIDiv()
442 fMat[kMTransX] = sdot(sinV, py, oneMinusCosV, px); in setSinCos()
457 fMat[kMTransX] = xform.fTx; in setRSXform()
[all …]
DSkMatrixImageFilter.cpp133 fTransform[SkMatrix::kMTransX], in toString()
DSkScalerContext.cpp769 G.get(SkMatrix::kMScaleX), -G.get(SkMatrix::kMSkewX), G.get(SkMatrix::kMTransX), in computeMatrices()
DSkDraw.cpp1630 matrix[SkMatrix::kMTransX] = loc.fX; in drawPosText_asPaths()
/external/skia/src/gpu/glsl/
DGrGLSLUtil.cpp23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix()
48 dest[12] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix()
DGrGLSLProgramDataManager.cpp21 matrix.get(SkMatrix::kMTransX), in setSkMatrix()
/external/skia/include/core/
DSkMatrix.h116 kMTransX, enumerator
151 SkScalar getTranslateX() const { return fMat[kMTransX]; } in getTranslateX()
172 void setTranslateX(SkScalar v) { this->set(kMTransX, v); } in setTranslateX()
182 fMat[kMTransX] = transX; in setAll()
748 fMat[kMTransX] = tx; in setScaleTranslate()
/external/skia/debugger/QT/
DSkCanvasWidget.cpp111 fUserMatrix[SkMatrix::kMTransX] = x; in snapWidgetTransform()
/external/skia/samplecode/
DSamplePolyToPoly.cpp36 m2.set(SkMatrix::kMTransX, dst[0].fX); in PolyToPolyView()
/external/skia/src/effects/
DSk2DPathEffect.cpp80 fMatrix[SkMatrix::kMScaleX], fMatrix[SkMatrix::kMSkewX], fMatrix[SkMatrix::kMTransX], in toString()
/external/skia/src/utils/
DSkCamera.cpp239 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross.fZ); in doUpdate()
278 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix()
DSkMatrix44.cpp950 dst[3][0] = SkScalarToMScalar(src[SkMatrix::kMTransX]); in initFromMatrix()
985 dst[SkMatrix::kMTransX] = SkMScalarToScalar(fMat[3][0]); in operator SkMatrix()
/external/skia/src/gpu/
DGrPathUtils.cpp287 m[SkMatrix::kMTransX] = (float)((0.5*a5 + a8)*scale); in set()
308 fM[2] = m33 * m.get(SkMatrix::kMTransX); in set()
315 fM[2] = m.get(SkMatrix::kMTransX); in set()
DGrTest.cpp165 textureMat[SkMatrix::kMTransX] = -dst.fLeft/dst.width(); in drawTexture()
/external/skia/src/gpu/gl/
DGrGLPathRendering.cpp200 coefficients[2] = SkScalarToFloat(matrix[SkMatrix::kMTransX]); in setProgramPathFragmentInputTransform()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient_gpu.cpp123 bMatrix[SkMatrix::kMTransX] = -2 * (SkScalarMul(fCenterX1, bMatrix[SkMatrix::kMTransX]) + in Edge2PtConicalEffect()
/external/skia/src/gpu/text/
DGrTextUtils.cpp532 matrix[SkMatrix::kMTransX] = loc.fX; in DrawPosTextAsPath()
/external/skia/src/pdf/
DSkPDFShader.cpp658 const SkScalar tx = in[SkMatrix::kMTransX]; in split_perspective()
/external/skia/tests/
DMatrixTest.cpp902 mat.set(SkMatrix::kMTransX, SkIntToScalar(3)); in DEF_TEST()
/external/skia/tools/json/
DSkJSONCanvas.cpp553 command[SKJSONCANVAS_ATTRIBUTE_X] = Json::Value(matrix.get(SkMatrix::kMTransX)); in didConcat()
/external/skia/src/ports/
DSkFontHost_mac.cpp294 ScalarToCG(matrix[SkMatrix::kMTransX] * sx), in MatrixToCGAffineTransform()