SDL::Color 2.1.3
Sponsored Links
SDL::Color 2.1.3 Ranking & Summary
File size:
0.21 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
806
Date added:
2007-08-09
Publisher:
David J. Goehrig
SDL::Color 2.1.3 description
SDL::Color is a SDL perl extension.
SYNOPSIS
$color = new SDL::Color ( -r => 0xde, -g => 0xad, -b =>c0 );
$color = new SDL::Color -surface => $app, -pixel => $app->pixel($x,$y);
$color = new SDL::Color -color => SDL::NewColor(0xff,0xaa,0xdd);
SDL::Color is a wrapper for display format independent color representations, with the same interface as SDL::Color.
new ( -color => )
SDL::Color::new with a -color option will construct a new object referencing the passed SDL_Color*.
new (-r => , -g => , -b => )
SDL::Color::new with -r,-g,-b options will construct both a SDL_Color structure, and the associated object with the specified vales.
new (-pixel =>, -surface =>)
SDL::Color::new with -pixel,-surface options will generate a SDL_Color* with the r,g,b values associated with the integer value passed by -pixel for the given -surfaces format.
r ( [ red ] ), g( [ green ] ), b( [ blue ] )
SDL::Color::r, SDL::Color::g, SDL::Color::b are accessor methods for the red, green, and blue components respectively. The color value can be set by passing a byte value (0-255) to each function.
pixel ( surface )
SDL::Color::pixel takes a SDL::Surface object and r,g,b values, and returns the integer representation of the closest color for the given surface.
SYNOPSIS
$color = new SDL::Color ( -r => 0xde, -g => 0xad, -b =>c0 );
$color = new SDL::Color -surface => $app, -pixel => $app->pixel($x,$y);
$color = new SDL::Color -color => SDL::NewColor(0xff,0xaa,0xdd);
SDL::Color is a wrapper for display format independent color representations, with the same interface as SDL::Color.
new ( -color => )
SDL::Color::new with a -color option will construct a new object referencing the passed SDL_Color*.
new (-r => , -g => , -b => )
SDL::Color::new with -r,-g,-b options will construct both a SDL_Color structure, and the associated object with the specified vales.
new (-pixel =>, -surface =>)
SDL::Color::new with -pixel,-surface options will generate a SDL_Color* with the r,g,b values associated with the integer value passed by -pixel for the given -surfaces format.
r ( [ red ] ), g( [ green ] ), b( [ blue ] )
SDL::Color::r, SDL::Color::g, SDL::Color::b are accessor methods for the red, green, and blue components respectively. The color value can be set by passing a byte value (0-255) to each function.
pixel ( surface )
SDL::Color::pixel takes a SDL::Surface object and r,g,b values, and returns the integer representation of the closest color for the given surface.
SDL::Color 2.1.3 Screenshot
SDL::Color 2.1.3 Keywords
SDL
Color 2.1.3
sdl perl
perl extension
color
new
Perl
extension
2.1.3
SDL::Color
SDLColor
SDL::Color 2.1.3
Libraries
Programming
Bookmark SDL::Color 2.1.3
SDL::Color 2.1.3 Copyright
WareSeeker periodically updates pricing and software information of SDL::Color 2.1.3 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SDL::Color 2.1.3 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
color code personality test
hair color
colorado division of wildlife
coloring pages
colorado department of corrections
color chart
colors of the wind
map of colorado
sdl perl 1.19
perl extension implementing
paint colors
colorado state university
perl extensions
sdl perl windows
coloring book
colorfully
colorado lottery
color me badd
Related Software
SDL::Video is a SDL perl extension. Free Download
SDL::Tool::Graphic is a module for zooming and rotating SDL::Surface objects. Free Download
SDL::MPEG is a SDL perl extension. Free Download
Color::Fade provides a Perl extension for fading text colors. Free Download
DCOP is a Perl extension to speak to the dcop server via systems DCOP client. Free Download
DCE::Login is a Perl extension for interfacing to the DCE login API. Free Download
CGI::XMLForm is a Perl extension of CGI.pm which reads/generates formated XML. Free Download
Imager::Color is a Perl module with color handling for Imager. Free Download
Latest Software
Popular Software
Favourite Software