(@NotNull Pixmap dst, SamplingMode samplingMode, boolean cache)
| 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 |
no test coverage detected