Lines Matching refs:ctm
21 const SkMatrix& ctm, const SkPoint3& zPlaneParams, in GetSpotShadowTransform() argument
28 if (!ctm.hasPerspective()) { in GetSpotShadowTransform()
34 shadowTransform->preConcat(ctm); in GetSpotShadowTransform()
42 ctm.mapRectToQuad(pts, pathBounds); in GetSpotShadowTransform()
116 void GetLocalBounds(const SkPath& path, const SkDrawShadowRec& rec, const SkMatrix& ctm, in GetLocalBounds() argument
135 if (ctm.hasPerspective()) { in GetLocalBounds()
137 ctm.mapRect(&ambientBounds); in GetLocalBounds()
144 ctm.mapPoints(&devLightPos, 1); in GetLocalBounds()
149 SkScalar devToSrcScale = SkScalarInvert(ctm.getMinScale()); in GetLocalBounds()
181 if (ctm.hasPerspective()) { in GetLocalBounds()
184 if (ctm.invert(&inverse)) { in GetLocalBounds()