Lines Matching refs:bounds
73 SkRect bounds = *cullRect;
74 outset_for_stroke(&bounds, rec);
85 inv.mapRect(&bounds);
97 if (maxX <= bounds.fLeft || minX >= bounds.fRight) {
102 // right of the bounds (keeping our new line "in phase" with the dash,
105 if (minX < bounds.fLeft) {
106 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX, intervalLength);
108 if (maxX > bounds.fRight) {
109 maxX = bounds.fRight + SkScalarMod(maxX - bounds.fRight, intervalLength);
128 if (maxY <= bounds.fTop || minY >= bounds.fBottom) {
133 // bottom of the bounds (keeping our new line "in phase" with the dash,
136 if (minY < bounds.fTop) {
137 minY = bounds.fTop - SkScalarMod(bounds.fTop - minY, intervalLength);
139 if (maxY > bounds.fBottom) {
140 maxY = bounds.fBottom + SkScalarMod(maxY - bounds.fBottom, intervalLength);