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

FreeBSD Manual Pages

  
 
  

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

NAME
       is_linear_bitmap	 -  Tells if a bitmap is linear. Allegro game program-
       ming library.

SYNOPSIS
       #include	<allegro.h>

       int is_linear_bitmap(BITMAP *bmp);

DESCRIPTION
       Returns TRUE if bmp is a	linear bitmap, i.e. a bitmap that can  be  ac-
       cessed  linearly	within each scanline (for example a memory bitmap, the
       DOS VGA or SVGA screen, Windows bitmaps,	etc). Linear  bitmaps  can  be
       used   with   the   _putpixel(),	  _getpixel(),	bmp_write_line(),  and
       bmp_read_line() functions.

       Historically there were only linear and planar bitmaps for Allegro,  so
       is_linear_bitmap() is actually an alias for !is_planar_bitmap().

SEE ALSO
       is_planar_bitmap(3), is_memory_bitmap(3)

Allegro				 version 4.4.2		   is_linear_bitmap(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=is_linear_bitmap&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help