Returns: A new pixmap object of the specified width and height
format should be one of the following:
Format | Description |
---|---|
PF_RGB888 | 24 bit big endian RGB |
PF_BGR888 | 24 bit little endian RGB |
PF_RGBA8888 | 32 bit big endian RGB with alpha |
PF_BGRA8888 | 32 bit big endian RGB with alpha |
Returns: A new pixmap object that references an existing block of memory
The memory referenced by a static pixmap is not released when the pixmap is deleted.
See CreatePixmap for valid pixmap formats.
Returns: A new pixmap object
Returns: A new pixmap object with the specified pixel format
See CreatePixmap for valid pixmap formats.
Returns: The pitch, in bytes, of pixmap
Pitch refers to the difference, in bytes, between the start of one row of pixels and the start of the next row.
Returns: The format of the pixels stored in a pixmap
The returned value will be one of:
Format | Description |
---|---|
PF_RGB888 | 24 bit big endian RGB |
PF_BGR888 | 24 bit little endian RGB |
PF_RGBA8888 | 32 bit big endian RGB with alpha |
PF_BGRA8888 | 32 bit big endian RGB with alpha |
Returns: A byte pointer to the pixels stored in a pixmap
Returns: A new pixmap object
PixmapWindow returns a 'virtual' window into a pixmap.
Returns: A new pixmap object
MaskPixmap builds a new pixmap with alpha components set to '0' wherever the pixel colors
in the original pixmap match mask_red, mask_green and mask_blue. mask_red, mask_green and mask_blue
should be in the range 0 to 255.
Returns: A new pixmap object
Returns: A new pixmap object
Returns: A new pixmap object of the specified width and height
Returns: A pixmap object
Returns: A 32 bit pixel value
The returned 32 bit value contains the following components:
bits 24-31 : pixel alpha
bits 16-23 : pixel red
bits 8-15 : pixel green
bits 0-7 : pixel blue
The 32 bit argb value contains the following components:
bits 24-31 : pixel alpha
bits 16-23 : pixel red
bits 8-15 : pixel green
bits 0-7 : pixel blue
Module | brl.pixmap |
Version | 1.00 |
Author | Mark Sibly |
License | Blitz Shared Source Code |
Copyright | Blitz Research Ltd |
Modserver | BRL |