GimpTransformTool

GimpTransformTool

Synopsis

                    GimpTransformTool;
enum                TransformAction;
typedef             TransInfo;
#define             TRANS_INFO_SIZE
#define             GIMP_TRANSFORM_TOOL_GET_OPTIONS     (t)
void                gimp_transform_tool_recalc_matrix   (GimpTransformTool *tr_tool);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpTool
               +----GimpDrawTool
                     +----GimpTransformTool
                           +----GimpFlipTool
                           +----GimpPerspectiveTool
                           +----GimpRotateTool
                           +----GimpScaleTool
                           +----GimpShearTool

Implemented Interfaces

GimpTransformTool implements GimpProgressInterface.

Description

Details

GimpTransformTool

typedef struct _GimpTransformTool GimpTransformTool;


enum TransformAction

typedef enum {
  TRANSFORM_CREATING,
  TRANSFORM_HANDLE_NONE,
  TRANSFORM_HANDLE_NW, /* north west */
  TRANSFORM_HANDLE_NE, /* north east */
  TRANSFORM_HANDLE_SW, /* south west */
  TRANSFORM_HANDLE_SE, /* south east */
  TRANSFORM_HANDLE_N,  /* north      */
  TRANSFORM_HANDLE_S,  /* south      */
  TRANSFORM_HANDLE_E,  /* east       */
  TRANSFORM_HANDLE_W,  /* west       */
  TRANSFORM_HANDLE_CENTER
} TransformAction;

TRANSFORM_CREATING

TRANSFORM_HANDLE_NONE

TRANSFORM_HANDLE_NW

TRANSFORM_HANDLE_NE

TRANSFORM_HANDLE_SW

TRANSFORM_HANDLE_SE

TRANSFORM_HANDLE_N

TRANSFORM_HANDLE_S

TRANSFORM_HANDLE_E

TRANSFORM_HANDLE_W

TRANSFORM_HANDLE_CENTER


TransInfo

typedef gdouble TransInfo[TRANS_INFO_SIZE];


TRANS_INFO_SIZE

#define TRANS_INFO_SIZE  8


GIMP_TRANSFORM_TOOL_GET_OPTIONS()

#define GIMP_TRANSFORM_TOOL_GET_OPTIONS(t)  (GIMP_TRANSFORM_OPTIONS (gimp_tool_get_options (GIMP_TOOL (t))))


gimp_transform_tool_recalc_matrix ()

void                gimp_transform_tool_recalc_matrix   (GimpTransformTool *tr_tool);