MCPcopy Create free account
hub / github.com/JetBrains/skija / drawImageRect

Method drawImageRect

shared/java/Canvas.java:353–356  ·  view source on GitHub ↗
(@NotNull Image image, @NotNull Rect dst)

Source from the content-addressed store, hash-verified

351 }
352
353 @NotNull @Contract("_, _ -> this")
354 public Canvas drawImageRect(@NotNull Image image, @NotNull Rect dst) {
355 return drawImageRect(image, Rect.makeWH(image.getWidth(), image.getHeight()), dst, SamplingMode.DEFAULT, null, true);
356 }
357
358 @NotNull @Contract("_, _, _ -> this")
359 public Canvas drawImageRect(@NotNull Image image, @NotNull Rect dst, @Nullable Paint paint) {

Callers 15

drawImageMethod · 0.95
drawToolbarMethod · 0.80
drawGrayMethod · 0.80
drawBitmapCanvasMethod · 0.80
drawPixelsMethod · 0.80
drawSubsetMethod · 0.80
drawPixelRefMethod · 0.80
drawAlphaMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80

Calls 7

makeWHMethod · 0.95
onNativeCallMethod · 0.95
_nDrawImageRectMethod · 0.95
getPtrMethod · 0.95
getWidthMethod · 0.65
getHeightMethod · 0.65
_packMethod · 0.65

Tested by

no test coverage detected