Gnome User Interface Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GnomeCanvasText

## Name

GnomeCanvasText --

## Synopsis

    #include <gnome.h>

    struct      GnomeCanvasText;
    struct      GnomeCanvasTextSuckChar;
    struct      GnomeCanvasTextSuckFont;

## Object Hierarchy

      GtkObject
       +----GnomeCanvasItem
             +----GnomeCanvasText

## Args

      "text"                 gchar*               : Read / Write
      "x"                    gdouble              : Read / Write
      "y"                    gdouble              : Read / Write
      "font"                 gchar*               : Write
      "fontset"              gchar*               : Write
      "font_gdk"             GdkFont              : Read / Write
      "anchor"               GtkAnchorType        : Read / Write
      "justification"        GtkJustification     : Read / Write
      "clip_width"           gdouble              : Read / Write
      "clip_height"          gdouble              : Read / Write
      "clip"                 gboolean             : Read / Write
      "x_offset"             gdouble              : Read / Write
      "y_offset"             gdouble              : Read / Write
      "fill_color"           gchar*               : Write
      "fill_color_gdk"       GdkColor             : Read / Write
      "fill_color_rgba"      guint                : Read / Write
      "fill_stipple"         GdkWindow            : Read / Write
      "text_width"           gdouble              : Read
      "text_height"          gdouble              : Read

## Description

## Details

### struct GnomeCanvasText

    struct GnomeCanvasText;

### struct GnomeCanvasTextSuckChar

    struct GnomeCanvasTextSuckChar {
    	int     left_sb;
    	int     right_sb;
    	int     width;
    	int     ascent;
    	int     descent;
    	int     bitmap_offset; /* in pixels */
    };

### struct GnomeCanvasTextSuckFont

    struct GnomeCanvasTextSuckFont {
    	guchar *bitmap;
    	gint    bitmap_width;
    	gint    bitmap_height;
    	gint    ascent;
    	GnomeCanvasTextSuckChar chars[256];
    };

## Args

"`text`" (gchar* : Read / Write)

"`x`" (gdouble : Read / Write)

"`y`" (gdouble : Read / Write)

"`font`" (gchar* : Write)

"`fontset`" (gchar* : Write)

"`font_gdk`" (GdkFont : Read / Write)

"`anchor`" (GtkAnchorType : Read / Write)

"`justification`" (GtkJustification : Read / Write)

"`clip_width`" (gdouble : Read / Write)

"`clip_height`" (gdouble : Read / Write)

"`clip`" (gboolean : Read / Write)

"`x_offset`" (gdouble : Read / Write)

"`y_offset`" (gdouble : Read / Write)

"`fill_color`" (gchar* : Write)

"`fill_color_gdk`" (GdkColor : Read / Write)

"`fill_color_rgba`" (guint : Read / Write)

"`fill_stipple`" (GdkWindow : Read / Write)

"`text_width`" (gdouble : Read)

"`text_height`" (gdouble : Read)

<<< Previous Page | Home | Up | Next Page >>>
GnomeCanvasEllipse | GnomeCanvasImage