H A D | bezier.c | 43 static INLINE void split_left(struct bezier *bez, VGfloat t, struct bezier* left) argument 45 left->x1 = bez->x1; 46 left->y1 = bez->y1; 48 left->x2 = bez->x1 + t * (bez->x2 - bez->x1); 49 left->y2 = bez->y1 + t * (bez->y2 - bez->y1); 51 left->x3 = bez 67 split(struct bezier *bez, struct bezier *first_half, struct bezier *second_half) argument 92 bezier_to_polygon(struct bezier *bez) argument 100 bezier_add_to_polygon(const struct bezier *bez, struct polygon *poly) argument 134 add_if_close(struct bezier *bez, VGfloat *length, VGfloat error) argument 158 bezier_length(struct bezier *bez, float error) argument 166 bezier_init(struct bezier *bez, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4) argument 187 bezier_init2v(struct bezier *bez, float *pt1, float *pt2, float *pt3, float *pt4) argument 207 bezier_transform(struct bezier *bez, struct matrix *matrix) argument 217 bezier_point_at(const struct bezier *bez, float t, float *pt) argument 232 bezier_normal_at(const struct bezier *bez, float t, float *norm) argument 518 bezier_translate_by_normal(struct bezier *bez, struct bezier *curves, int max_curves, float normal_len, float threshold) argument 580 bezier_bounds(const struct bezier *bez, float *bounds ) argument 620 bezier_start_tangent(const struct bezier *bez, float *tangent) argument 643 bezier_t_at_length(struct bezier *bez, VGfloat at_length, VGfloat error) argument 677 bezier_point_at_length(struct bezier *bez, float length, float *point, float *normal) argument 689 bezier_point_at_t(struct bezier *bez, float t, float *point, float *normal) argument 697 bezier_exact_bounds(const struct bezier *bez, float *bounds ) argument [all...] |