logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

is_linear_bitmap - Tells if a bitmap is linear. Allegro game programming library.

Description

       Returns  TRUE if bmp is a linear bitmap, i.e. a bitmap that can be accessed 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().

Name

       is_linear_bitmap - Tells if a bitmap is linear. Allegro game programming library.

See Also

is_planar_bitmap(3alleg4), is_memory_bitmap(3alleg4)

Allegro                                           version 4.4.3                        is_linear_bitmap(3alleg4)

Synopsis

#include<allegro.h>intis_linear_bitmap(BITMAP*bmp);

See Also