GimpVectorTool

GimpVectorTool

Synopsis

struct              GimpVectorTool;
enum                GimpVectorFunction;
void                gimp_vector_tool_register           (GimpToolRegisterCallback callback,
                                                         gpointer data);
void                gimp_vector_tool_set_vectors        (GimpVectorTool *vector_tool,
                                                         GimpVectors *vectors);
#define             GIMP_VECTOR_TOOL_GET_OPTIONS        (t)

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpTool
               +----GimpDrawTool
                     +----GimpVectorTool

Implemented Interfaces

GimpVectorTool implements GimpProgressInterface.

Description

Details

struct GimpVectorTool

struct GimpVectorTool;


enum GimpVectorFunction

typedef enum {
  VECTORS_SELECT_VECTOR,
  VECTORS_CREATE_VECTOR,
  VECTORS_CREATE_STROKE,
  VECTORS_ADD_ANCHOR,
  VECTORS_MOVE_ANCHOR,
  VECTORS_MOVE_ANCHORSET,
  VECTORS_MOVE_HANDLE,
  VECTORS_MOVE_CURVE,
  VECTORS_MOVE_STROKE,
  VECTORS_MOVE_VECTORS,
  VECTORS_INSERT_ANCHOR,
  VECTORS_DELETE_ANCHOR,
  VECTORS_CONNECT_STROKES,
  VECTORS_DELETE_SEGMENT,
  VECTORS_CONVERT_EDGE,
  VECTORS_FINISHED
} GimpVectorFunction;

VECTORS_SELECT_VECTOR

VECTORS_CREATE_VECTOR

VECTORS_CREATE_STROKE

VECTORS_ADD_ANCHOR

VECTORS_MOVE_ANCHOR

VECTORS_MOVE_ANCHORSET

VECTORS_MOVE_HANDLE

VECTORS_MOVE_CURVE

VECTORS_MOVE_STROKE

VECTORS_MOVE_VECTORS

VECTORS_INSERT_ANCHOR

VECTORS_DELETE_ANCHOR

VECTORS_CONNECT_STROKES

VECTORS_DELETE_SEGMENT

VECTORS_CONVERT_EDGE

VECTORS_FINISHED


gimp_vector_tool_register ()

void                gimp_vector_tool_register           (GimpToolRegisterCallback callback,
                                                         gpointer data);


gimp_vector_tool_set_vectors ()

void                gimp_vector_tool_set_vectors        (GimpVectorTool *vector_tool,
                                                         GimpVectors *vectors);


GIMP_VECTOR_TOOL_GET_OPTIONS()

#define GIMP_VECTOR_TOOL_GET_OPTIONS(t)  (GIMP_VECTOR_OPTIONS (gimp_tool_get_options (GIMP_TOOL (t))))