GimpBezierStroke

GimpBezierStroke

Synopsis

                    GimpBezierStroke;
GimpStroke *        gimp_bezier_stroke_new              (void);
GimpStroke *        gimp_bezier_stroke_new_from_coords  (const GimpCoords *coords,
                                                         gint n_coords,
                                                         gboolean closed);
GimpAnchor *        gimp_bezier_stroke_extend           (GimpStroke *stroke,
                                                         const GimpCoords *coords,
                                                         GimpAnchor *neighbor,
                                                         GimpVectorExtendMode extend_mode);
GimpStroke *        gimp_bezier_stroke_new_moveto       (const GimpCoords *start);
void                gimp_bezier_stroke_lineto           (GimpStroke *bez_stroke,
                                                         const GimpCoords *end);
void                gimp_bezier_stroke_conicto          (GimpStroke *bez_stroke,
                                                         const GimpCoords *control,
                                                         const GimpCoords *end);
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,
                                                         gdouble radius_x,
                                                         gdouble radius_y,
                                                         gdouble angle_rad,
                                                         gboolean large_arc,
                                                         gboolean sweep,
                                                         const GimpCoords *end);
GimpStroke *        gimp_bezier_stroke_new_ellipse      (const GimpCoords *center,
                                                         gdouble radius_x,
                                                         gdouble radius_y,
                                                         gdouble angle);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpStroke
               +----GimpBezierStroke

Description

Details

GimpBezierStroke

typedef struct _GimpBezierStroke GimpBezierStroke;


gimp_bezier_stroke_new ()

GimpStroke *        gimp_bezier_stroke_new              (void);


gimp_bezier_stroke_new_from_coords ()

GimpStroke *        gimp_bezier_stroke_new_from_coords  (const GimpCoords *coords,
                                                         gint n_coords,
                                                         gboolean closed);


gimp_bezier_stroke_extend ()

GimpAnchor *        gimp_bezier_stroke_extend           (GimpStroke *stroke,
                                                         const GimpCoords *coords,
                                                         GimpAnchor *neighbor,
                                                         GimpVectorExtendMode extend_mode);


gimp_bezier_stroke_new_moveto ()

GimpStroke *        gimp_bezier_stroke_new_moveto       (const GimpCoords *start);


gimp_bezier_stroke_lineto ()

void                gimp_bezier_stroke_lineto           (GimpStroke *bez_stroke,
                                                         const GimpCoords *end);


gimp_bezier_stroke_conicto ()

void                gimp_bezier_stroke_conicto          (GimpStroke *bez_stroke,
                                                         const GimpCoords *control,
                                                         const GimpCoords *end);


gimp_bezier_stroke_cubicto ()

void                gimp_bezier_stroke_cubicto          (GimpStroke *bez_stroke,
                                                         const GimpCoords *control1,
                                                         const GimpCoords *control2,
                                                         const GimpCoords *end);


gimp_bezier_stroke_arcto ()

void                gimp_bezier_stroke_arcto            (GimpStroke *bez_stroke,
                                                         gdouble radius_x,
                                                         gdouble radius_y,
                                                         gdouble angle_rad,
                                                         gboolean large_arc,
                                                         gboolean sweep,
                                                         const GimpCoords *end);


gimp_bezier_stroke_new_ellipse ()

GimpStroke *        gimp_bezier_stroke_new_ellipse      (const GimpCoords *center,
                                                         gdouble radius_x,
                                                         gdouble radius_y,
                                                         gdouble angle);