Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: How to draw a curved arrow in perl Tk canvas ?

by KuntalBhusan (Acolyte)
on Aug 01, 2012 at 14:23 UTC ( #984797=note: print w/ replies, xml ) Need Help??


in reply to Re^5: How to draw a curved arrow in perl Tk canvas ?
in thread How to draw a curved arrow in perl Tk canvas ?

Not actually...I wanted using the createLine....but indeed it was simple..I figured it out just after posting :)

my ($x1,$y1); my $r = 50; # radius my @new_coords = ($x1,$x2,$x1-$r,$x2+$r,$x1,$x2+(2*$r),$x1+$r,$x2+$r,$ +x1,$x2+8); $id = $can->createLine(@new_coords);
Thanks for the help anyways...


Comment on Re^6: How to draw a curved arrow in perl Tk canvas ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-04 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls