/third_party/skia/tests/graphite/ |
D | RectTest.cpp | 91 CHECK(rect2.makeOutset(.5f) == skRect2.makeOutset(.5f, .5f)); in DEF_GRAPHITE_TEST() 92 CHECK(rect2.makeOutset({.5f, -.25f}) == skRect2.makeOutset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Rect.h | 125 AI Rect makeOutset(float outset) const { return fVals - outset; } in makeOutset() function 126 AI Rect makeOutset(float2 outset) const { return fVals - outset.xyxy(); } in makeOutset() function 136 AI Rect& outset(float outset) { return *this = this->makeOutset(outset); } in outset() 137 AI Rect& outset(float2 outset) { return *this = this->makeOutset(outset); } in outset()
|
/third_party/skia/gm/ |
D | gpu_blur_utils.cpp | 139 surf->getCanvas()->clipIRect(contentArea->makeOutset(1, 1)); in make_src_image() 213 srcRect.makeOutset(srcW/5, srcH/5) in run() 328 auto dstR = SkRect::Make(dstRect).makeOutset(0.5f, 0.5f); in run() 341 auto srcR = SkRect::Make(srcRect).makeOutset(0.5f, 0.5f); in run() 393 auto dstB = srcB.makeOutset(30, 30); in do_very_large_blur_gm() 413 SkRect::Make(dstRect).makeOutset(0.5, 0.5), in do_very_large_blur_gm() 461 return do_very_large_blur_gm(rContext, canvas, errorMsg, std::move(src), srcB.makeOutset(1, 1));
|
D | croppedrects.cpp | 79 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw() 81 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
|
D | texelsubset.cpp | 120 : a.makeOutset(.25f * a.width(), .25f * a.height()); in onDraw() 124 : a.makeOutset(.20f * a.width(), .35f * a.height()); in onDraw() 134 SkRect localRect = SkRect::Make(fBitmap.bounds()).makeOutset(kDrawPad, kDrawPad); in onDraw()
|
D | blurpositioning.cpp | 29 SkRect b = r.makeOutset(border + 1, border + 1);
|
D | crbug_1156804.cpp | 21 canvas->saveLayer(rect.makeOutset(saveBorder, saveBorder), &sp); in drawOne()
|
D | skbug_8664.cpp | 52 SkRect outer = inner.makeOutset(16.f, 16.f);
|
D | crbug_1174354.cpp | 19 auto outsetRect = SkRect::Make(rect).makeOutset(10, 10); in draw_bg_blur()
|
D | localmatriximagefilter.cpp | 39 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
|
D | aarecteffect.cpp | 87 auto drawRect = rect.makeOutset(kOutset, kOutset); in onDraw()
|
/third_party/skia/tests/ |
D | TextureOpTest.cpp | 31 SkAssertResult(op.bounds() == firstRect.makeOutset(0.5f, 0.5f)); in check_chain() 33 SkAssertResult(op.bounds() == lastRect.makeOutset(0.5f, 0.5f)); in check_chain() 56 quad.fDevice = GrQuad::MakeFromRect(rect.makeOutset(0.5f, 0.5f), SkMatrix::I()); in create_op()
|
/third_party/flutter/skia/samplecode/ |
D | SampleImageFilterDAG.cpp | 329 canvas->drawRect(SkRect::Make(node.fLayerBounds).makeOutset(5.f, 5.f), line); in draw_node() 332 canvas->drawRect(SkRect::Make(node.fReverseLocalBounds).makeOutset(4.f, 4.f), line); in draw_node() 338 canvas->drawRect(SkRect::Make(node.fReverseLocalIsolatedBounds).makeOutset(3.f, 3.f), line); in draw_node() 345 canvas->drawRect(SkRect::Make(node.fForwardIsolatedBounds).makeOutset(1.f, 1.f), line); in draw_node() 349 canvas->drawRect(SkRect::Make(node.fForwardBounds).makeOutset(2.f, 2.f), line); in draw_node()
|
/third_party/flutter/skia/gm/ |
D | croppedrects.cpp | 83 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw() 85 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
|
D | blurpositioning.cpp | 29 SkRect b = r.makeOutset(border + 1, border + 1);
|
D | skbug_8664.cpp | 52 SkRect outer = inner.makeOutset(16.f, 16.f);
|
D | showmiplevels.cpp | 134 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame() 245 …canvas->drawRect(SkRect::MakeIWH(bm.width(), bm.height()).makeOffset(x, y).makeOutset(0.5f, 0.5f),… in DrawAndFrame()
|
D | localmatriximagefilter.cpp | 39 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
|
/third_party/skia/samplecode/ |
D | SampleImageFilterDAG.cpp | 167 canvas->drawRect(SkRect::Make(SkIRect(node.fHintedLayerBounds)).makeOutset(3.f, 3.f), line); in draw_node() 170 canvas->drawRect(SkRect::Make(SkIRect(node.fUnhintedLayerBounds)).makeOutset(2.f, 2.f), line); in draw_node() 174 canvas->drawRect(SkRect::Make(SkIRect(node.fOutputBounds)).makeOutset(1.f, 1.f), line); in draw_node()
|
/third_party/flutter/skia/docs/examples/ |
D | Rect_makeOutset.cpp | 10 rect = rect.makeOutset(15, 32); in draw()
|
D | IRect_makeOutset.cpp | 10 rect = rect.makeOutset(15, 32); in draw()
|
/third_party/skia/docs/examples/ |
D | IRect_makeOutset.cpp | 10 rect = rect.makeOutset(15, 32); in draw()
|
D | Rect_makeOutset.cpp | 10 rect = rect.makeOutset(15, 32); in draw()
|
/third_party/skia/src/core/ |
D | SkScan_Hairline.cpp | 176 if (!r.intersect(clip.getBounds().makeOutset(1, 1))) { in HairRect() 524 const SkIRect ibounds = path.getBounds().roundOut().makeOutset(capOut, capOut); in hair_path() 552 outsetStorage = insetStorage.makeOutset(1, 1); in hair_path() 738 if (!clip.quickContains(r.roundOut().makeOutset(1, 1))) { in AntiHairLine()
|
/third_party/flutter/skia/src/core/ |
D | SkScan_Hairline.cpp | 167 if (!r.intersect(clip.getBounds().makeOutset(1, 1))) { in HairRect() 515 const SkIRect ibounds = path.getBounds().roundOut().makeOutset(capOut, capOut); in hair_path() 543 outsetStorage = insetStorage.makeOutset(1, 1); in hair_path() 726 if (!clip.quickContains(r.roundOut().makeOutset(1, 1))) { in AntiHairLine()
|