Status: Accepted
Labels: Type-Defect Priority-High Effort-Low OpSys-All

New issue 181 by PNode.toImage is not centered and can create cropped images for PNodes with non-integral (x,y) bounds

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:

Reply via email to