Change ptw-20110407-NID by [email protected] on 2011-04-07 11:17:59 EDT in /Users/ptw/OpenLaszlo/trunk-devo for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Pixel-align integral-value borders Bugs Fixed: LPP-9861 Borders drawn incorrectly when view not pixel-aligned Technical Reviewer: [email protected] (pending) QA Reviewer: [email protected] (pending) Overview: When the dimensions of a border are all integral values, we align the border to the nearest pixel so it will be sharp Details: Check for the border dimensions all being integers. If so, use local/global transforms to determine the nearest pixel for the border x, y, width, and height and adjust the drawing of the border appropriately. Tests: Test case from bug. Files: M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as Changeset: http://svn.openlaszlo.org/openlaszlo/patches/ptw-20110407-NID.tar
