Main > Programming > Libraries >

Games::OpenGL::Font::2D 0.07

Games::OpenGL::Font::2D 0.07

Sponsored Links

Games::OpenGL::Font::2D 0.07 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.022 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 836
Date added: 2007-08-13
Publisher: Tels

Games::OpenGL::Font::2D 0.07 description

Games::OpenGL::Font::2D module can load/render 2D colored bitmap fonts via OpenGL.

SYNOPSIS

use Games::OpenGL::Font::2D;

my $font = Games::OpenGL::Font::2D->new(
file => font.bmp );

use SDL::App::FPS;

my $app = SDL::App::FPS->new( ... );

# dont forget to change these on resize events!
$font->screen_width( $app->width() );
$font->screen_height( $app->width() );

$font->pre_output(); # setup rendering for font

$font->color( [ 0,1,0] ); # yellow as array ref
$font->color( 1,0,0 ); # or red
$font->alpha( 0.8 ); # nearly opaque

# half-transparent, red
$font->output (100,100, Hello OpenGL!, [ 1,0,0], 0.5 );
# using the $fonts color and alpha
$font->output (100,200, Hello OpenGL! );

$font->transparent( 1 ); # render font background transparent

$font->spacing_y( 16 ); # render vertical (costly rebuild!)
$font->spacing_x( 0 ); # (costly rebuild!)
$font->output (100,200, Hello OpenGL! );

$font->post_output(); # if wanted, you can reset OpenGL

EXPORTS

Exports nothing on default. Can export on demand the following:

FONT_ALIGN_LEFT
FONT_ALIGN_RIGHT
FONT_ALIGN_CENTER
FONT_ALIGN_TOP
FONT_ALIGN_BOTTOM

Games::OpenGL::Font::2D 0.07 Screenshot

Advertisements

Games::OpenGL::Font::2D 0.07 Keywords

Bookmark Games::OpenGL::Font::2D 0.07

Hyperlink code:
Link for forum:

Games::OpenGL::Font::2D 0.07 Copyright

WareSeeker periodically updates pricing and software information of Games::OpenGL::Font::2D 0.07 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 Games::OpenGL::Font::2D 0.07 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
GLT OpenGL C++ Toolkit 0.7 project contains classes and routines for programming interactive 3D graphics with OpenGL. Free Download
OpenGL for Java, formerly known as GL4Java, supports Java with a native OpenGL mapping. Free Download
Games::Sudoku::General is a Perl module that can solve sudoku-like puzzles. Free Download
Hamster Font Manager is an easy GUI to manage fonts for X11/GS/TeX. Free Download
Gnome Font Sampler lets you browse your installed fonts using whatever color. Free Download
Games::Console Perl module provide a 2D quake style in-game console. Free Download
CVS Perl library is a Perl module which is is a wrapper around the CVS command with an object-oriented interface. Free Download
Minimal OpenGL Utility Library (MOGUL) is a library similar to GLUT, only with fewer features. Free Download