Home
last modified time | relevance | path

Searched refs:canvasBounds (Results 1 – 4 of 4) sorted by relevance

/external/skia/docs/examples/
DImageInfo_makeWH.cpp8 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/
DSkCanvasStack.cpp19 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/
DSkCanvasStack.cpp21 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/
DSkImageInfo_Reference.bmh1604 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);