Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()