3 Struct BITMAP
gullradriel edited this page 2026-10-09 00:55:18 +02:00

BITMAP

Module: GRAPHICS: Allegro 4 compatibility layer

Allegro 4 bitmap. More...

#include "n_allegro_4.h"

Public Attributes

Name
int w
width in pixels
void * priv
private state of the compatibility layer
unsigned char ** line
always NULL: direct line access goes through bmp_write_line()
int h
height in pixels

Detailed Description

struct BITMAP;

Allegro 4 bitmap.

Only w and h are meant to be read by programs.

Public Attributes Documentation

variable w

int w;

width in pixels

variable priv

void * priv;

private state of the compatibility layer

variable line

unsigned char ** line;

always NULL: direct line access goes through bmp_write_line()

variable h

int h;

height in pixels