logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: canvas widget: msg#00025

Subject: Re: canvas widget
I've just build such a thing in a (huge) commercial project.
I'm planning on publishing the drawing stuff but because I'm extremely
busy I have no idea when I'll find the time for that. 
However, I can tell you the route I took.
I started by looking at the Printing demo which gives a good idea of the 
basic canvas usage. 
Because I wanted to use WxGlade for my project I found that the WxPython
community is way ahead of wxPerl in terms of examples, demo's etc and 
found a basic drawing program in the demo's called pySketch.
I have no Python experience at all but was able to read it so by looking 
at the pySketch code I was able to rewrite it in Perl.
After that I extended it with more functionality needed for my 
application.

Like I said, I wrote this as part of an application for one of our 
clients so it's very specific and embedded within a lot of other code.
I will extract the basic drawing functionality and share it with the 
rest of the wxPerl community some day soon. Maybe it can even be added 
to the wxPerl demo or samples??

Hope this helps a bit.

Regards,
Huub Peters


----- Original Message ----- 
From: "Eric Waldheim" <ewaldhei@xxxxxxx>
To: <wxperl-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, March 05, 2004 6:16 PM
Subject: [wxperl-users] canvas widget


> I need Tk::Canvas-esque functionality.
> (draw polygons, circles, etc.  figure out when they are clicked,
> drag them around).
> 
> Might anyone have any experience or information to share?
> 
> Thanks,
> Eric
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> wxperl-users mailing list
> wxperl-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/wxperl-users
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>