GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
gfx
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
14
#include <math.h>
15
16
void
gp_arc_segment(
gp_pixmap
*pixmap,
gp_coord
xcenter,
gp_coord
ycenter,
17
gp_size
a,
gp_size
b,
int
direction,
18
double
start,
double
end,
19
gp_pixel
pixel);
20
21
void
gp_arc_segment_raw(
gp_pixmap
*pixmap,
gp_coord
xcenter,
gp_coord
ycenter,
22
gp_size
a,
gp_size
b,
int
direction,
23
double
start,
double
end,
24
gp_pixel
pixel);
25
26
#endif
/* GP_ARC_H */
gp_types.h
A common types.
gp_pixel
uint32_t gp_pixel
Pixel integer value.
Definition
gp_types.h:33
gp_coord
int gp_coord
Integer type for coordinates i.e. x, y, ...
Definition
gp_types.h:19
gp_size
unsigned int gp_size
Integer type for sizes i.e. w, h, ...
Definition
gp_types.h:24
gp_pixmap
A pixmap buffer.
Definition
gp_pixmap.h:33
Generated by
1.9.8