Main Page Widgets Namespaces Book

# Pango Namespace Reference

## Classes

class | Pango::Attribute
| The Pango::Attribute structure represents the common portions of all attributes. More...
class | Pango::AttrString
| A Pango::AttrString is used to represent an attribute with a string value. More...
class | Pango::AttrLanguage
| A Pango::AttrLanguage is used to represent an attribute that is a language. More...
class | Pango::AttrColor
| A Pango::AttrColor is used to represent an attribute which is a color. More...
class | Pango::AttrInt
| A Pango::AttrInt is used to represent an attribute with an integer or enumeration value. More...
class | Pango::AttrFloat
| A Pango::AttrFloat is used to represent an attribute with a float or double value. More...
class | Pango::AttrFontDesc
| A Pango::AttrFontDesc is used to represent an attribute that sets all aspects of the font description at once. More...
class | Pango::AttrShape
| A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions. More...
struct | Pango::AttributeTraits
class | Pango::AttrIter
| A Pango::AttrIter is used to represent an iterator through a Pango::AttrList. More...
class | Pango::AttrList
| A Pango::AttrList represents a list of attributes that apply to a section of text. More...
class | Pango::Color
| A Pango::Color is used to represent a color in an uncalibrated RGB colorspace. More...
class | Pango::Context
| A Pango::Context stores global information used to control the itemization process. More...
class | Pango::Coverage
| A Pango::Coverage represents a map from ISO-10646 character point to Pango::CoverageLevel. More...
class | Pango::Font
| A Pango::Font is used to represent a font in a rendering-system-independent matter. More...
class | Pango::FontDescription
| A Pango::FontDescription represents the description of an ideal font. More...
class | Pango::FontFace
| A Pango::FontFace is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. More...
class | Pango::FontFamily
| A Pango::FontFamily is used to represent a family of related font faces. More...
class | Pango::FontMap
| A Pango::FontMap represents the set of fonts available for a particular rendering system. More...
class | Pango::FontMetrics
| A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script). More...
class | Pango::Fontset
| A Pango::Fontset is used to represent a set of fonts. More...
class | Pango::GlyphInfo
| A Pango::GlyphInfo represents a single glyph together with positioning information and visual attributes. More...
class | Pango::GlyphGeometry
| A Pango::GlyphGeometry contains width and positioning information for a single glyph. More...
class | Pango::GlyphString
| A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute information. More...
class | Pango::Analysis
| A Pango::Analysis stores information about the properties of a segment of text. More...
class | Pango::Item
| A Pango::Item stores information about a segment of text. More...
struct | Pango::ItemTraits
class | Pango::Language
| A Pango::Language is used to represent a language. More...
class | Pango::Layout
| A Pango::Layout represents an entire paragraph of text. More...
class | Pango::LayoutIter
| A Pango::LayoutIter can be used to iterate over the visual extents of a Pango::Layout. More...
class | Pango::LayoutLine
| A Pango::LayoutLine represents one of the lines resulting from laying out a paragraph via Pango::Layout. More...
struct | Pango::LayoutLineTraits
class | Pango::LayoutRun
| A Pango::LayoutRun represents a single run within a PangoLayoutLine. More...
class | Pango::Rectangle
| A Pango::Rectangle represents a rectangle. More...
class | Pango::TabArray
| A Pango::TabArray contains an array of tab stops. More...

## Typedefs

typedef PangoLogAttr | LogAttr
| A Pango::LogAttr stores information about the attributes of a single character.
typedef Glib::SListHandle< Attribute, AttributeTraits > | SListHandle_Attribute
typedef PangoGlyph | Glyph
| A Pango::Glyph represents a single glyph in the output form of a string.
typedef PangoGlyphUnit | GlyphUnit
| A Pango::GlyphUnit is used to store dimensions within Pango.
typedef PangoGlyphVisAttr | GlyphVisAttr
| A Pango::GlyphVisAttr is used to communicate information between the shaping phase and the rendering phase.
typedef Glib::ListHandle< Item, ItemTraits > | ListHandle_Item
typedef Glib::SListHandle< Glib::RefPtr<LayoutLine>, LayoutLineTraits > | SListHandle_LayoutLine
typedef Glib::SListHandle< Glib::RefPtr<const LayoutLine>, LayoutLineTraits > | SListHandle_ConstLayoutLine

## Enumerations

enum | AttrType { ATTR_INVALID, ATTR_LANGUAGE, ATTR_FAMILY, ATTR_STYLE, ATTR_WEIGHT, ATTR_VARIANT, ATTR_STRETCH, ATTR_SIZE, ATTR_FONT_DESC, ATTR_FOREGROUND, ATTR_BACKGROUND, ATTR_UNDERLINE, ATTR_STRIKETHROUGH, ATTR_RISE, ATTR_SHAPE, ATTR_SCALE, ATTR_FALLBACK, ATTR_LETTER_SPACING }
| Pango::AttrType distinguishes between different types of attributes. More...
enum | Underline { UNDERLINE_NONE, UNDERLINE_SINGLE, UNDERLINE_DOUBLE, UNDERLINE_LOW, UNDERLINE_ERROR }
| A Pango::Underline is used to specify whether text should be underlined, and if so, the type of underlining. More...
enum | Direction { DIRECTION_LTR, DIRECTION_RTL, DIRECTION_TTB_LTR, DIRECTION_TTB_RTL, DIRECTION_WEAK_LTR, DIRECTION_WEAK_RTL, DIRECTION_NEUTRAL }
enum | CoverageLevel { COVERAGE_NONE, COVERAGE_FALLBACK, COVERAGE_APPROXIMATE, COVERAGE_EXACT }
enum | Style { STYLE_NORMAL, STYLE_OBLIQUE, STYLE_ITALIC }
enum | Variant { VARIANT_NORMAL, VARIANT_SMALL_CAPS }
enum | Stretch { STRETCH_ULTRA_CONDENSED, STRETCH_EXTRA_CONDENSED, STRETCH_CONDENSED, STRETCH_SEMI_CONDENSED, STRETCH_NORMAL, STRETCH_SEMI_EXPANDED, STRETCH_EXPANDED, STRETCH_EXTRA_EXPANDED, STRETCH_ULTRA_EXPANDED }
enum | Weight { WEIGHT_ULTRALIGHT = 200, WEIGHT_LIGHT = 300, WEIGHT_NORMAL = 400, WEIGHT_BOLD = 700, WEIGHT_ULTRABOLD = 800, WEIGHT_HEAVY = 900 }
enum | FontMask { FONT_MASK_FAMILY = 1 << 0, FONT_MASK_STYLE = 1 << 1, FONT_MASK_VARIANT = 1 << 2, FONT_MASK_WEIGHT = 1 << 3, FONT_MASK_STRETCH = 1 << 4, FONT_MASK_SIZE = 1 << 5 }

enum

Script {
SCRIPT_INVALID_CODE = -1,
SCRIPT_COMMON,
SCRIPT_INHERITED,
SCRIPT_ARABIC,
SCRIPT_ARMENIAN,
SCRIPT_BENGALI,
SCRIPT_BOPOMOFO,
SCRIPT_CHEROKEE,
SCRIPT_COPTIC,
SCRIPT_CYRILLIC,
SCRIPT_DESERET,
SCRIPT_DEVANAGARI,
SCRIPT_ETHIOPIC,
SCRIPT_GEORGIAN,
SCRIPT_GOTHIC,
SCRIPT_GREEK,
SCRIPT_GUJARATI,
SCRIPT_GURMUKHI,
SCRIPT_HAN,
SCRIPT_HANGUL,
SCRIPT_HEBREW,
SCRIPT_HIRAGANA,
SCRIPT_KANNADA,
SCRIPT_KATAKANA,
SCRIPT_KHMER,
SCRIPT_LAO,
SCRIPT_LATIN,
SCRIPT_MALAYALAM,
SCRIPT_MONGOLIAN,
SCRIPT_MYANMAR,
SCRIPT_OGHAM,
SCRIPT_OLD_ITALIC,
SCRIPT_ORIYA,
SCRIPT_RUNIC,
SCRIPT_SINHALA,
SCRIPT_SYRIAC,
SCRIPT_TAMIL,
SCRIPT_TELUGU,
SCRIPT_THAANA,
SCRIPT_THAI,
SCRIPT_TIBETAN,
SCRIPT_CANADIAN_ABORIGINAL,
SCRIPT_YI,
SCRIPT_TAGALOG,
SCRIPT_HANUNOO,
SCRIPT_BUHID,
SCRIPT_TAGBANWA,
SCRIPT_BRAILLE,
SCRIPT_CYPRIOT,
SCRIPT_LIMBU,
SCRIPT_OSMANYA,
SCRIPT_SHAVIAN,
SCRIPT_LINEAR_B,
SCRIPT_TAI_LE,
SCRIPT_UGARITIC
}

enum | Alignment { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT }
enum | WrapMode { WRAP_WORD, WRAP_CHAR, WRAP_WORD_CHAR }
enum | EllipsizeMode { ELLIPSIZE_NONE, ELLIPSIZE_START, ELLIPSIZE_MIDDLE, ELLIPSIZE_END }
enum | TabAlign { TAB_LEFT }

## Functions

FontMask | operator| (FontMask lhs, FontMask rhs)
FontMask | operator& (FontMask lhs, FontMask rhs)
FontMask | operator^ (FontMask lhs, FontMask rhs)
FontMask | operator~ (FontMask flags)
FontMask& | operator|= (FontMask& lhs, FontMask rhs)
FontMask& | operator&= (FontMask& lhs, FontMask rhs)
FontMask& | operator^= (FontMask& lhs, FontMask rhs)
void | init ()
| Initialize pangomm.

## Variables

const int | SCALE = 1024
const double | SCALE_XX_SMALL = 0.5787037037037
const double | SCALE_X_SMALL = 0.6444444444444
const double | SCALE_SMALL = 0.8333333333333
const double | SCALE_MEDIUM = 1.0
const double | SCALE_LARGE = 1.2
const double | SCALE_X_LARGE = 1.4399999999999
const double | SCALE_XX_LARGE = 1.728

## Typedef Documentation

typedef PangoGlyph Pango::Glyph

| A Pango::Glyph represents a single glyph in the output form of a string.

typedef PangoGlyphUnit Pango::GlyphUnit

| A Pango::GlyphUnit is used to store dimensions within Pango. Dimensions are stored in 1/64ths of a point.

typedef PangoGlyphVisAttr Pango::GlyphVisAttr

| A Pango::GlyphVisAttr is used to communicate information between the shaping phase and the rendering phase. It's contents are still evolving.

typedef Glib::ListHandle<Item, ItemTraits> Pango::ListHandle_Item

typedef PangoLogAttr Pango::LogAttr

| A Pango::LogAttr stores information about the attributes of a single character.

typedef Glib::SListHandle<Attribute, AttributeTraits> Pango::SListHandle_Attribute

typedef Glib::SListHandle<Glib::RefPtr<const LayoutLine>, LayoutLineTraits> Pango::SListHandle_ConstLayoutLine

typedef Glib::SListHandle<Glib::RefPtr<LayoutLine>, LayoutLineTraits> Pango::SListHandle_LayoutLine

## Function Documentation

void init | ( |  | ) |

| Initialize pangomm. You may call this more than once. You do not need to call this if you are using Gtk::Main, because it calls it for you.

## Variable Documentation

const int Pango::SCALE = 1024

const double Pango::SCALE_LARGE = 1.2

const double Pango::SCALE_MEDIUM = 1.0

const double Pango::SCALE_SMALL = 0.8333333333333

const double Pango::SCALE_X_LARGE = 1.4399999999999

const double Pango::SCALE_X_SMALL = 0.6444444444444

const double Pango::SCALE_XX_LARGE = 1.728

const double Pango::SCALE_XX_SMALL = 0.5787037037037