Home
last modified time | relevance | path

Searched refs:makeOutset (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/skia/tests/graphite/
DRectTest.cpp91 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/
DRect.h125 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/
Dgpu_blur_utils.cpp139 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));
Dcroppedrects.cpp79 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw()
81 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
Dtexelsubset.cpp120 : 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()
Dblurpositioning.cpp29 SkRect b = r.makeOutset(border + 1, border + 1);
Dcrbug_1156804.cpp21 canvas->saveLayer(rect.makeOutset(saveBorder, saveBorder), &sp); in drawOne()
Dskbug_8664.cpp52 SkRect outer = inner.makeOutset(16.f, 16.f);
Dcrbug_1174354.cpp19 auto outsetRect = SkRect::Make(rect).makeOutset(10, 10); in draw_bg_blur()
Dlocalmatriximagefilter.cpp39 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
Daarecteffect.cpp87 auto drawRect = rect.makeOutset(kOutset, kOutset); in onDraw()
/third_party/skia/tests/
DTextureOpTest.cpp31 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/
DSampleImageFilterDAG.cpp329 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/
Dcroppedrects.cpp83 kSrcImageClip.makeOutset(0.5f * kSrcImageClip.width(), in onDraw()
85 drawRect.makeOutset(0.5f * drawRect.width(), drawRect.height()), in onDraw()
Dblurpositioning.cpp29 SkRect b = r.makeOutset(border + 1, border + 1);
Dskbug_8664.cpp52 SkRect outer = inner.makeOutset(16.f, 16.f);
Dshowmiplevels.cpp134 …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()
Dlocalmatriximagefilter.cpp39 SkRect r = SkRect::MakeIWH(image->width(), image->height()).makeOutset(SK_ScalarHalf, in show_image()
/third_party/skia/samplecode/
DSampleImageFilterDAG.cpp167 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/
DRect_makeOutset.cpp10 rect = rect.makeOutset(15, 32); in draw()
DIRect_makeOutset.cpp10 rect = rect.makeOutset(15, 32); in draw()
/third_party/skia/docs/examples/
DIRect_makeOutset.cpp10 rect = rect.makeOutset(15, 32); in draw()
DRect_makeOutset.cpp10 rect = rect.makeOutset(15, 32); in draw()
/third_party/skia/src/core/
DSkScan_Hairline.cpp176 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/
DSkScan_Hairline.cpp167 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()

1234