<div dir="ltr"><div><div>Hi,<br><br></div>a question: are these new commands only for pd-l2ork? Will they ever be part of extended, or of any other OS except linux?<br><br></div>Best,<br><br>Joao<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-16 21:55 GMT+02:00 Jonathan Wilkes via Pd-list <span dir="ltr"><<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt"><div>Hi list,</div><div>     I've got a nice collection of new drawing commands in Pd-l2ork for drawing scalars that are (mostly) based on the svg spec from HTML5.  Currently they are named [draw $shape], where $shape can be an svg shape, path, or also some higher-level convenience command like a sprite.  (There is also [group] for svg groups, which should probably be [draw group].)  Arguments set the initial coordinate data, like [draw line 0 0 40 40], but coords and attributes like color/opacity/transform can also be set and/or changed by sending messages to the object.<br></div><div><br></div>What do people think of this kind of two word naming scheme, as compared to Pd Vanilla's where the name of the shape is in the selector like [drawcurve] or
 [drawpolygon]?  I don't usually like the two word naming scheme, like the [list] objects.  But in this case, the object interface is the same no matter what shape is chosen.  (Nearly because [draw sprite] has a method for setting the index.)  So everything really is one class called "draw", and the shape-- though it cannot be changed after instantiation-- is data that determines how to interpret the rest of the args plus any attributes set by sending messages.<br><br>Thanks,<br>Jonathan<br></div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Friedenstr. 58<br>10249 Berlin Deutschland<br>Tel +49 30 42020091 | Mob +49 162 6843570<br><a href="mailto:jmmmpais@googlemail.com">jmmmpais@googlemail.com</a> | skype: jmmmpjmmmp<br><a href="http://www.puredata.org/Members/jmmmp">http://www.puredata.org/Members/jmmmp</a>
</div>