Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #21545
| 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 | <aff1a9e3-cee8-4b14-8dbb-eb103c6963b4@googlegroups.com> (permalink) |
| Subject | drawImage |
| From | bob smith <bob@coolfone.comze.com> |
| 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 |
Show key headers only | View raw
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. This is not necessarily the best thing since you may have a matrix that scales the canvas by… say 1000 times. Then, it might make sense to have a float passed in. Maybe there should be drawImageF versions or something so we can pass floats in? Any ideas?
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
drawImage bob smith <bob@coolfone.comze.com> - 2013-01-18 13:53 -0800
Re: drawImage Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-01-18 13:57 -0800
Re: drawImage Lew <lewbloch@gmail.com> - 2013-01-18 16:44 -0800
Re: drawImage Roedy Green <see_website@mindprod.com.invalid> - 2013-01-18 14:53 -0800
csiph-web