Home
last modified time | relevance | path

Searched refs:makeInset (Results 1 – 25 of 49) sorted by relevance

12

/external/skia/gm/
Dtexelsubset.cpp81 fBitmap.extractSubset(&fBitmap, SkIRect::MakeSize(fBitmap.dimensions()).makeInset(0, 20)); in onOnceBeforeDraw()
112 SkRect b = fUpscale ? a.makeInset (.31f * a.width(), .31f * a.height()) in onDraw()
116 b = fUpscale ? a.makeInset (.25f * a.width(), .35f * a.height()) in onDraw()
Doffsetimagefilter.cpp123 canvas->drawRect(clipR->makeInset(SK_ScalarHalf, SK_ScalarHalf), p); in doDraw()
132 SkRect cr = SkRect::Make(*cropR).makeInset(SK_ScalarHalf, SK_ScalarHalf); in doDraw()
Dcomplexclip_blur_tiled.cpp59 SkRRect rrect = SkRRect::MakeRectXY(rect.makeInset(20, 20), 25, 25); in onDraw()
Dcroppedrects.cpp56 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
Dimagescalealigned.cpp91 const SkRect border = SkRect::MakeIWH(kSegLen, kSegLen).makeInset(.5f, .5f); in MakeImage()
Dpatheffects.cpp150 .addRect(r.makeInset(50, 50), SkPathDirection::kCCW) in onDraw()
/external/skia/docs/examples/
DRect_makeInset.cpp10 rect = rect.makeInset(15, 32); in draw()
DIRect_makeInset.cpp10 rect = rect.makeInset(15, 32); in draw()
/external/skqp/gm/
Doffsetimagefilter.cpp118 canvas->drawRect(clipR->makeInset(SK_ScalarHalf, SK_ScalarHalf), p); in doDraw()
127 canvas->drawRect(cr.rect().makeInset(SK_ScalarHalf, SK_ScalarHalf), p); in doDraw()
Dcomplexclip_blur_tiled.cpp50 SkRRect rrect = SkRRect::MakeRectXY(rect.makeInset(20, 20), 25, 25); in onDraw()
Dcroppedrects.cpp47 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
Dimagescalealigned.cpp81 const SkRect border = SkRect::MakeIWH(kSegLen, kSegLen).makeInset(.5f, .5f); in MakeImage()
/external/skqp/src/gpu/
DGrTextureProducer.cpp65 const SkRect domain = localRect.makeInset(0.5f, 0.5f); in CopyOnGpu()
156 *domainRect = constraintRect.makeInset(kDomainInset, kDomainInset); in DetermineDomainMode()
/external/skqp/src/gpu/effects/
DGrAARectEffect.fp45 rect.makeInset(.5f, .5f) : rect;
DGrAARectEffect.cpp71 const SkRect& newRect = GrProcessorEdgeTypeIsAA(edgeType) ? rect.makeInset(.5f, .5f) : rect; in onSetData()
/external/skia/tests/
DDefaultPathRendererTest.cpp58 p.addRect(outer.makeInset(inset, inset), SkPathDirection::kCCW); in make_path()
/external/skqp/tests/
DDefaultPathRendererTest.cpp55 p.addRect(outer.makeInset(inset, inset), SkPath::kCCW_Direction); in make_path()
/external/skia/tools/viewer/
DSlideDir.cpp318 slideRect = cell.makeInset(kPadding.width(), kPadding.height()); in load()
340 const auto focusRect = SkRect::MakeSize(fWinSize).makeInset(kFocusInset.width(), in load()
/external/skqp/tools/viewer/
DSlideDir.cpp307 slideRect = cell.makeInset(kPadding.width(), kPadding.height()); in load()
329 const auto focusRect = SkRect::MakeSize(fWinSize).makeInset(kFocusInset.width(), in load()
/external/skia/bench/
DBlurImageFilterBench.cpp97 const SkIRect bmpRectInset = bmpRect.makeInset(10, 10); in onDraw()
/external/skqp/bench/
DBlurImageFilterBench.cpp99 const SkImageFilter::CropRect cropRect(bmpRect.makeInset(10.f, 10.f)); in onDraw()
/external/skia/src/gpu/effects/
DGrTextureEffect.cpp50 Span makeInset(float o) const { in Sampling() function
101 r.fShaderClamp = isubset.makeInset(0.5f); in Sampling()
103 r.fShaderClamp = subset.makeInset(linearFilterInset); in Sampling()
/external/skqp/docs/
DSkIRect_Reference.bmh666 #SeeAlso offset() makeInset makeOutset SkRect::makeOffset
672 #Method SkIRect makeInset(int32_t dx, int32_t dy) const
682 rect = rect.makeInset(15, 32);
691 #SeeAlso inset() makeOffset makeOutset SkRect::makeInset
716 #SeeAlso outset() makeOffset makeInset SkRect::makeOutset
799 #SeeAlso outset makeInset SkRect::inset
DSkRect_Reference.bmh1052 #SeeAlso offset() makeInset makeOutset SkIRect::makeOffset
1058 #Method SkRect makeInset(SkScalar dx, SkScalar dy) const
1068 rect = rect.makeInset(15, 32);
1077 #SeeAlso inset() makeOffset makeOutset SkIRect::makeInset
1102 #SeeAlso outset() makeOffset makeInset SkIRect::makeOutset
1185 #SeeAlso outset makeInset SkIRect::inset
/external/skia/include/core/
DSkRect.h328 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset() function
992 SkRect makeInset(SkScalar dx, SkScalar dy) const { in makeInset() function

12