Games :: OpenGL :: Font :: 2D

GAMES :: OpenGL :: Lettertype :: 2D-module kan / render 2D gekleurde bitmap-lettertypen via OpenGL.
Download nu

Games :: OpenGL :: Font :: 2D Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Tels
  • Uitgever website:
  • http://search.cpan.org/~tels/

Games :: OpenGL :: Font :: 2D Tags


Games :: OpenGL :: Font :: 2D Beschrijving

Games :: OpenGL :: Font :: 2D-module kan 2D gekleurde bitmap-lettertypen via OpenGL laden / renderen. Games :: OpenGL :: Font :: 2D-module kan / render 2D gekleurde bitmap-lettertypen via OpenGL.Synopsis Gebruik Games :: OpenGL :: FONT :: 2D; Mijn $ Font = Games :: OpenGL :: Lettertype :: 2D-> Nieuw (bestand => 'Font.bmp'); Gebruik SDL :: APP :: FPS; Mijn $ app = SDL :: APP :: FPS-> NIEUW (...); # Vergeet niet om deze te veranderen op de grootte van de grootte! $ font-> scherm_width ($ app-> breedte ()); $ Font-> Screen_Height ($ App-> Breedte ()); $ font-> pre_output (); # Setup Weergave voor lettertype $ Font-> Kleur (0,1,0]); # geel als array ref $ font-> kleur (1,0,0); # of rode $ font-> alfa (0,8); # Bijna ondoorzichtig # half transparant, rood $ font-> output (100.100, 'hallo opengl!', , 0,5); # Gebruik van de kleur en alpha $ font-> output (100.200, '); $ font-> transparant (1); # Render lettertype achtergrond transparant $ font-> spacing_y (16); # Render verticaal (kostbaar herbouwen!) $ font-> spacing_x (0); # (kostbaar herbouwen!) $ font-> output (100.200, 'Hallo OpenGL!'); $ font-> post_output (); # Indien gewenst, kunt u OpenGLEXportsexports opnieuw instellen. Kan exporteren op aanvraag het volgende: Font_Align_left font_Align_right font_Align_center font_Align_top font_Align_bottom eisen: · Perl


Games :: OpenGL :: Font :: 2D Gerelateerde software