Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21545

drawImage

Newsgroups comp.lang.java.programmer
Date 2013-01-18 13:53 -0800
Message-ID <aff1a9e3-cee8-4b14-8dbb-eb103c6963b4@googlegroups.com> (permalink)
Subject drawImage
From bob smith <bob@coolfone.comze.com>

Show all headers | 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 | NextNext in thread | Find similar | Unroll thread


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