GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

attributes.hh File Reference

A PangoAttibute C++ wrapper interface. More...

#include <gfc/object.hh>
#include <gfc/pango/font.hh>
#include <pango/pango-attributes.h>
#include <gdk/gdkpango.h>
#include <vector>
#include <gfc/pango/inline/attributes.inl>

Go to the source code of this file.

Namespaces

Classes

Enumerations


Detailed Description

A PangoAttibute C++ wrapper interface.

Provides Attribute and its derived classes, a group a classes that distinguish between different types of pango attributes.


Enumeration Type Documentation

enum AttrType
 

Distinguishes between different types of attributes.

Along with the predefined values, it is possible to allocate additional values for custom attributes using pango_attr_register_type(). The predefined values are given below. The type of class used to store the attribute is listed in parentheses after the description.

Enumeration values:
ATTR_INVALID  Invalid.
ATTR_LANGUAGE  Language (AttrLanguage).
ATTR_FAMILY  Font family name list (AttrString).
ATTR_STYLE  Font slant style (AttrInt).
ATTR_WEIGHT  Font weight (AttrInt).
ATTR_VARIANT  Font variant (normal or small caps) (AttrInt).
ATTR_STRETCH  Font stretch (AttrInt).
ATTR_SIZE  Font size in points divided by PANGO_SCALE (AttrInt).
ATTR_FONT_DESC  Font description (AttrFontDesc).
ATTR_FOREGROUND  Foreground color (AttrColor).
ATTR_BACKGROUND  Background color (AttrColor).
ATTR_UNDERLINE  Whether the text has an underline (AttrInt).
ATTR_STRIKETHROUGH  Whether the text is struck-through (AttrInt).
ATTR_RISE  Baseline displacement (AttrInt).
ATTR_SHAPE  Shape (AttrShape).
ATTR_SCALE  Font size scale factor (AttrScale).
ATTR_FALLBACK  Whether fallback is enabled (AttrInt).

enum Underline
 

Underline is used to specify whether text should be underlined, and if so, the type of underlining.

Enumeration values:
UNDERLINE_NONE  No underline should be drawn.
UNDERLINE_SINGLE  A single underline should be drawn.
UNDERLINE_DOUBLE  A double underline should be drawn.
UNDERLINE_LOW  A single underline should be drawn at a position beneath the ink extents of the text being underlined; this should be used only for underlining single characters, such as for keyboard accelerators; UNDERLINE_SINGLE should be used for extended portions of text.
UNDERLINE_ERROR  A wavy underline should be drawn below; this underline is typically used to indicate an error such as a possilble mispelling; in some cases an contrasting color may automatically be used.


Generated on Tue Aug 24 00:34:33 2004 for GFC-UI by doxygen 1.3.8