Lines Matching refs:cb
451 void (*move)(struct arc_cb *cb, VGfloat x, VGfloat y);
452 void (*point)(struct arc_cb *cb, VGfloat x, VGfloat y);
453 void (*bezier)(struct arc_cb *cb, struct bezier *bezier);
458 static void cb_null_move(struct arc_cb *cb, VGfloat x, VGfloat y) in cb_null_move() argument
462 static void polygon_point(struct arc_cb *cb, VGfloat x, VGfloat y) in polygon_point() argument
464 struct polygon *poly = (struct polygon*)cb->user_data; in polygon_point()
468 static void polygon_bezier(struct arc_cb *cb, struct bezier *bezier) in polygon_bezier() argument
470 struct polygon *poly = (struct polygon*)cb->user_data; in polygon_bezier()
474 static void stroke_point(struct arc_cb *cb, VGfloat x, VGfloat y) in stroke_point() argument
476 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_point()
480 static void stroke_curve(struct arc_cb *cb, struct bezier *bezier) in stroke_curve() argument
482 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_curve()
489 static void stroke_emit_point(struct arc_cb *cb, VGfloat x, VGfloat y) in stroke_emit_point() argument
491 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_emit_point()
495 static void stroke_emit_curve(struct arc_cb *cb, struct bezier *bezier) in stroke_emit_curve() argument
497 struct stroker *stroker = (struct stroker*)cb->user_data; in stroke_emit_curve()
504 static void arc_path_move(struct arc_cb *cb, VGfloat x, VGfloat y) in arc_path_move() argument
506 struct path *path = (struct path*)cb->user_data; in arc_path_move()
510 static void arc_path_point(struct arc_cb *cb, VGfloat x, VGfloat y) in arc_path_point() argument
512 struct path *path = (struct path*)cb->user_data; in arc_path_point()
516 static void arc_path_bezier(struct arc_cb *cb, struct bezier *bezier) in arc_path_bezier() argument
518 struct path *path = (struct path*)cb->user_data; in arc_path_bezier()
554 struct arc_cb cb, in arc_to_beziers() argument
568 cb.move(&cb, x, y); in arc_to_beziers()
575 cb.point(&cb, x, y); in arc_to_beziers()
603 cb.point(&cb, x, y); in arc_to_beziers()
648 cb.bezier(&cb, &bezier); in arc_to_beziers()
659 struct arc_cb cb; in arc_add_to_polygon() local
661 cb.move = cb_null_move; in arc_add_to_polygon()
662 cb.point = polygon_point; in arc_add_to_polygon()
663 cb.bezier = polygon_bezier; in arc_add_to_polygon()
664 cb.user_data = poly; in arc_add_to_polygon()
666 arc_to_beziers(arc, cb, matrix); in arc_add_to_polygon()
673 struct arc_cb cb; in arc_stroke_cb() local
675 cb.move = cb_null_move; in arc_stroke_cb()
676 cb.point = stroke_point; in arc_stroke_cb()
677 cb.bezier = stroke_curve; in arc_stroke_cb()
678 cb.user_data = stroke; in arc_stroke_cb()
680 arc_to_beziers(arc, cb, matrix); in arc_stroke_cb()
687 struct arc_cb cb; in arc_stroker_emit() local
689 cb.move = cb_null_move; in arc_stroker_emit()
690 cb.point = stroke_emit_point; in arc_stroker_emit()
691 cb.bezier = stroke_emit_curve; in arc_stroker_emit()
692 cb.user_data = stroker; in arc_stroker_emit()
694 arc_to_beziers(arc, cb, matrix); in arc_stroker_emit()
701 struct arc_cb cb; in arc_to_path() local
703 cb.move = arc_path_move; in arc_to_path()
704 cb.point = arc_path_point; in arc_to_path()
705 cb.bezier = arc_path_bezier; in arc_to_path()
706 cb.user_data = path; in arc_to_path()
708 arc_to_beziers(arc, cb, matrix); in arc_to_path()