• Home
  • Raw
  • Download

Lines Matching refs:ctm

57     ShapeDataKey(const GrShape& shape, const SkMatrix& ctm) { this->set(shape, ctm); }  in ShapeDataKey()  argument
78 void set(const GrShape& shape, const SkMatrix& ctm) { in set() argument
84 SkScalar sx = ctm.get(SkMatrix::kMScaleX); in set()
85 SkScalar sy = ctm.get(SkMatrix::kMScaleY); in set()
86 SkScalar kx = ctm.get(SkMatrix::kMSkewX); in set()
87 SkScalar ky = ctm.get(SkMatrix::kMSkewY); in set()
88 SkScalar tx = ctm.get(SkMatrix::kMTransX); in set()
89 SkScalar ty = ctm.get(SkMatrix::kMTransY); in set()
333 const SkMatrix& ctm = fShapes[0].fViewMatrix; in onPrepareDraws() local
337 flags |= ctm.isScaleTranslate() ? kScaleOnly_DistanceFieldEffectFlag : 0; in onPrepareDraws()
338 flags |= ctm.isSimilarity() ? kSimilarity_DistanceFieldEffectFlag : 0; in onPrepareDraws()
343 if (ctm.hasPerspective()) { in onPrepareDraws()
344 matrix = &ctm; in onPrepareDraws()
346 if (!ctm.invert(&invert)) { in onPrepareDraws()
359 if (!ctm.invert(&invert)) { in onPrepareDraws()
650 const SkMatrix& ctm) const { in addBMPathToAtlas()
655 SkMatrix drawMatrix(ctm); in addBMPathToAtlas()
656 SkScalar tx = ctm.getTranslateX(); in addBMPathToAtlas()
657 SkScalar ty = ctm.getTranslateY(); in addBMPathToAtlas()
720 shapeData->fKey.set(shape, ctm); in addBMPathToAtlas()
746 const SkMatrix& ctm, in writePathVertices() argument
750 translatedBounds.offset(SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransX)), in writePathVertices()
751 SkScalarFloorToScalar(ctm.get(SkMatrix::kMTransY))); in writePathVertices()
762 if (fUsesDistanceField && !ctm.hasPerspective()) { in writePathVertices()
763 vertices.writeQuad(GrQuad::MakeFromRect(translatedBounds, ctm), in writePathVertices()