GimpTransformOptions

GimpTransformOptions

Synopsis

struct              GimpTransformOptions;
GtkWidget *         gimp_transform_options_gui          (GimpToolOptions *tool_options);
gboolean            gimp_transform_options_show_preview (GimpTransformOptions *options);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpContext
                     +----GimpToolOptions
                           +----GimpTransformOptions
                                 +----GimpFlipOptions

Implemented Interfaces

GimpTransformOptions implements GimpConfigInterface.

Properties

  "clip"                     GimpTransformResize   : Read / Write / Construct
  "constrain"                gboolean              : Read / Write / Construct
  "direction"                GimpTransformDirection  : Read / Write / Construct
  "grid-size"                gint                  : Read / Write / Construct
  "grid-type"                GimpGuidesType        : Read / Write / Construct
  "interpolation"            GimpInterpolationType  : Read / Write / Construct
  "preview-opacity"          gdouble               : Read / Write / Construct
  "show-preview"             gboolean              : Read / Write / Construct
  "type"                     GimpTransformType     : Read / Write / Construct

Description

Details

struct GimpTransformOptions

struct GimpTransformOptions;


gimp_transform_options_gui ()

GtkWidget *         gimp_transform_options_gui          (GimpToolOptions *tool_options);

Build the Transform Tool Options.

tool_options :

a GimpToolOptions

Returns :

a container holding the transform tool options

gimp_transform_options_show_preview ()

gboolean            gimp_transform_options_show_preview (GimpTransformOptions *options);

Property Details

The "clip" property

  "clip"                     GimpTransformResize   : Read / Write / Construct

How to clip.

Default value: GIMP_TRANSFORM_RESIZE_ADJUST


The "constrain" property

  "constrain"                gboolean              : Read / Write / Construct

Default value: FALSE


The "direction" property

  "direction"                GimpTransformDirection  : Read / Write / Construct

Direction of transformation.

Default value: GIMP_TRANSFORM_FORWARD


The "grid-size" property

  "grid-size"                gint                  : Read / Write / Construct

Size of a grid cell for variable number of composition guides.

Allowed values: [1,128]

Default value: 15


The "grid-type" property

  "grid-type"                GimpGuidesType        : Read / Write / Construct

Composition guides such as rule of thirds.

Default value: GIMP_GUIDES_N_LINES


The "interpolation" property

  "interpolation"            GimpInterpolationType  : Read / Write / Construct

Interpolation method.

Default value: GIMP_INTERPOLATION_LINEAR


The "preview-opacity" property

  "preview-opacity"          gdouble               : Read / Write / Construct

Opacity of the preview image.

Allowed values: [0,1]

Default value: 1


The "show-preview" property

  "show-preview"             gboolean              : Read / Write / Construct

Show a preview of the transformed image.

Default value: TRUE


The "type" property

  "type"                     GimpTransformType     : Read / Write / Construct

Default value: GIMP_TRANSFORM_TYPE_LAYER