[prev in list] [next in list] [prev in thread] [next in thread] 

List:       swiff-info
Subject:    [swiff-info] Re: curved edge records
From:       Craig Graham <c_graham>
Date:       1999-09-01 10:44:39
[Download RAW message or body]

On Wed, 01 Sep 1999, you wrote:
> I'm a little confused by the spec's description of the curved edge record.
> http://homepages.tig.com.au/~dkl/swf/SWFfilereference.html#h4EdgeRecords
> 
> I've just done a move to (0,0), and I want to place a curve whose endpoint is at \
> (100,100) and control point is at (75, 25). 
> Do I use the following values in the curved edge record?
> 
> ControlDeltaX: 75
> ControlDeltaY: 25
> AnchorDeltaX: 100
> AnchorDeltaY: 100
> 
> Or should the anchor delta values be taken from the new control point?

They're all delta's. First delta is from the current point to the control, second is \
from the control to the anchor, so from (0,0) you'd get:

ControlDeltaX: 75
ControlDeltaY: 25
AnchorDeltaX: 25
AnchorDeltaY: 75

> Thanks for any help...
> 
> --Jeremy

Craig.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic