Libraryless. Click here for Pure Java version (18967L/120K).
1 | svoid addImageScaleOverlay(ImageSurface is, G2Drawable overlay) { |
2 | if (overlay == null || is == null) ret; |
3 | is.addOverlay(g -> { |
4 | zoomGraphics(g, is.getZoomX(), is.getZoomY()); |
5 | overlay.drawOn(g); |
6 | }); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035963 |
Snippet name: | addImageScaleOverlay - add overlay to image surface that is scaled with the image |
Eternal ID of this version: | #1035963/2 |
Text MD5: | f8ba747514f76ab5003331d371e5900b |
Transpilation MD5: | 36ec5af403499d943d9d727d0ac28d92 |
Author: | stefan |
Category: | javax / gazelle 22 |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-20 16:48:28 |
Source code size: | 218 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 131 / 193 |
Version history: | 1 change(s) |
Referenced in: | [show references] |