Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-High Effort-Low OpSys-All
New issue 181 by [email protected]: PNode.toImage is not centered and can
create cropped images for PNodes with non-integral (x,y) bounds
http://code.google.com/p/piccolo2d/issues/detail?id=181
What steps will reproduce the problem?
1. Run the attached file TestPPathToImage, which creates a PNode with
non-integral (x,y) coordinates and convents it to an image.
What is the expected output? What do you see instead?
The output should be a red circle with black outline centered in the image
contents. Instead this test program yields an image that is offset by
about 1 pixel down and to the right, which crops the bottom and right edges.
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en