Libraryless. Click here for Pure Java version (136L/1K).
static Pt ptFromPixelIndex(int index, int w) { ret pt(index % w, index / w); }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035871 |
Snippet name: | ptFromPixelIndex |
Eternal ID of this version: | #1035871/1 |
Text MD5: | af598178d926ef6f847d0edf88d495a1 |
Transpilation MD5: | ba2541afa3ddaf865824a626df6d9732 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-05 19:05:53 |
Source code size: | 82 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 126 / 171 |
Referenced in: | [show references] |