1 | static DoublePt imageSurface_doublePtFromEvent(ImageSurface is, MouseEvent e) { |
2 | ret DoublePt(e.getX()/is.getZoomX(), e.getY()/is.getZoomY()); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019912 |
Snippet name: | imageSurface_doublePtFromEvent |
Eternal ID of this version: | #1019912/1 |
Text MD5: | 4c2400322776220eeba2da1fec9c586d |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-30 22:09:51 |
Source code size: | 147 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 319 / 352 |
Referenced in: | [show references] |