/[Apache-SVN]
ViewVC logotype

Revision 1286045


Jump to revision: Previous Next
Author: (unknown author)
Date: Wed Feb 1 16:31:03 2012 UTC (12 years, 1 month ago)
Changed paths: 1
Log Message:
Transferred from the Adobe Open Source Subversion Repository

Revision: 7155
Author:   jszeto@adobe.com
Date:     2009-05-20T21:39:39.764544Z

Log Message: 
-----------
Line bug fixes when using gradient strokes

SDK-21272 - Lines with gradient (LinearGradientStroke) draw as solid color if perfectly vertical / horizontal

StrokedElement was not taking the stroke weight into account when passing the bounds to the stroke. The gradient strokes rely on the bounds to help them transform the gradient to fit the shape of the stroke. 

SDK-21274 - Line with gradient stroke does not draw properly

This bug occurs when the Line has a non-zero x and/or y values and is sharing a DisplayObject. StrokedElement was passing the stroke the measuredX and measuredY position as part of the bounds. Instead, I've changed it to pass in drawX + measuredX and drawY + measuredY which accounts for the drawing offset position. 

QE Notes: Test Line w/ gradient strokes
Doc Notes: None
Bugs: SDK-21272, SDK-21274
Reviewer: Evtim

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as

Changed paths

Path Details
Directoryincubator/flex/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26