GD::XYScale

GD::XYScale can draw a 2D X-Y scale and use it.
Download

GD::XYScale Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Burak G
  • Publisher web site:
  • http://search.cpan.org/~burak/Text-Template-Simple-0.50/lib/Text/Template/Simple.pm

GD::XYScale Tags


GD::XYScale Description

GD::XYScale can draw a 2D X-Y scale and use it. GD::XYScale can draw a 2D X-Y scale and use it.SYNOPSIS use GD; use GD::XYScale; $image = GD::Image->new($width,$height); $white = $image->colorAllocate(255,255,255); $black = $image->colorAllocate(0,0,0); $blue = $image->colorAllocate(0,0,255); # continue using your GD image object. $scale = GD::XYScale->new($image); # put the origin at x=50, y=80 and zoom-out with .5 $scale->origin(50,80,.5); $scale->draw(1.5,$black); $scale->name('up', 'x scale', 'y scale', $blue, gdSmallFont, 'show_zoom', $blue); # draw some geomethric objects, curves, # plot something... etc...This module adds a 2D scale to your GD image. It needs a GD::Image object to work.First versions were modifying GD::Image namespace and I then realized that this is not a good thing. In this version and future versions, the module will use it's own namespace, so check your codes if you tried this module before version 1.2 Requirements: · Perl


GD::XYScale Related Software