Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to rotate text in Tk::Abstract Canvas ?

by kcott (Archbishop)
on May 09, 2013 at 21:02 UTC ( [id://1032844]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub rotate { # takes as input id of obj to rot, angle to rot by, && op
    +tional x,y point to rot about instead of obj center, if possible
      my($self, $obid, $angl, $xfoc, $yfoc)= @_; croak "rotate: Must suppl
    +y an angle -" unless(defined($angl));
    ...
      return() unless(exists($_can_rotate_about_center{$type}) || (defined
    +($xfoc) && defined($yfoc)));
      $_rotate_methods{$type}->($self, $obid, $angl, $xfoc, $yfoc);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1032844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found