MCPcopy Index your code
hub / github.com/HumbleUI/Skija / scalePixels

Method scalePixels

shared/java/Image.java:437–445  ·  view source on GitHub ↗
(@NotNull Pixmap dst, SamplingMode samplingMode, boolean cache)

Source from the content-addressed store, hash-verified

435 }
436
437 public boolean scalePixels(@NotNull Pixmap dst, SamplingMode samplingMode, boolean cache) {
438 try {
439 assert dst != null : "Can't scalePixels with dst == null";
440 return _nScalePixels(_ptr, Native.getPtr(dst), samplingMode._pack(), cache);
441 } finally {
442 ReferenceUtil.reachabilityFence(this);
443 ReferenceUtil.reachabilityFence(dst);
444 }
445 }
446
447 /**
448 * Create a new image by copying this image and scaling to fit the

Calls 4

_nScalePixelsMethod · 0.95
getPtrMethod · 0.95
reachabilityFenceMethod · 0.95
_packMethod · 0.65

Tested by

no test coverage detected