Searched refs:canvasBounds (Results 1 – 4 of 4) sorted by relevance
/external/skia/docs/examples/ |
D | ImageInfo_makeWH.cpp | 8 SkRect canvasBounds = SkRect::Make(canvasImageInfo.bounds()); in draw() local 9 canvas->drawImageRect(image, SkRect::Make(source.bounds()), canvasBounds, SkSamplingOptions(), in draw() 12 canvasImageInfo.makeWH(canvasBounds.width() / 2, canvasBounds.height() / 2); in draw() 18 canvas->drawImage(inset.asImage(), canvasBounds.width() / 4, canvasBounds.height() / 4); in draw()
|
/external/skqp/src/utils/ |
D | SkCanvasStack.cpp | 19 const SkIRect canvasBounds = SkIRect::MakeSize(canvas->getBaseLayerSize()); in pushCanvas() local 27 data->requiredClip.setRect(canvasBounds); in pushCanvas() 34 SkIRect localBounds = canvasBounds; in pushCanvas()
|
/external/skia/src/utils/ |
D | SkCanvasStack.cpp | 21 const SkIRect canvasBounds = SkIRect::MakeSize(canvas->getBaseLayerSize()); in pushCanvas() local 29 data->requiredClip.setRect(canvasBounds); in pushCanvas() 36 SkIRect localBounds = canvasBounds; in pushCanvas()
|
/external/skqp/docs/ |
D | SkImageInfo_Reference.bmh | 1604 SkRect canvasBounds = SkRect::Make(canvasImageInfo.bounds()); 1605 canvas->drawBitmapRect(source, source.bounds(), canvasBounds, nullptr); 1607 canvasImageInfo.makeWH(canvasBounds.width() / 2, canvasBounds.height() / 2); 1612 canvas->drawBitmap(inset, canvasBounds.width() / 4, canvasBounds.height() / 4);
|