2D Path Object More...
#include <gpac/path2d.h>
Public Attributes | |
| u32 | n_contours |
| u32 | n_points |
| u32 | n_alloc_points |
| GF_Point2D * | points |
| u8 * | tags |
| u32 * | contours |
| GF_Rect | bbox |
| s32 | flags |
| Fixed | fineness |
The 2D path object is used to construct complex 2D shapes for later drawing or outlining.
number of contours in path
number of points in path and alloc size
path points
| u8* GF_Path::tags |
point tags (one per point)
| u32* GF_Path::contours |
contour end points
path bbox - NEVER USE WITHOUT FIRST CALLING gf_path_get_bounds
| s32 GF_Path::flags |
path flags
fineness to use whenever flattening the path - default is FIX_ONE
1.6.1