HippoCanvasStyle

HippoCanvasStyle

Synopsis


#include <hippo/hippo-canvas-style.h>


                    HippoCanvasStyle;
#define             HIPPO_CANVAS_DEFAULT_COLOR
#define             HIPPO_CANVAS_DEFAULT_BACKGROUND_COLOR
void                hippo_canvas_style_affect_color     (HippoCanvasStyle *style,
                                                         guint32 *color_rgba_p);
void                hippo_canvas_style_affect_font_desc (HippoCanvasStyle *style,
                                                         PangoFontDescription *font_desc);

Object Hierarchy


  GObject
   +----HippoCanvasStyle

Properties


  "color"                    guint                 : Read / Write
  "color-set"                gboolean              : Read / Write
  "font"                     gchararray            : Read / Write
  "font-desc"                PangoFontDescription  : Read / Write

Description

Details

HippoCanvasStyle

typedef struct _HippoCanvasStyle HippoCanvasStyle;


HIPPO_CANVAS_DEFAULT_COLOR

#define HIPPO_CANVAS_DEFAULT_COLOR 0x000000ff


HIPPO_CANVAS_DEFAULT_BACKGROUND_COLOR

#define HIPPO_CANVAS_DEFAULT_BACKGROUND_COLOR 0xffffff00


hippo_canvas_style_affect_color ()

void                hippo_canvas_style_affect_color     (HippoCanvasStyle *style,
                                                         guint32 *color_rgba_p);

style :
color_rgba_p :

hippo_canvas_style_affect_font_desc ()

void                hippo_canvas_style_affect_font_desc (HippoCanvasStyle *style,
                                                         PangoFontDescription *font_desc);

style :
font_desc :

Property Details

The "color" property

  "color"                    guint                 : Read / Write

32-bit RGBA foreground color.

Default value: 255


The "color-set" property

  "color-set"                gboolean              : Read / Write

Whether a foreground color was set.

Default value: FALSE


The "font" property

  "font"                     gchararray            : Read / Write

Font description as a string.

Default value: NULL


The "font-desc" property

  "font-desc"                PangoFontDescription  : Read / Write

Font description as a PangoFontDescription object.