/third_party/skia/tests/graphite/ |
D | RectTest.cpp | 89 CHECK(rect2.makeInset(.5f) == skRect2.makeInset(.5f, .5f)); in DEF_GRAPHITE_TEST() 90 CHECK(rect2.makeInset({.5f, -.25f}) == skRect2.makeInset(.5f, -.25f)); in DEF_GRAPHITE_TEST()
|
/third_party/skia/experimental/graphite/src/geom/ |
D | Rect.h | 123 AI Rect makeInset(float inset) const { return fVals + inset; } in makeInset() function 124 AI Rect makeInset(float2 inset) const { return fVals + inset.xyxy(); } in makeInset() function 134 AI Rect& inset(float inset) { return *this = this->makeInset(inset); } in inset() 135 AI Rect& inset(float2 inset) { return *this = this->makeInset(inset); } in inset()
|
/third_party/skia/gm/ |
D | texelsubset.cpp | 83 fBitmap.extractSubset(&fBitmap, SkIRect::MakeSize(fBitmap.dimensions()).makeInset(0, 20)); in onOnceBeforeDraw() 119 SkRect b = fUpscale ? a.makeInset (.31f * a.width(), .31f * a.height()) in onDraw() 123 b = fUpscale ? a.makeInset (.25f * a.width(), .35f * a.height()) in onDraw()
|
D | offsetimagefilter.cpp | 123 canvas->drawRect(clipR->makeInset(SK_ScalarHalf, SK_ScalarHalf), p); in doDraw() 132 SkRect cr = SkRect::Make(*cropR).makeInset(SK_ScalarHalf, SK_ScalarHalf); in doDraw()
|
D | complexclip_blur_tiled.cpp | 58 SkRRect rrect = SkRRect::MakeRectXY(rect.makeInset(20, 20), 25, 25); in onDraw()
|
D | croppedrects.cpp | 55 srcCanvas->drawRect(kSrcImageClip.makeInset(kStrokeWidth / 2, kStrokeWidth / 2), stroke); in onOnceBeforeDraw()
|
D | crop_imagefilter.cpp | 49 return r.makeInset(r.width() * amountX, r.height() * amountY); in make_inset() 66 *outputBounds = kExampleBounds.makeInset(20.f, 20.f); in get_example_rects()
|
D | imagescalealigned.cpp | 90 const SkRect border = SkRect::MakeIWH(kSegLen, kSegLen).makeInset(.5f, .5f); in MakeImage()
|
D | patheffects.cpp | 150 .addRect(r.makeInset(50, 50), SkPathDirection::kCCW) in onDraw()
|
D | bleed.cpp | 362 *srcR = r.makeInset(2, 2); in make_image()
|
D | drawimageset.cpp | 179 entry.fSrcRect = SkRect::MakeWH(kTileW, kTileH).makeInset(kTileW / 4.f, kTileH / 4.f); in onDraw()
|
D | blurrect.cpp | 317 canvas->drawRect(SkRect::MakeWH(w, h).makeInset(0.5, 0.5), stroke); in onDraw()
|
/third_party/skia/docs/examples/ |
D | Rect_makeInset.cpp | 10 rect = rect.makeInset(15, 32); in draw()
|
D | IRect_makeInset.cpp | 10 rect = rect.makeInset(15, 32); in draw()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkTileImageFilter.cpp | 109 const SkIRect dstIRect = dstRect.makeInset(kRoundOutInset, kRoundOutInset).roundOut(); in onFilterImage() 116 SkIRect srcIRect = srcRect.makeInset(kRoundOutInset, kRoundOutInset).roundOut(); in onFilterImage()
|
/third_party/skia/tests/ |
D | DefaultPathRendererTest.cpp | 59 p.addRect(outer.makeInset(inset, inset), SkPathDirection::kCCW); in make_path()
|
/third_party/skia/tools/viewer/ |
D | SlideDir.cpp | 318 slideRect = cell.makeInset(kPadding.width(), kPadding.height()); in load() 340 const auto focusRect = SkRect::MakeSize(fWinSize).makeInset(kFocusInset.width(), in load()
|
/third_party/skia/bench/ |
D | BlurImageFilterBench.cpp | 97 const SkIRect bmpRectInset = bmpRect.makeInset(10, 10); in onDraw()
|
/third_party/skia/src/gpu/effects/ |
D | GrTextureEffect.cpp | 49 Span makeInset(float o) const { in Sampling() function 100 r.fShaderClamp = isubset.makeInset(0.5f); in Sampling() 102 r.fShaderClamp = subset.makeInset(linearFilterInset); in Sampling()
|
D | GrGaussianConvolutionFragmentProcessor.cpp | 167 SkRect domain = SkRect::Make(*pixelDomain).makeInset(0.5, 0.5f); in Make()
|
/third_party/skia/include/core/ |
D | SkRect.h | 334 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset() function 997 SkRect makeInset(SkScalar dx, SkScalar dy) const { in makeInset() function
|
/third_party/skia/src/gpu/ops/ |
D | StrokeRectOp.cpp | 816 return VertexWriter::TriFanFromRect(r.makeInset(dx, dy)); in generateAAStrokeRectGeometry() 896 SkRect interiorAABoundary = devInside.makeInset(interiorOutset, interiorOutset); in generateAAStrokeRectGeometry()
|
D | TextureOp.cpp | 213 if (subsetRect.makeInset(0.5f, 0.5f).contains(localBounds)) { in safe_to_ignore_subset_rect()
|
/third_party/skia/src/gpu/v1/ |
D | ClipStack.cpp | 408 fOriginalBounds = drawBounds.makeInset(GrClip::kBoundsTolerance, GrClip::kBoundsTolerance); in Draw() 1642 auto domain = subset.makeInset(0.5, 0.5); in GetSWMaskFP()
|
/third_party/skia/src/core/ |
D | SkRRect.cpp | 548 SkRect r = fRect.makeInset(dx, dy); in inset()
|