[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Graphics and MacPerl



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch

art@physics.Berkeley.EDU (Art Ferruzzi) writes:
>I found it finally, thanks to yahoo. Not "live" drawing, but:
>
>Check out
><http://www-genome.wi.mit.edu/ftp/distribution/software/utilities>
>
>Quick excerpt:
>_____________________________________________________________________
>qd.pl: Quickdraw for Perl

A peek into the MacPerl distribution would have sufficed :-)

>qd.pl is a small contribution to the world of perl hackery. It is a
>library of perl routines for creating Macintosh PICT files. It replaces
>a large number of the MacOS Quickdraw routines with equivalent perl
>subroutines. It handles text drawing, line drawing, rectangles, ovals,
>polygons, round-cornered rectangles, color and pattern transfer modes,
>and various scaling and warping operations.
>______________________________________________________________________
>
>I am guessing that this will run with MacPerl.

Yes. GD is ported, and the QD part is actually platform independent.

>Advantage to PICT is that
>Mac applications such as HyperCard can load PICT files directly. Of course,
>WWW apps may prefer gif ( and the gd.pm module ).
>
>The author is no less than Lincoln Stein.
><mailto:lstein@genome.wi.mit.edu>
>

Matthias

-----
Matthias Neeracher                                   neeri@iis.ethz.ch
   "These days, though, you have to be pretty technical before you can 
    even aspire to crudeness." -- William Gibson, _Johnny Mnemonic_