GimpText

GimpText

Synopsis

                    GimpText;
void                gimp_text_get_transformation        (GimpText *text,
                                                         GimpMatrix3 *matrix);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpText

Implemented Interfaces

GimpText implements GimpConfigInterface.

Properties

  "antialias"                gboolean              : Read / Write / Construct
  "base-direction"           GimpTextDirection     : Read / Write / Construct
  "border"                   gint                  : Write / Construct
  "box-height"               gdouble               : Read / Write / Construct
  "box-mode"                 GimpTextBoxMode       : Read / Write / Construct
  "box-unit"                 GimpUnit              : Read / Write / Construct
  "box-width"                gdouble               : Read / Write / Construct
  "color"                    GimpRGB*              : Read / Write / Construct
  "font"                     gchar*                : Read / Write / Construct
  "font-size"                gdouble               : Read / Write / Construct
  "font-size-unit"           GimpUnit              : Read / Write / Construct
  "hint-style"               GimpTextHintStyle     : Read / Write / Construct
  "hinting"                  gboolean              : Read / Write / Construct
  "indent"                   gdouble               : Read / Write / Construct
  "justify"                  GimpTextJustification  : Read / Write / Construct
  "kerning"                  gboolean              : Read / Write / Construct
  "language"                 gchar*                : Read / Write / Construct
  "letter-spacing"           gdouble               : Read / Write / Construct
  "line-spacing"             gdouble               : Read / Write / Construct
  "markup"                   gchar*                : Read / Write / Construct
  "offset-x"                 gdouble               : Read / Write / Construct
  "offset-y"                 gdouble               : Read / Write / Construct
  "outline"                  GimpTextOutline       : Read / Write / Construct
  "text"                     gchar*                : Read / Write / Construct
  "transformation"           GimpMatrix2*          : Read / Write / Construct

Signals

  "changed"                                        : Run First

Description

Details

GimpText

typedef struct _GimpText GimpText;


gimp_text_get_transformation ()

void                gimp_text_get_transformation        (GimpText *text,
                                                         GimpMatrix3 *matrix);

Property Details

The "antialias" property

  "antialias"                gboolean              : Read / Write / Construct

Default value: TRUE


The "base-direction" property

  "base-direction"           GimpTextDirection     : Read / Write / Construct

Default value: GIMP_TEXT_DIRECTION_LTR


The "border" property

  "border"                   gint                  : Write / Construct

Allowed values: [0,262144]

Default value: 0


The "box-height" property

  "box-height"               gdouble               : Read / Write / Construct

Allowed values: [0,262144]

Default value: 0


The "box-mode" property

  "box-mode"                 GimpTextBoxMode       : Read / Write / Construct

Default value: GIMP_TEXT_BOX_DYNAMIC


The "box-unit" property

  "box-unit"                 GimpUnit              : Read / Write / Construct

Allowed values: [0,65535]

Default value: 0


The "box-width" property

  "box-width"                gdouble               : Read / Write / Construct

Allowed values: [0,262144]

Default value: 0


The "color" property

  "color"                    GimpRGB*              : Read / Write / Construct


The "font" property

  "font"                     gchar*                : Read / Write / Construct

Default value: "Sans"


The "font-size" property

  "font-size"                gdouble               : Read / Write / Construct

Allowed values: [0,8192]

Default value: 24


The "font-size-unit" property

  "font-size-unit"           GimpUnit              : Read / Write / Construct

Allowed values: [0,65535]

Default value: 0


The "hint-style" property

  "hint-style"               GimpTextHintStyle     : Read / Write / Construct

Default value: GIMP_TEXT_HINT_STYLE_MEDIUM


The "hinting" property

  "hinting"                  gboolean              : Read / Write / Construct

Default value: TRUE


The "indent" property

  "indent"                   gdouble               : Read / Write / Construct

Allowed values: [-8192,8192]

Default value: 0


The "justify" property

  "justify"                  GimpTextJustification  : Read / Write / Construct

Default value: GIMP_TEXT_JUSTIFY_LEFT


The "kerning" property

  "kerning"                  gboolean              : Read / Write / Construct

Default value: FALSE


The "language" property

  "language"                 gchar*                : Read / Write / Construct

Default value: "C"


The "letter-spacing" property

  "letter-spacing"           gdouble               : Read / Write / Construct

Allowed values: [-8192,8192]

Default value: 0


The "line-spacing" property

  "line-spacing"             gdouble               : Read / Write / Construct

Allowed values: [-8192,8192]

Default value: 0


The "markup" property

  "markup"                   gchar*                : Read / Write / Construct

Default value: NULL


The "offset-x" property

  "offset-x"                 gdouble               : Read / Write / Construct

Default value: 0


The "offset-y" property

  "offset-y"                 gdouble               : Read / Write / Construct

Default value: 0


The "outline" property

  "outline"                  GimpTextOutline       : Read / Write / Construct

Default value: GIMP_TEXT_OUTLINE_NONE


The "text" property

  "text"                     gchar*                : Read / Write / Construct

Default value: NULL


The "transformation" property

  "transformation"           GimpMatrix2*          : Read / Write / Construct

Signal Details

The "changed" signal

void                user_function                      (GimpText *gimptext,
                                                        gpointer  user_data)      : Run First

gimptext :

the object which received the signal.

user_data :

user data set when the signal handler was connected.