|
GF_EXPORT GF_Path * | gf_path_new () |
| path constructor More...
|
|
GF_EXPORT void | gf_path_reset (GF_Path *gp) |
| path reset More...
|
|
GF_EXPORT GF_Path * | gf_path_clone (GF_Path *gp) |
| path copy constuctor More...
|
|
GF_EXPORT void | gf_path_del (GF_Path *gp) |
| path destructor More...
|
|
GF_EXPORT GF_Err | gf_path_add_move_to (GF_Path *gp, Fixed x, Fixed y) |
| path moveTo More...
|
|
GF_EXPORT GF_Err | gf_path_add_move_to_vec (GF_Path *gp, GF_Point2D *pt) |
| starts new contour More...
|
|
GF_EXPORT GF_Err | gf_path_add_line_to (GF_Path *gp, Fixed x, Fixed y) |
| adds line to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_line_to_vec (GF_Path *gp, GF_Point2D *pt) |
| adds line to path More...
|
|
GF_EXPORT GF_Err | gf_path_close (GF_Path *gp) |
| path close More...
|
|
GF_EXPORT GF_Err | gf_path_add_cubic_to (GF_Path *gp, Fixed c1_x, Fixed c1_y, Fixed c2_x, Fixed c2_y, Fixed x, Fixed y) |
| adds cubic to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_cubic_to_vec (GF_Path *gp, GF_Point2D *c1, GF_Point2D *c2, GF_Point2D *pt) |
| adds cubic to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_quadratic_to (GF_Path *gp, Fixed c_x, Fixed c_y, Fixed x, Fixed y) |
| adds quadratic to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_quadratic_to_vec (GF_Path *gp, GF_Point2D *c, GF_Point2D *pt) |
| adds quadratic to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_rect_center (GF_Path *gp, Fixed cx, Fixed cy, Fixed w, Fixed h) |
| adds rectangle to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_rect (GF_Path *gp, Fixed ox, Fixed oy, Fixed w, Fixed h) |
| adds rectangle to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_ellipse (GF_Path *gp, Fixed cx, Fixed cy, Fixed a_axis, Fixed b_axis) |
| adds ellipse to path More...
|
|
GF_Err | gf_path_add_subpath (GF_Path *gp, GF_Path *src, GF_Matrix2D *mx) |
| concatenates path More...
|
|
static void | NBezier (GF_Point2D *pts, s32 n, Double mu, GF_Point2D *pt_out) |
|
static void | gf_add_n_bezier (GF_Path *gp, GF_Point2D *newpts, u32 nbPoints) |
|
GF_EXPORT GF_Err | gf_path_add_bezier (GF_Path *gp, GF_Point2D *pts, u32 nbPoints) |
| adds N-1 bezier curve to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_arc_to (GF_Path *gp, Fixed end_x, Fixed end_y, Fixed fa_x, Fixed fa_y, Fixed fb_x, Fixed fb_y, Bool cw) |
| adds arc as described in MPEG-4 BIFS to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_svg_arc_to (GF_Path *gp, Fixed end_x, Fixed end_y, Fixed r_x, Fixed r_y, Fixed x_axis_rotation, Bool large_arc_flag, Bool sweep_flag) |
| adds arc as described in SVG to path More...
|
|
GF_EXPORT GF_Err | gf_path_add_arc (GF_Path *gp, Fixed radius, Fixed start_angle, Fixed end_angle, GF_Path2DArcCloseType close_type) |
| adds arc to path More...
|
|
GF_EXPORT GF_Err | gf_path_get_control_bounds (GF_Path *gp, GF_Rect *rc) |
| gets path control bounds More...
|
|
static void | gf_conic_check (Fixed y1, Fixed y2, Fixed y3, Fixed *min, Fixed *max) |
|
static void | gf_cubic_check (Fixed p1, Fixed p2, Fixed p3, Fixed p4, Fixed *min, Fixed *max) |
|
GF_EXPORT GF_Err | gf_path_get_bounds (GF_Path *gp, GF_Rect *rc) |
| gets path bounds More...
|
|
static GF_Err | gf_subdivide_cubic (GF_Path *gp, Fixed x0, Fixed y0, Fixed x1, Fixed y1, Fixed x2, Fixed y2, Fixed x3, Fixed y3, Fixed fineness) |
|
GF_EXPORT GF_Path * | gf_path_get_flatten (GF_Path *gp) |
| gets flatten copy of path More...
|
|
GF_EXPORT void | gf_path_flatten (GF_Path *gp) |
| flattens path More...
|
|
static void | gf_subdivide_cubic_hit_test (Fixed h_x, Fixed h_y, Fixed x0, Fixed y0, Fixed x1, Fixed y1, Fixed x2, Fixed y2, Fixed x3, Fixed y3, s32 *wn) |
|
GF_EXPORT Bool | gf_path_point_over (GF_Path *gp, Fixed x, Fixed y) |
| point over path testing More...
|
|
GF_EXPORT Bool | gf_path_is_empty (GF_Path *gp) |
| path init testing More...
|
|
GF_EXPORT GF_PathIterator * | gf_path_iterator_new (GF_Path *gp) |
| path iterator constructor More...
|
|
GF_EXPORT Fixed | gf_path_iterator_get_length (GF_PathIterator *it) |
| get path length More...
|
|
GF_EXPORT Bool | gf_path_iterator_get_transform (GF_PathIterator *path, Fixed offset, Bool follow_tangent, GF_Matrix2D *mat, Bool smooth_edges, Fixed length_after_point) |
| gets transformation matrix at given point on path More...
|
|
GF_EXPORT void | gf_path_iterator_del (GF_PathIterator *it) |
| path iterator destructor More...
|
|
GF_EXPORT u32 | gf_polygone2d_get_convexity (GF_Point2D *pts, u32 len) |
|