[Drawkit] adoptPath problems

James Maxwell jbmaxwell at rubato-music.com
Tue Jun 1 18:10:05 PDT 2010


hmm, strange... 
But then, some of this is pretty old code, so I'm not sure what happened in the meantime. It did work, once upon a time, but I suppose that will remain a bit of a mystery! ;-)

cheers,

J.


On 2010-06-01, at 6:04 PM, Graham Cox wrote:

> 
> On 02/06/2010, at 10:56 AM, James Maxwell wrote:
> 
>> I translated the new path to the object's location, before sending it to adoptPath, and everything seems good now.
> 
> 
> Cool, glad you're progressing.
> 
> Note that -adoptPath: is intended to set up the shape from an existing path, in that the shape's location and size are derived from the path (as such -setLocation: was always called). The location is initially set to the centre of the path's bounds. The only existing primitive property that is taken into account is the angle.
> 
> --Graham
> 
> 
> _______________________________________________
> Drawkit mailing list
> Drawkit at lists.apptree.net
> http://lists.apptree.net/listinfo.cgi/drawkit-apptree.net

James B Maxwell
Composer/Doctoral Student
School for the Contemporary Arts (SCA)
School for Interactive Arts + Technology (SIAT)
Simon Fraser University
jbmaxwell at rubato-music.com
jbmaxwel at sfu.ca



More information about the Drawkit mailing list