I long while ago I wrote a "Rotator" object for DynAPI v.1:

http://www.scottandrew.com/dhtml/demos/rotate.html

..although at its core, it's just a big image swap trick.  You have to
create an image for each increment.  I didn't think it was worth porting
to version 2, as you could probably use a modified Sprite object
instead.

scottandrew



Robert Rainwater wrote:
> 
> It's not possible to actually rotate a layer.  I believe the TCanvas
> similated lines using a bunch of layers.  I'm afraid there's not much
> hope unless you're only drawing vertical and horizontal lines.
> 
> --
> Robert Rainwater
> 
> On 4/19/2001, 12:40:11 PM EST, Michael wrote about "[Dynapi-Dev] Hello, newbie 
>here....":
> 
> >> How about one layer with a wipe and event listener applied to draw the
> >> line. If the line is vertical or horizontal it would be no problem, if
> >> the line is at an angle you would need to rotate the layer, also
> >> available in DynApi.
> > what? how?? show me!
> 
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> 
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to