Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1035955 // zoomGraphics

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (39L) is out of date.

import java.awt.geom.AffineTransform;

svoid zoomGraphics(Graphics2D g, double scaleX, double scaleY default scaleX) {
  AffineTransform at = g.getTransform();
  at.scale(scaleX, scaleY);
  g.setTransform(at);
}

Author comment

Began life as a copy of #1031986

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035955
Snippet name: zoomGraphics
Eternal ID of this version: #1035955/3
Text MD5: c55d33a124bb9d814e939975f2dd5667
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-17 22:15:53
Source code size: 217 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 123 / 165
Version history: 2 change(s)
Referenced in: [show references]