Home
last modified time | relevance | path

Searched refs:fMatrix (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/animator/
DSkDrawMatrix.cpp64 fMatrix.reset(); in SkDrawMatrix()
89 copy->fMatrix = fMatrix; in deepCopy()
107 if (fMatrix.isIdentity()) { in dump()
112 result = fMatrix[SkMatrix::kMScaleX]; in dump()
115 result = fMatrix.getScaleY(); in dump()
118 result = fMatrix.getSkewX(); in dump()
121 result = fMatrix.getSkewY(); in dump()
124 result = fMatrix.getTranslateX(); in dump()
127 result = fMatrix.getTranslateY(); in dump()
130 result = fMatrix.getPerspX(); in dump()
[all …]
DSkMatrixParts.cpp24 SkMatrixPart::SkMatrixPart() : fMatrix(NULL) { in SkMatrixPart()
28 fMatrix->dirty(); in dirty()
32 return fMatrix; in getParent()
39 fMatrix = (SkDrawMatrix*) parent; in setParent()
60 fMatrix->rotate(degrees, center); in add()
82 fMatrix->scale(x, y, center); in add()
104 fMatrix->skew(x, y, center); in add()
124 fMatrix->translate(x, y); in add()
161 fMatrix->set(result); in add()
190 fMatrix->set(temp); in add()
[all …]
DSkDrawMatrix.h54 fMatrix.preRotate(degrees, center.fX, center.fY); in rotate()
58 fMatrix.preConcat(src); in set()
62 fMatrix.preScale(scaleX, scaleY, center.fX, center.fY); in scale()
66 fMatrix.preSkew(skewX, skewY, center.fX, center.fY); in skew()
70 fMatrix.preTranslate(x, y); in translate()
75 SkMatrix fMatrix; variable
DSkMatrixParts.h43 SkDrawMatrix* fMatrix;
/external/skia/src/views/
DSkImageView.cpp12 fMatrix = nil; in SkImageView()
23 if (fMatrix) in ~SkImageView()
24 sk_free(fMatrix); in ~SkImageView()
67 if (fMatrix) in getImageMatrix()
69 SkASSERT(!fMatrix->isIdentity()); in getImageMatrix()
71 *matrix = *fMatrix; in getImageMatrix()
88 if (fMatrix == nil) in setImageMatrix()
89 fMatrix = (SkMatrix*)sk_malloc_throw(sizeof(SkMatrix)); in setImageMatrix()
90 *fMatrix = *matrix; in setImageMatrix()
95 if (fMatrix) in setImageMatrix()
[all …]
/external/skia/src/effects/
DSk2DPathEffect.cpp39 Sk2DPathEffect::Sk2DPathEffect(const SkMatrix& mat) : fMatrix(mat) in Sk2DPathEffect()
87 buffer.writeMul4(&fMatrix, sizeof(fMatrix)); in flatten()
92 buffer.read(&fMatrix, sizeof(fMatrix)); in Sk2DPathEffect()
93 fMatrix.invert(&fInverse); in Sk2DPathEffect()
DSkLayerRasterizer.cpp133 draw.fMatrix = &drawMatrix; in onRasterize()
/external/skia/src/core/
DSkDraw.cpp310 SkAutoBlitterChoose blitter(*fBitmap, *fMatrix, paint); in drawPaint()
553 if (!bounder_points(fBounder, mode, count, pts, paint, *fMatrix)) { in drawPoints()
572 if (rec.init(mode, paint, fMatrix, fClip)) { in drawPoints()
573 SkAutoBlitterChoose blitter(*fBitmap, *fMatrix, paint); in drawPoints()
576 const SkMatrix* matrix = fMatrix; in drawPoints()
667 paint.getRasterizer() || !fMatrix->rectStaysRect() || in drawRect()
677 const SkMatrix& matrix = *fMatrix; in drawRect()
730 paint.getMaskFilter()->filterMask(&dstM, srcM, *fMatrix, NULL)) { in drawDevMask()
738 SkAutoBlitterChoose blitter(*fBitmap, *fMatrix, paint); in drawDevMask()
775 const SkMatrix* matrix = fMatrix; in drawPath()
[all …]
DSkCanvas.cpp73 const SkMatrix* fMatrix; member
105 fMatrix = &totalMatrix; in updateMC()
111 fMatrix = &fMatrixStorage; in updateMC()
125 fDevice->setMatrixClip(*fMatrix, fClip); in updateMC()
156 SkMatrix* fMatrix; // points to either fMatrixStorage or prev MCRec member in SkCanvas::MCRec
172 fMatrixStorage = *prev->fMatrix; in MCRec()
173 fMatrix = &fMatrixStorage; in MCRec()
175 fMatrix = prev->fMatrix; in MCRec()
192 fMatrix = &fMatrixStorage; in MCRec()
235 fMatrix = rec->fMatrix; in next()
[all …]
DSkScalerContext.cpp373 draw.fMatrix = &matrix; in getImage()
DSkMatrix.cpp1213 : fMatrix(m), fSX(x0), fSY(y0), fCount(count) { in SkPerspIter()
1235 SkMatrix::Persp_xy(fMatrix, fSX, fSY, &pt); in next()
1242 SkMatrix::Persp_xy(fMatrix, fSX, fSY, &pt); in next()
/external/skia/src/utils/
DSkCamera.cpp373 fInitialRec.fMatrix.reset(); in Sk3DView()
391 rec->fMatrix = fRec->fMatrix; in save()
405 fRec->fMatrix.preTranslate(x, y, z); in translate()
410 fRec->fMatrix.preRotateX(deg); in rotateX()
415 fRec->fMatrix.preRotateY(deg); in rotateY()
420 fRec->fMatrix.preRotateZ(deg); in rotateZ()
426 patch.transform(fRec->fMatrix); in dotWithNormal()
435 patch.transform(fRec->fMatrix); in getMatrix()
/external/skia/include/effects/
DSk2DPathEffect.h56 const SkMatrix& getMatrix() const { return fMatrix; } in getMatrix()
62 SkMatrix fMatrix, fInverse;
/external/skia/src/gl/
DSkGLDevice.h68 const SkMatrix& matrix() const { return fMatrix; } in matrix()
74 SkMatrix fMatrix; variable
DSkGLDevice.cpp87 fMatrix = matrix; in setMatrixClip()
225 if (draw.fMatrix->invert(&inverse)) { in drawPaint()
488 if (!shader->setContext(*draw.fBitmap, paint, *draw.fMatrix)) { in drawVertices()
729 if (draw.fMatrix->getType() & SkMatrix::kPerspective_Mask) { in drawText()
744 if (draw.fMatrix->getType() & SkMatrix::kPerspective_Mask) { in drawPosText()
/external/skia/include/core/
DSkPerspIter.h48 const SkMatrix& fMatrix; variable
DSkDraw.h84 const SkMatrix* fMatrix; // required variable
/external/skia/include/views/
DSkImageView.h58 SkMatrix* fMatrix; // null or copy of caller's matrix ,,,,, variable
/external/skia/include/utils/
DSkCamera.h168 SkMatrix3D fMatrix; member