GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
gfx
gp_ellipse.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_ELLIPSE_H
10
#define GP_ELLIPSE_H
11
12
#include "
core/gp_types.h
"
13
14
/* Ellipse */
15
16
void
gp_ellipse(
gp_pixmap
*pixmap,
gp_coord
xcenter,
gp_coord
ycenter,
17
gp_size
a,
gp_size
b,
gp_pixel
pixel);
18
19
void
gp_ellipse_raw(
gp_pixmap
*pixmap,
gp_coord
xcenter,
gp_coord
ycenter,
20
gp_size
a,
gp_size
b,
gp_pixel
pixel);
21
22
/* Filled Ellipse */
23
24
void
gp_fill_ellipse(
gp_pixmap
*pixmap,
gp_coord
xcenter,
gp_coord
ycenter,
25
gp_size
a,
gp_size
b,
gp_pixel
pixel);
26
27
void
gp_fill_ellipse_raw(
gp_pixmap
*pixmap,
gp_coord
xcenter,
gp_coord
ycenter,
28
gp_size
a,
gp_size
b,
gp_pixel
pixel);
29
30
#endif
/* GP_ELLIPSE_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