Method

GimpPathbezier_stroke_conicto

since: 2.4

Declaration [src]

gboolean
gimp_path_bezier_stroke_conicto (
  GimpPath* path,
  gint stroke_id,
  gdouble x0,
  gdouble y0,
  gdouble x1,
  gdouble y1
)

Description [src]

Extends a bezier stroke with a conic bezier spline.

Extends a bezier stroke with a conic bezier spline. Actually a cubic bezier spline gets added that realizes the shape of a conic bezier spline.

Available since: 2.4

Parameters

stroke_id

Type: gint

The stroke ID.

x0

Type: gdouble

The x-coordinate of the control point.

y0

Type: gdouble

The y-coordinate of the control point.

x1

Type: gdouble

The x-coordinate of the end point.

y1

Type: gdouble

The y-coordinate of the end point.

Return value

Type: gboolean

TRUE on success.