Lines Matching refs:bounds
88 SkRect bounds; in writePng() local
89 conic.computeTightBounds(&bounds); in writePng()
90 bounds.outset(10, 10); in writePng()
92 SkScalarRoundToInt(bounds.width()), SkScalarRoundToInt(bounds.height()))); in writePng()
97 canvas.translate(-bounds.fLeft, -bounds.fTop); in writePng()
123 SkDRect bounds; in writeDPng() local
124 bounds.setBounds(dConic); in writeDPng()
125 bounds.fLeft -= 10; in writeDPng()
126 bounds.fTop -= 10; in writeDPng()
127 bounds.fRight += 10; in writeDPng()
128 bounds.fBottom += 10; in writeDPng()
130 SkScalarRoundToInt(SkDoubleToScalar(bounds.width())), in writeDPng()
131 SkScalarRoundToInt(SkDoubleToScalar(bounds.height())))); in writeDPng()
136 canvas.translate(SkDoubleToScalar(-bounds.fLeft), SkDoubleToScalar(-bounds.fTop)); in writeDPng()
244 SkDRect bounds; in writeFrames() local
255 bounds = dBounds; in writeFrames()
258 bounds.add((SkDPoint&) dBounds.fLeft); in writeFrames()
259 bounds.add((SkDPoint&) dBounds.fRight); in writeFrames()
262 bounds.fLeft -= 10; in writeFrames()
263 bounds.fTop -= 10; in writeFrames()
264 bounds.fRight += 10; in writeFrames()
265 bounds.fBottom += 10; in writeFrames()
268 SkScalarRoundToInt(SkDoubleToScalar(bounds.width())), in writeFrames()
269 SkScalarRoundToInt(SkDoubleToScalar(bounds.height())))); in writeFrames()
274 canvas.translate(SkDoubleToScalar(-bounds.fLeft), SkDoubleToScalar(-bounds.fTop)); in writeFrames()