Lines Matching refs:ctm
894 SkAmbientShadowTessellator(const SkPath& path, const SkMatrix& ctm,
898 bool computePathPolygon(const SkPath& path, const SkMatrix& ctm);
904 const SkMatrix& ctm, in SkAmbientShadowTessellator() argument
914 if (!this->computePathPolygon(path, ctm)) { in SkAmbientShadowTessellator()
938 bool SkAmbientShadowTessellator::computePathPolygon(const SkPath& path, const SkMatrix& ctm) { in computePathPolygon() argument
954 this->handleLine(ctm, &pts[1]); in computePathPolygon()
957 this->handleQuad(ctm, pts); in computePathPolygon()
960 this->handleCubic(ctm, pts); in computePathPolygon()
963 this->handleConic(ctm, pts, iter.conicWeight()); in computePathPolygon()
986 SkSpotShadowTessellator(const SkPath& path, const SkMatrix& ctm,
991 bool computeClipAndPathPolygons(const SkPath& path, const SkMatrix& ctm,
998 SkSpotShadowTessellator::SkSpotShadowTessellator(const SkPath& path, const SkMatrix& ctm, in SkSpotShadowTessellator() argument
1008 ctm, zPlaneParams, path.getBounds(), in SkSpotShadowTessellator()
1015 if (!this->computeClipAndPathPolygons(path, ctm, shadowTransform)) { in SkSpotShadowTessellator()
1047 bool SkSpotShadowTessellator::computeClipAndPathPolygons(const SkPath& path, const SkMatrix& ctm, in computeClipAndPathPolygons() argument
1077 ctm.mapPoints(clipPts, &pts[1], 1); in computeClipAndPathPolygons()
1082 ctm.mapPoints(clipPts, pts, 3); in computeClipAndPathPolygons()
1091 ctm.mapPoints(clipPts, pts, 3); in computeClipAndPathPolygons()
1102 ctm.mapPoints(clipPts, pts, 4); in computeClipAndPathPolygons()
1145 sk_sp<SkVertices> SkShadowTessellator::MakeAmbient(const SkPath& path, const SkMatrix& ctm, in MakeAmbient() argument
1147 if (!ctm.mapRect(path.getBounds()).isFinite() || !zPlane.isFinite()) { in MakeAmbient()
1150 SkAmbientShadowTessellator ambientTess(path, ctm, zPlane, transparent); in MakeAmbient()
1154 sk_sp<SkVertices> SkShadowTessellator::MakeSpot(const SkPath& path, const SkMatrix& ctm, in MakeSpot() argument
1157 if (!ctm.mapRect(path.getBounds()).isFinite() || !zPlane.isFinite() || in MakeSpot()
1162 SkSpotShadowTessellator spotTess(path, ctm, zPlane, lightPos, lightRadius, transparent); in MakeSpot()