For what its worth, despite being a partial pixel, floating points graphics become quite useful when you need to do more complex drawing such as transforms, bezier curves, etc...
Type: Posts; User: copeg
For what its worth, despite being a partial pixel, floating points graphics become quite useful when you need to do more complex drawing such as transforms, bezier curves, etc...
Look at the Line2D (Java Platform SE 6) class. It is abstract, but you can retrieve an instance through one of the Line2D.Float or Line2D.Double child classes. They implement the Shape interface, so...