Commit 966d58c5 authored by Simon Budig's avatar Simon Budig Committed by Simon Budig

Implemented gimp_bezier_stroke_arcto () that creates an elliptical arc in

2003-09-11  Simon Budig  <simon@gimp.org>

	* vectors/gimpbezierstroke.[ch]: Implemented
	gimp_bezier_stroke_arcto () that creates an elliptical arc
	in the way SVG works.

	* vectors/gimpvectors-import.c: use it.
parent 1345a6d0
......@@ -65,6 +65,13 @@ void gimp_bezier_stroke_cubicto (GimpStroke *bez_stroke,
const GimpCoords *control1,
const GimpCoords *control2,
const GimpCoords *end);
void gimp_bezier_stroke_arcto (GimpStroke *bez_stroke,
const gdouble radius_x,
const gdouble radius_y,
const gdouble angle_rad,
const gboolean large_arc,
const gboolean sweep,
const GimpCoords *end);
GimpAnchor * gimp_bezier_stroke_extend (GimpStroke *stroke,
const GimpCoords *coords,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment