in reply to Mapping node relationships
A nice ImageMagick snippit demonstrated, at least to myself, that it is possible to draw via coords (points=>..), and I think I can create what I need from the tables I have currently.#!/usr/bin/perl -w use Image::Magick; $image=Image::Magick->new; $image->Set(size=>'100x100'); $image->Read("xc:white"); $image->Raise('3x3'); $image->Draw(stroke=>'red',primitive=>'rectangle',points=>'20,20 25,25 +'); $image->Draw(stroke=>'red',primitive=>'rectangle',points=>'30,20 35,25 +'); $image->Draw(stroke=>'black',primitive=>'line',points=>'25,23 30,23'); binmode STDOUT; $image->Write('gif:-');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Mapping node relationships
by PodMaster (Abbot) on May 14, 2003 at 11:04 UTC | |
by one4k4 (Hermit) on May 14, 2003 at 18:15 UTC |