|
n_GPath * | n_gpath_create (n_GPathInfo *path_info) |
|
void | n_gpath_destroy (n_GPath *path) |
|
void | n_graphics_draw_path (n_GContext *ctx, uint32_t num_points, n_GPoint *points, bool open) |
|
void | n_graphics_fill_path (n_GContext *ctx, uint32_t num_points, n_GPoint *points) |
|
void | n_graphics_draw_ppath (n_GContext *ctx, uint32_t num_points, n_GPoint *points, bool open) |
|
void | n_graphics_fill_ppath (n_GContext *ctx, uint32_t num_points, n_GPoint *points) |
|
void | n_gpath_draw (n_GContext *ctx, n_GPath *path) |
|
void | n_gpath_fill (n_GContext *ctx, n_GPath *path) |
|
void | n_gpath_rotate_to (n_GPath *path, int32_t angle) |
|
void | n_gpath_move_to (n_GPath *path, n_GPoint offset) |
|
void | n_prv_transform_points (uint32_t num_points, n_GPoint *points_in, n_GPoint *points_out, int16_t angle, n_GPoint offset) |
|
Draw an open or closed path
◆ n_gpath_create()
◆ n_gpath_destroy()
void n_gpath_destroy |
( |
n_GPath * |
path | ) |
|
Destroys a previously created n_GPath.
◆ n_gpath_draw()
◆ n_gpath_fill()
Fills a n_GPath using the even-odd fill rule.
◆ n_gpath_move_to()
◆ n_gpath_rotate_to()
void n_gpath_rotate_to |
( |
n_GPath * |
path, |
|
|
int32_t |
angle |
|
) |
| |
◆ n_graphics_draw_path()
void n_graphics_draw_path |
( |
n_GContext * |
ctx, |
|
|
uint32_t |
num_points, |
|
|
n_GPoint * |
points, |
|
|
bool |
open |
|
) |
| |
Draws the outline of a path.
◆ n_graphics_draw_ppath()
void n_graphics_draw_ppath |
( |
n_GContext * |
ctx, |
|
|
uint32_t |
num_points, |
|
|
n_GPoint * |
points, |
|
|
bool |
open |
|
) |
| |
Draws the outline of a precise path.
◆ n_graphics_fill_path()
Fills a path using the even-odd fill rule.
◆ n_graphics_fill_ppath()
Fills a precise path using the even-odd fill rule.
◆ n_prv_transform_points()
void n_prv_transform_points |
( |
uint32_t |
num_points, |
|
|
n_GPoint * |
points_in, |
|
|
n_GPoint * |
points_out, |
|
|
int16_t |
angle, |
|
|
n_GPoint |
offset |
|
) |
| |
Transforms a point array with a given angle and offset.