X-Received: by 10.224.178.204 with SMTP id bn12mr5955958qab.1.1358545985974; Fri, 18 Jan 2013 13:53:05 -0800 (PST) X-Received: by 10.49.24.14 with SMTP id q14mr2440182qef.17.1358545985905; Fri, 18 Jan 2013 13:53:05 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no1318981qai.0!news-out.google.com!k2ni675qap.0!nntp.google.com!p13no1318979qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Fri, 18 Jan 2013 13:53:05 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=64.183.216.122; posting-account=v1lx5wkAAAALWYfGBkwkMb2guPF9cW2u NNTP-Posting-Host: 64.183.216.122 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: drawImage From: bob smith Injection-Date: Fri, 18 Jan 2013 21:53:05 +0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.lang.java.programmer:21545 I'm looking at the drawImage routines in the Graphics class: http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/Graphics.html I noticed all of them take integers for the x, y, width, height. =20 This is not necessarily the best thing since you may have a matrix that sca= les the canvas by=85 say 1000 times. Then, it might make sense to have a f= loat passed in. Maybe there should be drawImageF versions or something so we can pass float= s in? Any ideas?