Skip Menu |
 

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 20826
Status: open
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



Subject: POD Errors?
Download (untitled) / with headers
text/plain 857b
use GD; $srcImage = new GD::Image(150,15); $srcImage->colorAllocate(200,200,200); @bounds = $srcImage->stringFT( $srcImage->colorAllocate(255,255,255), 'C:/winnt/fonts/arial.ttf', 12, 0, 0, 12, "stfu!" ); warn "# @bounds[0,1] Lower left corner (x,y)\n"; warn "# @bounds[2,3] Lower right corner (x,y)\n"; warn "# @bounds[4,5] Upper right corner (x,y)\n"; warn "# @bounds[6,7] Upper left corner (x,y)\n"; # Outputs # -1 13 Lower left corner (x,y) # 32 13 Lower right corner (x,y) # 32 -1 Upper right corner (x,y) # -1 -1 Upper left corner (x,y) Also, under 'Color Control' you write: Example: $white = $myImage->colorAllocate(0,0,0); #background color $black = $myImage->colorAllocate(255,255,255); $peachpuff = $myImage->colorAllocate(255,218,185); $black and $white needs swapping.
Download (untitled) / with headers
text/plain 437b
Oops: my error, was thinking PDF co-ords: though this bit stands: Show quoted text
> Also, under 'Color Control' you write: > > Example: > > $white = $myImage->colorAllocate(0,0,0); #background > color > $black = $myImage->colorAllocate(255,255,255); > $peachpuff = $myImage->colorAllocate(255,218,185); > > $black and $white needs swapping.
-- lgoddard at cpan org http://www.LeeGoddard.net


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.