Lines Matching refs:ctm

916     SkAmbientShadowTessellator(const SkPath& path, const SkMatrix& ctm,
920 bool computePathPolygon(const SkPath& path, const SkMatrix& ctm);
926 const SkMatrix& ctm, in SkAmbientShadowTessellator() argument
936 if (!this->computePathPolygon(path, ctm)) { in SkAmbientShadowTessellator()
960 bool SkAmbientShadowTessellator::computePathPolygon(const SkPath& path, const SkMatrix& ctm) { in computePathPolygon() argument
976 this->handleLine(ctm, &pts[1]); in computePathPolygon()
979 this->handleQuad(ctm, pts); in computePathPolygon()
982 this->handleCubic(ctm, pts); in computePathPolygon()
985 this->handleConic(ctm, pts, iter.conicWeight()); in computePathPolygon()
1008 SkSpotShadowTessellator(const SkPath& path, const SkMatrix& ctm,
1013 bool computeClipAndPathPolygons(const SkPath& path, const SkMatrix& ctm,
1020 SkSpotShadowTessellator::SkSpotShadowTessellator(const SkPath& path, const SkMatrix& ctm, in SkSpotShadowTessellator() argument
1029 if (!SkDrawShadowMetrics::GetSpotShadowTransform(lightPos, lightRadius, ctm, zPlaneParams, in SkSpotShadowTessellator()
1037 if (!this->computeClipAndPathPolygons(path, ctm, shadowTransform)) { in SkSpotShadowTessellator()
1069 bool SkSpotShadowTessellator::computeClipAndPathPolygons(const SkPath& path, const SkMatrix& ctm, in computeClipAndPathPolygons() argument
1099 ctm.mapPoints(clipPts, &pts[1], 1); in computeClipAndPathPolygons()
1104 ctm.mapPoints(clipPts, pts, 3); in computeClipAndPathPolygons()
1113 ctm.mapPoints(clipPts, pts, 3); in computeClipAndPathPolygons()
1124 ctm.mapPoints(clipPts, pts, 4); in computeClipAndPathPolygons()
1167 sk_sp<SkVertices> SkShadowTessellator::MakeAmbient(const SkPath& path, const SkMatrix& ctm, in MakeAmbient() argument
1169 if (!ctm.mapRect(path.getBounds()).isFinite() || !zPlane.isFinite()) { in MakeAmbient()
1172 SkAmbientShadowTessellator ambientTess(path, ctm, zPlane, transparent); in MakeAmbient()
1176 sk_sp<SkVertices> SkShadowTessellator::MakeSpot(const SkPath& path, const SkMatrix& ctm, in MakeSpot() argument
1180 if (!ctm.mapRect(path.getBounds()).isFinite() || !zPlane.isFinite() || in MakeSpot()
1185 SkSpotShadowTessellator spotTess(path, ctm, zPlane, lightPos, lightRadius, transparent, in MakeSpot()