Status: Accepted
Owner: re...@colorado.edu
Labels: Type-Defect Priority-High Milestone-1.3 Effort-Medium  
Toolkit-Piccolo2D.Java Component-Core Usability

New issue 137 by re...@colorado.edu: Calling toImage() on a composite node  
often returns an empty image.
http://code.google.com/p/piccolo2d/issues/detail?id=137

Calling toImage() on a composite node often returns an empty image.

The problem looks like it is due to using getWidth() and getHeight()
instead of getFullBounds().getWidth() and getFullBounds().getHeight() in
PNode.toImage

A debugger session indicates that getWidth() is zero for composite nodes,
therefore, dividing by getWidth() is problematic.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to