Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
grab_font_from_bitmap(3)	 Allegro manual 	grab_font_from_bitmap(3)

NAME
     grab_font_from_bitmap - Grabs a font from a bitmap Allegro game programming
     library.

SYNOPSIS
     #include <allegro.h>

     FONT *grab_font_from_bitmap(BITMAP *bmp)

DESCRIPTION
     This  function  is  the  work-horse of load_bitmap_font, and can be used to
     grab a font from a bitmap in memory. You can use this if you want to gener-
     ate or modify a font at runtime. The bitmap should follow	the  layout  de-
     scribed for load_bitmap_font.

RETURN VALUE
     Returns  a  pointer to the font or NULL on error. Remember that you are re-
     sponsible for destroying the font when you are finished with  it  to  avoid
     memory leaks.

SEE ALSO
     load_bitmap_font(3)

Allegro 			  version 4.4.3 	grab_font_from_bitmap(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=grab_font_from_bitmap&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help