Lines Matching refs:ctm
22 const SkMatrix& ctm, const SkPoint3& zPlaneParams, in GetSpotShadowTransform() argument
31 if (!ctm.hasPerspective() || directional) { in GetSpotShadowTransform()
44 shadowTransform->preConcat(ctm); in GetSpotShadowTransform()
52 ctm.mapRectToQuad(pts, pathBounds); in GetSpotShadowTransform()
126 void GetLocalBounds(const SkPath& path, const SkDrawShadowRec& rec, const SkMatrix& ctm, in GetLocalBounds() argument
145 if (ctm.hasPerspective()) { in GetLocalBounds()
147 ctm.mapRect(&ambientBounds); in GetLocalBounds()
161 ctm.mapPoints(&devLightPos, 1); in GetLocalBounds()
167 SkScalar devToSrcScale = SkScalarInvert(ctm.getMinScale()); in GetLocalBounds()
182 if (ctm.invert(&inverse)) { in GetLocalBounds()
212 if (ctm.hasPerspective()) { in GetLocalBounds()
215 if (ctm.invert(&inverse)) { in GetLocalBounds()