Lines Matching refs:pathBounds
22 const SkRect& pathBounds, SkMatrix* shadowTransform, SkScalar* radius) {
26 SkScalar occluderHeight = heightFunc(pathBounds.centerX(), pathBounds.centerY());
36 if (SkScalarNearlyZero(pathBounds.width()) || SkScalarNearlyZero(pathBounds.height())) {
42 ctm.mapRectToQuad(pts, pathBounds);
48 SkScalar z = heightFunc(pathBounds.fLeft, pathBounds.fTop);
50 z = heightFunc(pathBounds.fRight, pathBounds.fTop);
52 z = heightFunc(pathBounds.fRight, pathBounds.fBottom);
54 z = heightFunc(pathBounds.fLeft, pathBounds.fBottom);
103 SkScalar xScale = 2/(pathBounds.fRight - pathBounds.fLeft);
104 SkScalar yScale = 2/(pathBounds.fBottom - pathBounds.fTop);
105 toHomogeneous.setAll(xScale, 0, -xScale*pathBounds.fLeft - 1,
106 0, yScale, -yScale*pathBounds.fTop - 1,