#include <stdio.h>
Go to the source code of this file.
Classes |
struct | gpc_polygon |
struct | gpc_tristrip |
struct | gpc_vertex |
struct | gpc_vertex_list |
Defines |
#define | GPC_EPSILON 1e-7 |
#define | GPC_VERSION "2.32" |
Enumerations |
enum | gpc_op { GPC_DIFF,
GPC_INT,
GPC_XOR,
GPC_UNION
} |
Functions |
void | gpc_add_contour (gpc_polygon *polygon, gpc_vertex_list *contour, int hole) |
void | gpc_free_polygon (gpc_polygon *polygon) |
void | gpc_free_tristrip (gpc_tristrip *tristrip) |
void | gpc_polygon_clip (gpc_op set_operation, gpc_polygon *subject_polygon, gpc_polygon *clip_polygon, gpc_polygon *result_polygon) |
void | gpc_polygon_to_tristrip (gpc_polygon *polygon, gpc_tristrip *tristrip) |
void | gpc_read_polygon (FILE *infile_ptr, int read_hole_flags, gpc_polygon *polygon) |
void | gpc_tristrip_clip (gpc_op set_operation, gpc_polygon *subject_polygon, gpc_polygon *clip_polygon, gpc_tristrip *result_tristrip) |
void | gpc_write_polygon (FILE *outfile_ptr, int write_hole_flags, gpc_polygon *polygon) |
Define Documentation
Definition at line 92 of file gpc.h.
Definition at line 94 of file gpc.h.
Enumeration Type Documentation
- Enumerator:
GPC_DIFF |
|
GPC_INT |
|
GPC_XOR |
|
GPC_UNION |
|
Definition at line 103 of file gpc.h.
Function Documentation