objc

types.h
Go to the documentation of this file.
1 
8 #pragma once
9 #include <stdint.h>
10 
11 #define PIX_FPS_25 40
12 
13 
17 typedef struct {
18  int16_t x;
19  int16_t y;
20 } pix_point_t;
21 
26 typedef struct {
27  uint16_t w;
28  uint16_t h;
29 } pix_size_t;
30 
35 typedef enum {
38 } pix_format_t;
39 
44 typedef enum {
46 } pix_op_t;
47 
54 typedef uint32_t pix_color_t;
uint16_t h
Height in pixels.
Definition: types.h:28
int16_t x
X coordinate.
Definition: types.h:18
uint32_t pix_color_t
Color value type for pixel operations.
Definition: types.h:54
Monochrome format (1-bit per pixel)
Definition: types.h:37
uint16_t w
Width in pixels.
Definition: types.h:27
Set pixel operation.
Definition: types.h:45
Point structure representing X,Y coordinates.
Definition: types.h:17
pix_op_t
Pixel operation types for drawing operations.
Definition: types.h:44
int16_t y
Y coordinate.
Definition: types.h:19
pix_format_t
Pixel format enumeration defining color depth and layout.
Definition: types.h:35
Size structure representing width and height dimensions.
Definition: types.h:26
32-bit RGBA format with alpha channel
Definition: types.h:36