GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_types.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3 * Copyright (C) 2009-2024 Cyril Hrubis <metan@ucw.cz>
4 */
5
11#ifndef CORE_GP_TYPES_H
12#define CORE_GP_TYPES_H
13
14#include <stdint.h>
15
19typedef int gp_coord;
20
24typedef unsigned int gp_size;
25
26typedef int gp_ssize;
27
33typedef uint32_t gp_pixel;
34
35/* Pixel type description */
37
38/* Bitmap image */
39typedef struct gp_pixmap gp_pixmap;
40
41/* Progress callback */
42typedef struct gp_progress_cb gp_progress_cb;
43
44#endif /* CORE_GP_TYPES_H */
uint32_t gp_pixel
Pixel integer value.
Definition gp_types.h:33
int gp_coord
Integer type for coordinates i.e. x, y, ...
Definition gp_types.h:19
unsigned int gp_size
Integer type for sizes i.e. w, h, ...
Definition gp_types.h:24
A description of a gp_pixel_type Assumes name with at most 15 chars.
Definition gp_pixel.h:72
A pixmap buffer.
Definition gp_pixmap.h:33
Progress callback.