Home | History | Annotate | Download | only in vega

Lines Matching refs:bezier

27 #include "bezier.h"
43 static INLINE void split_left(struct bezier *bez, VGfloat t, struct bezier* left)
67 static INLINE void split(struct bezier *bez,
68 struct bezier *first_half,
69 struct bezier *second_half)
92 struct polygon * bezier_to_polygon(struct bezier *bez)
100 void bezier_add_to_polygon(const struct bezier *bez,
103 struct bezier beziers[32];
104 struct bezier *b;
127 /* split, second half of the bezier goes lower into the stack */
134 static void add_if_close(struct bezier *bez, VGfloat *length, VGfloat error)
136 struct bezier left, right; /* bez poly splits */
158 float bezier_length(struct bezier *bez, float error)
166 void bezier_init(struct bezier *bez,
181 debug_printf("bezier in [%f, %f, %f, %f, %f, %f]\n",
187 static INLINE void bezier_init2v(struct bezier *bez,
207 void bezier_transform(struct bezier *bez,
217 static INLINE void bezier_point_at(const struct bezier *bez, float t, float *pt)
232 static INLINE void bezier_normal_at(const struct bezier *bez, float t, float *norm)
250 static enum shift_result good_offset(const struct bezier *b1,
251 const struct bezier *b2,
330 static enum shift_result shift(const struct bezier *orig,
331 struct bezier *shifted,
443 static VGboolean make_circle(const struct bezier *b, float offset, struct bezier *o)
518 int bezier_translate_by_normal(struct bezier *bez,
519 struct bezier *curves,
524 struct bezier beziers[10];
525 struct bezier *b, *o;
580 void bezier_bounds(const struct bezier *bez,
620 void bezier_start_tangent(const struct bezier *bez,
643 static INLINE VGfloat bezier_t_at_length(struct bezier *bez,
659 struct bezier right = *bez;
660 struct bezier left;
677 void bezier_point_at_length(struct bezier *bez,
689 void bezier_point_at_t(struct bezier *bez, float t,
697 void bezier_exact_bounds(const struct bezier *bez,