Status: Accepted Owner: allain.lalonde Labels: Type-Enhancement Priority-Medium Effort-Low OpSys-All Toolkit-Piccolo2D.Java Component-Core Milestone-1.3 Usability
New issue 106 by allain.lalonde: toImage array is too simple in its fill behaviour http://code.google.com/p/piccolo2d/issues/detail?id=106 Marcus noted the following: There are various sensible ways to expand one rectangle to fit into another. 1) it can be just strechted in both directions 2) "AspectFit" - it can be streched to fit into but preserve aspect ratio 2) "AspectFill" - it can be streched to completely fill but preserve aspect ratio Should be an input parameter. I agree and so will add another toImage method that accepts a fill strategy. The default will be #1 from the list since I think it's the most logical. -- 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 -~----------~----~----~----~------~----~------~--~---
