Skip Menu |
 

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 34281
Status: resolved
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: perl [...] pete-lynch.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: GD::Simple documentation error
Download (untitled) / with headers
text/plain 376b
Perl 5.8.7, d/l+install latest GD and GD::Simple from CPAN as usual with perl -MCPAN -e shell. perldoc GD::Simple reports arg. list for arc() as: $imgâ>arc($cx,$cy,$width,$height,$start,$end [,$style]) Whereas code defines 4 options with an optional 5th [$style]. Also perldoc fails to mention you must execute a moveTo() prior to calling arc() to position the graphic.
Download (untitled) / with headers
text/plain 657b
On Thu Mar 20 08:02:04 2008, pete_l wrote: Show quoted text
> Perl 5.8.7, d/l+install latest GD and GD::Simple from CPAN as usual > with perl -MCPAN -e shell. > > perldoc GD::Simple reports arg. list for arc() as: > $imgâ>arc($cx,$cy,$width,$height,$start,$end [,$style]) > > Whereas code defines 4 options with an optional 5th [$style]. > Also perldoc fails to mention you must execute a moveTo() prior > to calling arc() to position the graphic.
I've fixed the wrong arc signature in GD::Simple with ac4a4bcb07b874daa67bad197acd014b02e732ce The moveTo is explained at the top of GD::SImple. GD::Simple stores the current position, color and size. -- Reini Urban


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.