[Laszlo-dev] For Review: Change 20090220-bargull-sQb Summary: drawview gradient fix (swf)
André Bargull
andre.bargull at udo.edu
Fri Feb 20 14:04:52 PST 2009
Change 20090220-bargull-sQb by bargull at dell--p4--2-53 on 2009-02-20 21:11:54
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: drawview gradient fix (swf)
New Features:
Bugs Fixed: LPP-7754
Technical Reviewer: promanik
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
- improve documentation for globalAlpha, lineWidth, lineCap,
strokeStyle, fillStyle
- change DrawviewShared "constructor" to match LzNode constructor
- change drawview (swf) constructor to match LzNode constructor
- rename all private attributes starting with a single underscore to
start with two underscores (note: two underscores make properties
'hidden' for the debugger)
- explicitely list all private memorization properties (dhtml)
- add __updateStyles() method to update lineWidth, lineCap, globalAlpha,
strokeStyle (dhtml)
- write LzCanvasGradient in class-style (dhtml)
- change __getColor() (swf) so it won't use an extra step by comparing
strings
- fix braino in fillRect() (swf8)
- expand property names in LzCanvasGradient (swf), e.g. "_m" to "__matrix"
- always use a flash.geom.Matrix for the gradient-box, this is the
recommended way as explained in the Adobe docs
- only multiply alpha value by 100 for swf8 (addColorStop(), stroke(),
fill())
LPP-7754: flash.geom.Matrix#createGradientBox doesn't return a value, so
don't assign undefined to the Matrix variable in LzCanvasGradient
constructor.
Tests:
testcase at LPP-7754 gives the same result in swf9 compared to swf8
Files:
M lps/components/extensions/drawview.lzx
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20090220-bargull-sQb.tar
More information about the Laszlo-dev
mailing list