|
blit
|
Scanline structure definition. More...
#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | blit_scan |
| Scanline structure. More... | |
Macros | |
| #define | BLIT_SCAN_DEFINE(name, width, height) |
| Macro to define a scanline structure with storage. | |
| #define | BLIT_SCAN_DEFINE_STATIC(name, width, height) |
| Macro to define a static scanline structure with storage. | |
Typedefs | |
| typedef uint8_t | blit_scanline_t |
| Type definition for a scanline element. | |
Scanline structure definition.
This header file defines the blit_scan structure, which represents a scanline buffer used in graphics operations. The structure includes information about the buffer's storage, dimensions, and stride.
Definition in file scan.h.
| #define BLIT_SCAN_DEFINE | ( | name, | |
| width, | |||
| height | |||
| ) |
Macro to define a scanline structure with storage.
This macro defines a scanline structure along with its associated storage buffer. The macro takes the name of the scanline structure, its width, and its height as parameters. It creates a storage array of blit_scanline_t elements and initialises a blit_scan structure with the appropriate values.
| name | The name of the scanline structure. |
| width | The width of the scanline buffer in pixels. |
| height | The height of the scanline buffer in pixels. |
| #define BLIT_SCAN_DEFINE_STATIC | ( | name, | |
| width, | |||
| height | |||
| ) |
Macro to define a static scanline structure with storage.
This macro defines a static scanline structure along with its associated storage buffer. The macro takes the name of the scanline structure, its width, and its height as parameters. It creates a static storage array of blit_scanline_t elements and initialises a static blit_scan structure with the appropriate values.
| name | The name of the static scanline structure. |
| width | The width of the scanline buffer in pixels. |
| height | The height of the scanline buffer in pixels. |
| typedef uint8_t blit_scanline_t |