NAME
GPC - Perl wrapper for Alan Murta's gpc library
SYNOPSIS
use GPC;
Description
This module is just a wrapper around the gpc C library written by Alan Murta
gpc: General Polygon Clipping library (C) 1997-1999, Advanced Interfaces Group, University of Manchester.
Please refer to the gpc manual for more details on gpc.
Methods
The available methods are:
Helper functions to access integer arrays
GPC::int_array
GPC::int_destroy
GPC::int_set
GPC::int_get
Helper functions to access vertex arrays
GPC::gpc_vertex_array
GPC::gpc_vertex_destroy
GPC::gpc_vertex_set
GPC::gpc_vertex_get
Helper functions to access vertex lists (arrays of vertex arrays)
GPC::gpc_vertex_list_array
GPC::gpc_vertex_list_destroy
GPC::gpc_vertex_list_set
GPC::gpc_vertex_list_get
vertex structure functions
GPC::gpc_vertex_x_set
GPC::gpc_vertex_x_get
GPC::gpc_vertex_y_set
GPC::gpc_vertex_y_get
GPC::new_gpc_vertex
GPC::delete_gpc_vertex
vertex list structure functions
GPC::gpc_vertex_list_num_vertices_set
GPC::gpc_vertex_list_num_vertices_get
GPC::gpc_vertex_list_vertex_set
GPC::gpc_vertex_list_vertex_get
GPC::new_gpc_vertex_list
GPC::delete_gpc_vertex_list
polygon structure functions
GPC::gpc_polygon_num_contours_set
GPC::gpc_polygon_num_contours_get
GPC::gpc_polygon_hole_set
GPC::gpc_polygon_hole_get
GPC::gpc_polygon_contour_set
GPC::gpc_polygon_contour_get
GPC::new_gpc_polygon
GPC::delete_gpc_polygon
tristrip structure functions
GPC::gpc_tristrip_num_strips_set
GPC::gpc_tristrip_num_strips_get
GPC::gpc_tristrip_strip_set
GPC::gpc_tristrip_strip_get
GPC::new_gpc_tristrip
GPC::delete_gpc_tristrip
gpc routines
GPC::gpc_read_polygon
GPC::gpc_write_polygon
GPC::gpc_add_contour
GPC::gpc_polygon_clip
GPC::gpc_tristrip_clip
GPC::gpc_polygon_to_tristrip
GPC::gpc_free_polygon
GPC::gpc_free_tristrip