Method

GimpPathbezier_stroke_new_ellipse

since: 2.4

Declaration [src]

gint
gimp_path_bezier_stroke_new_ellipse (
  GimpPath* path,
  gdouble x0,
  gdouble y0,
  gdouble radius_x,
  gdouble radius_y,
  gdouble angle
)

Description [src]

Adds a bezier stroke describing an ellipse the path object.

Adds a bezier stroke describing an ellipse on the path object.

Available since: 2.4

Parameters

x0

Type: gdouble

The x-coordinate of the center.

y0

Type: gdouble

The y-coordinate of the center.

radius_x

Type: gdouble

The radius in x direction.

radius_y

Type: gdouble

The radius in y direction.

angle

Type: gdouble

The angle the x-axis of the ellipse (radians, counterclockwise).

Return value

Type: gint

The resulting stroke.