GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_arc.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3 * Copyright (C) 2009-2011 Jiri "BlueBear" Dluhos
4 * <jiri.bluebear.dluhos@gmail.com>
5 *
6 * Copyright (C) 2009-2011 Cyril Hrubis <metan@ucw.cz>
7 */
8
9#ifndef GP_ARC_H
10#define GP_ARC_H
11
12#include <core/gp_types.h>
13
14void gp_arc_segment(gp_pixmap *pixmap, gp_coord xcenter, gp_coord ycenter,
15 gp_size a, gp_size b, int direction,
16 double start, double end,
17 gp_pixel pixel);
18
19void gp_arc_segment_raw(gp_pixmap *pixmap, gp_coord xcenter, gp_coord ycenter,
20 gp_size a, gp_size b, int direction,
21 double start, double end,
22 gp_pixel pixel);
23
24#endif /* GP_ARC_H */
A common types.
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 pixmap buffer.
Definition gp_pixmap.h:33