GD::XYScale 1.2
GD::XYScale can draw a 2D X-Y scale and use it. SYNOPSIS use GD; use GD::XYScale; $image = GD::Image->new($width,$
|
|||||||||||||||||||
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:
tags
Download GD::XYScale 1.2
Authors software
|
|
|
|
Similar software
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Other software in this category
|
|
|
|
|
|
|
|
|
|
Featured Software
jEdit 4.3 pre8
jEdit is an Open Source text editor written in Java
Opera 9.02
Surf the Internet in a safer, faster, and easier way with Opera browser
GNU Aspell 0.60.4
GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell
- Communications
- Database
- Desktop Environment
- Games
- Internet
- Multimedia
- Office
- Programming
- Science and Engineering
- System
- Text Editing&Processing
