From: Curt Tilmes <curt@ltpmail.gsfc.nasa.gov>
To: axp-list@redhat.com
Subject: Re: Way, way off topic
Date: Wed, 18 Nov 1998 07:37:17 -0500 (EST) [thread overview]
Message-ID: <199811181237.HAA09661@curt.gsfc.nasa.gov> (raw)
>There is a software package that might help you with that. It's called
>'tgif' (I have it for i386 - ftp.x.org:/contrib/applications/tgif/ ) and
>it can produce .eps files with 'variables' you can define later with text
>editor or your own program. :)
I've got a Perl Module for the "FIG" format I've been playing with --
haven't released it to the public yet, but it handles everything I
need it to do.
I use "xfig" to sketch out the "background" static stuff, then draw
more objects on it through perl like this:
======================================================================
#!/usr/local/bin/perl -w
use strict;
use Image::Fig;
my $fig = new Image::Fig(Filename => 'foo.fig'); # Load background
$fig->set(Textsize => 24, Font => 'Courier');
$fig->Text(X => 1.5, Y => 1.5, String => 'some text');
$fig->Text(X => 1.5, Y => 2.5, Textsize => 12, Font => 'Helvetica',
String => 'some more text');
$fig->write(Language => 'ps', Filename => 'output.ps');
======================================================================
It has all the basic FIG objects, text, lines, circles, arrows,
splines, colors, patterns, etc. Should be pretty easy to figure out
for someone with basic Perl knowledge.
Email me if anyone is interested in "Beta-testing" it.
Curt
next reply other threads:[~1998-11-18 12:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-18 12:37 Curt Tilmes [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-11-17 17:49 Multia memory/batery questions Ralph Green, Jr.
1998-11-17 18:39 ` Way, way off topic Scott Lewis
1998-11-17 19:48 ` Andrew Hobgood
1998-11-17 21:17 ` Ken Hansen
1998-11-17 21:32 ` Scott Lewis
1998-11-18 7:28 ` Danilo Godec
1998-11-18 14:23 ` Robin Stephenson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox