Home
last modified time | relevance | path

Searched refs:getDeviceClipBounds (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/docs/examples/
DCanvas_getDeviceClipBounds.cpp9 SkIRect bounds = canvas->getDeviceClipBounds(); in draw()
17 bounds = canvas->getDeviceClipBounds(); in draw()
23 bounds = canvas->getDeviceClipBounds(); in draw()
DCanvas_getDeviceClipBounds_2.cpp8 SkDebugf("device bounds empty = %s\n", canvas->getDeviceClipBounds(&bounds) in draw()
12 SkDebugf("device bounds empty = %s\n", canvas->getDeviceClipBounds(&bounds) in draw()
DCanvas_int_int_const_SkSurfaceProps_star.cpp9 SkDebugf("canvas %s empty\n", canvas.getDeviceClipBounds().isEmpty() ? "is" : "is not"); in draw()
DCanvas_getBaseLayerSize.cpp11 SkIRect clipDeviceBounds = canvas.getDeviceClipBounds(); in draw()
/third_party/skia/tests/
DCanvasTest.cpp98 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
100 REPORTER_ASSERT(reporter, canvas.getDeviceClipBounds(&irect2)); in DEF_TEST()
111 irect = canvas.getDeviceClipBounds(); in DEF_TEST()
113 REPORTER_ASSERT(reporter, !canvas.getDeviceClipBounds(&irect2)); in DEF_TEST()
145 REPORTER_ASSERT(reporter, canvas->getDeviceClipBounds() == gBaseRestrictedR); in test_restriction()
149 REPORTER_ASSERT(reporter, canvas->getDeviceClipBounds() == restrictionR); in test_restriction()
153 REPORTER_ASSERT(reporter, canvas->getDeviceClipBounds() == clipR); in test_restriction()
653 REPORTER_ASSERT(r, canvas.getDeviceClipBounds().isEmpty()); in DEF_TEST()
DPictureTest.cpp391 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
401 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
410 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
420 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
DCanvasStateTest.cpp321 SkIRect devClip = canvas.getDeviceClipBounds(); in DEF_TEST()
/third_party/skia/bench/
DChromeBench.cpp484 SkIRect bounds = canvas->getDeviceClipBounds(); in validateBounds()
DSKPAnimationBench.cpp25 fDevBounds = canvas->getDeviceClipBounds(); in onPerCanvasPreDraw()
DSKPBench.cpp47 SkIRect bounds = canvas->getDeviceClipBounds(); in onPerCanvasPreDraw()
/third_party/skia/include/core/
DSkCanvas.h1111 SkIRect getDeviceClipBounds() const;
1121 bool getDeviceClipBounds(SkIRect* bounds) const { in getDeviceClipBounds() function
1122 *bounds = this->getDeviceClipBounds(); in getDeviceClipBounds()
/third_party/skia/src/utils/
DSkCanvasStateUtils.cpp176 setup_MC_state(&canvasState->mcState, canvas->getTotalMatrix(), canvas->getDeviceClipBounds()); in CaptureCanvasState()
DSkPaintFilterCanvas.cpp40 this->clipRect(SkRect::Make(canvas->getDeviceClipBounds())); in SkPaintFilterCanvas()
/third_party/skia/tools/debugger/
DDebugCanvas.cpp183 fClip = finalCanvas->getDeviceClipBounds(); in drawTo()
/third_party/skia/src/core/
DSkCanvas.cpp1649 SkIRect ibounds = this->getDeviceClipBounds(); in getLocalClipBounds()
1673 SkIRect SkCanvas::getDeviceClipBounds() const { in getDeviceClipBounds() function in SkCanvas
/third_party/skia/tools/fiddle/
Ddocumumentation_examples_map.txt713 SkIRect getDeviceClipBounds() const;
717 bool getDeviceClipBounds(SkIRect* bounds) const;