Home
last modified time | relevance | path

Searched refs:outputBounds (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/gm/
Dcrop_imagefilter.cpp65 SkRect* outputBounds, SkRect* cropRect, SkRect* contentBounds) { in get_example_rects() argument
66 *outputBounds = kExampleBounds.makeInset(20.f, 20.f); in get_example_rects()
69 *cropRect = make_overlap(*outputBounds, -0.15f, 0.15f); in get_example_rects()
70 SkASSERT(cropRect->intersects(*outputBounds) && in get_example_rects()
71 !cropRect->contains(*outputBounds) && in get_example_rects()
72 !outputBounds->contains(*cropRect)); in get_example_rects()
75 *cropRect = make_outset(*outputBounds, 0.15f, 0.15f); in get_example_rects()
76 SkASSERT(cropRect->contains(*outputBounds)); in get_example_rects()
79 *cropRect = make_inset(*outputBounds, 0.15f, 0.15f); in get_example_rects()
80 SkASSERT(outputBounds->contains(*cropRect)); in get_example_rects()
[all …]
/third_party/skia/src/effects/imagefilters/
DSkRuntimeImageFilter.cpp105 SkIRect outputBounds = SkIRect(ctx.desiredOutput()); in onFilterImage() local
106 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(outputBounds.size())); in onFilterImage()
133 canvas->translate(-outputBounds.fLeft, -outputBounds.fTop); in onFilterImage()
139 *offset = outputBounds.topLeft(); in onFilterImage()
/third_party/skia/samplecode/
DSampleFilterBounds.cpp43 const SkIRect& outputBounds, in print_info() argument
55 y = print_size(canvas, "Target (in device)", outputBounds, kLineInset, y, font, text); in print_info()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp846 SkRect* outputBounds = reinterpret_cast<SkRect*>(outPtr); in EMSCRIPTEN_BINDINGS() local
848 flags, outputBounds); in EMSCRIPTEN_BINDINGS()