Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by BrowserUk (Pope)
on Aug 01, 2012 at 12:23 UTC ( #984783=note: print w/replies, xml ) Need Help??


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

would also require to draw a self loop for a node in a canvas,i.e, an edge that will start and end in the same node showing a small loop.

Isn't that simply a circle? See Tk::Canvas createOval().


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^5: How to draw a curved arrow in perl Tk canvas ?

Replies are listed 'Best First'.
Re^6: How to draw a curved arrow in perl Tk canvas ?
by KuntalBhusan (Acolyte) on Aug 01, 2012 at 14:23 UTC
    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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://984783]
help
Chatterbox?
[james28909]: Good morning!
[james28909]: I have a problem I am trying to solve. I am packaging scripts using pdk and would like the verify the executable name each time it is executed
[Corion]: Hi James!
[james28909]: I looked through the docs, and see that PerlApp::exe() is suppose to return this information but whenever i try to use this, i get the error "Undefined subroutine &PerlApp::exe called"
[james28909]: i just want to verify the integrity of the executables name each time it is run.
[Corion]: Weird. this documentation says what you say.
[Corion]: I assume you are experiencing this with your packaged program. Maybe also include PerlApp.pm in the packaging list?
[james28909]: has anyone else run into this problem? i have tried searching but have not returned many results
[james28909]: ah, good idea.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-07-28 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (429 votes). Check out past polls.