Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

simple drawing tool

by traveler (Parson)
on Oct 22, 2002 at 00:27 UTC ( #206962=perlquestion: print w/ replies, xml ) Need Help??
traveler has asked for the wisdom of the Perl Monks concerning the following question:

I'm in need of a simple drawing tool in perl. I don't care if it uses Tk or gtk, but I need a script that allows the user to use the mouse to draw freehand (at least). super search didn't find anything and googling was not too helpful either. Any help is appreciated!

--traveler

Comment on simple drawing tool
Re: simple drawing tool
by Necos (Friar) on Oct 22, 2002 at 00:55 UTC
    You might want to try freshmeat.net. They have a nice listing of all the open source software around. Another good source might be www.sourceforge.net. There will be some overlap, but both will have lots of software for you to look at.

    Theodore Charles III
    Network Administrator
    Los Angeles Senior High
    4650 W. Olympic Blvd.
    Los Angeles, CA 90019
    323-937-3210 ext. 224
    email->secon_kun@hotmail.com
    perl -e "map{print++$_}split//,Mdbnr;"
      Actually I tried these first. I did not find anything in perl that seemed close. Do you have a specific project in mind?

      --traveler

Re: simple drawing tool
by rbc (Curate) on Oct 22, 2002 at 03:16 UTC
    There may not be many useful results from super search but
    there are a few good nodes here at perlmonks that you may
    still want to examine.

    Tk Rubberband Demo being the most appropirate.
very primitive drawing tool (was: Re: simple drawing tool)
by strat (Canon) on Oct 22, 2002 at 11:19 UTC
    About two years ago, I played around a bit with Tk and wrote a very primitive drawing program based on the one displayed in "Starting Tk" from Nancy Walsh. Maybe it could help you writing your own one, although it is just a quick hack:
      This is very much the kind of start I was looking for.
      Thanks!

      --traveler

Re: simple drawing tool
by zentara (Archbishop) on Oct 22, 2002 at 15:06 UTC
    Get the example code for Mastering Perl/Tk-> Mptk-code
    Look in Ch09 for quickdraw2

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2014-07-25 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (174 votes), past polls