libgpac  0.5.0
Public Attributes | List of all members
GF_Path Struct Reference

2D Path Object More...

#include <gpac/path2d.h>

Public Attributes

u32 n_contours
u32 n_points
u32 n_alloc_points
GF_Point2Dpoints
u8 * tags
u32 * contours
GF_Rect bbox
s32 flags
Fixed fineness

Detailed Description

*The 2D path object is used to construct complex 2D shapes for later drawing or outlining.

Member Data Documentation

u32 GF_Path::n_contours

number of contours in path

u32 GF_Path::n_points

number of points in path and alloc size

GF_Point2D* GF_Path::points

path points

u8* GF_Path::tags

point tags (one per point)

u32* GF_Path::contours

contour end points

GF_Rect GF_Path::bbox

path bbox - NEVER USE WITHOUT FIRST CALLING gf_path_get_bounds

s32 GF_Path::flags

path flags

Fixed GF_Path::fineness

fineness to use whenever flattening the path - default is FIX_ONE


The documentation for this struct was generated from the following file: