Lines Matching refs:ctm

56     ShapeDataKey(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); }  in ShapeDataKey()  argument
77 void set(const GrShape& shape, const SkMatrix& ctm) { in set() argument
83 SkScalar sx = ctm.get(SkMatrix::kMScaleX); in set()
84 SkScalar sy = ctm.get(SkMatrix::kMScaleY); in set()
85 SkScalar kx = ctm.get(SkMatrix::kMSkewX); in set()
86 SkScalar ky = ctm.get(SkMatrix::kMSkewY); in set()
87 SkScalar tx = ctm.get(SkMatrix::kMTransX); in set()
88 SkScalar ty = ctm.get(SkMatrix::kMTransY); in set()
334 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws() local
338 flags |= ctm.isScaleTranslate() ? kScaleOnly_DistanceFieldEffectFlag : 0; in onPrepareDraws()
339 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws()
344 if (ctm.hasPerspective()) { in onPrepareDraws()
345 matrix = &ctm; in onPrepareDraws()
347 if (!ctm.invert(&invert)) { in onPrepareDraws()
360 if (!ctm.invert(&invert)) { in onPrepareDraws()
651 const SkMatrix& ctm) const { in addBMPathToAtlas()
656 SkMatrix drawMatrix(ctm); in addBMPathToAtlas()
657 SkScalar tx = ctm.getTranslateX(); in addBMPathToAtlas()
658 SkScalar ty = ctm.getTranslateY(); in addBMPathToAtlas()
721 shapeData->fKey.set(shape, ctm); in addBMPathToAtlas()
747 const SkMatrix& ctm, in writePathVertices() argument
751 translatedBounds.offset(SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransX)), in writePathVertices()
752 SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransY))); in writePathVertices()
763 if (fUsesDistanceField && !ctm.hasPerspective()) { in writePathVertices()
764 GrQuad quad(translatedBounds, ctm); in writePathVertices()