No, by "sub-pixel" I mean geometry which places coordinates at
fractional screen coordinates for purposes of expressing the locations
of those vertices more accurately than integers would allow. If the
display has sub-components that are smaller than a pixel, that could be
taken advantage of duri
Hi Jim,
By 'sub-pixel' are you referring to the sub-pixels in LCD displays, for example?
Does this then not apply to CRT monitors?
Thanks,
D.
[Message sent by forum member 'dodger' (dodger)]
http://forums.java.net/jive/thread.jspa?messageID=116601
=
"Why not take a few seconds and try it yourself?"
I had done so, without ... thinking. I passed one of the constructors the
result of a method with an integer return value.
"Depends on the application; double is really important in the mapping/GIS
industry, for example."
OK.
"It sounds like y
Without anti-aliasing, I see no difference between a rectangle at 0 and one at
0.99 (the x
coordinate) (this is true with anti-aliasing turned on as well, but I assume
it's because there are
no curved areas). I do, however, notice a change with an ellipse, as you
mentioned. There's a
difference
> Hi Chris,
>
> Thanks very much for your reply.
>
> "You can pass int parameters to either of the Float
> or Double constructors ..."
>
> You're right, although I thought you'd have to cast
> the values first?
>
Why not take a few seconds and try it yourself?
> "As for your second question ..."
Hi Chris,
Thanks very much for your reply.
"You can pass int parameters to either of the Float or Double constructors ..."
You're right, although I thought you'd have to cast the values first?
"As for your second question ..."
Without anti-aliasing, I see no difference between a rectangle at 0
> Hi,
>
> 1. I don't understand why Java 2D classes such as
> Rectangle2D have float and double constructors, and
> not integer constructors? I thought these values
> represented pixel coordinates? Are these values
> rounded, or what? (I know I'm missing something huge
> here, so this is an embarra
Hi,
1. I don't understand why Java 2D classes such as Rectangle2D have float and
double constructors, and not integer constructors? I thought these values
represented pixel coordinates? Are these values rounded, or what? (I know I'm
missing something huge here, so this is an embarrassing questi