GimpAnchor

GimpAnchor

Synopsis

                    GimpAnchor;
#define             GIMP_ANCHOR                         (anchor)
#define             GIMP_VALUE_HOLDS_ANCHOR             (value)
GimpAnchor *        gimp_anchor_new                     (GimpAnchorType type,
                                                         const GimpCoords *position);
GimpAnchor *        gimp_anchor_copy                    (const GimpAnchor *anchor);
void                gimp_anchor_free                    (GimpAnchor *anchor);

Object Hierarchy

  GBoxed
   +----GimpAnchor

Description

Details

GimpAnchor

typedef struct {
  GimpCoords        position;

  GimpAnchorType    type;   /* Interpretation dependant on GimpStroke type */
  gboolean          selected;
} GimpAnchor;


GIMP_ANCHOR()

#define GIMP_ANCHOR(anchor)  ((GimpAnchor *) (anchor))


GIMP_VALUE_HOLDS_ANCHOR()

#define GIMP_VALUE_HOLDS_ANCHOR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), GIMP_TYPE_ANCHOR))


gimp_anchor_new ()

GimpAnchor *        gimp_anchor_new                     (GimpAnchorType type,
                                                         const GimpCoords *position);


gimp_anchor_copy ()

GimpAnchor *        gimp_anchor_copy                    (const GimpAnchor *anchor);


gimp_anchor_free ()

void                gimp_anchor_free                    (GimpAnchor *anchor);