Searched refs:outputBounds (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/gm/ |
D | crop_imagefilter.cpp | 65 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/ |
D | SkRuntimeImageFilter.cpp | 105 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/ |
D | SampleFilterBounds.cpp | 43 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/ |
D | canvaskit_bindings.cpp | 846 SkRect* outputBounds = reinterpret_cast<SkRect*>(outPtr); in EMSCRIPTEN_BINDINGS() local 848 flags, outputBounds); in EMSCRIPTEN_BINDINGS()
|