pangomm 2.46.3
|
Classes | |
class | Analysis |
A Pango::Analysis stores information about the properties of a segment of text. More... | |
class | AttrColor |
A Pango::AttrColor is used to represent an attribute which is a color. More... | |
class | AttrFloat |
A Pango::AttrFloat is used to represent an attribute with a float or double value. More... | |
class | AttrFontDesc |
A Pango::AttrFontDesc is used to represent an attribute that sets all aspects of the font description at once. More... | |
class | Attribute |
The Pango::Attribute structure represents the common portions of all attributes. More... | |
struct | AttributeTraits |
class | AttrInt |
A Pango::AttrInt is used to represent an attribute with an integer or enumeration value. More... | |
class | AttrIter |
A Pango::AttrIter is used to represent an iterator through a Pango::AttrList. More... | |
class | AttrLanguage |
A Pango::AttrLanguage is used to represent an attribute that is a language. More... | |
class | AttrList |
A Pango::AttrList represents a list of attributes that apply to a section of text. More... | |
class | AttrShape |
A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions. More... | |
class | AttrString |
A Pango::AttrString is used to represent an attribute with a string value. More... | |
class | CairoFontMap |
A Pango::CairoFontMap represents the set of fonts available for a particular rendering system. More... | |
class | Color |
A Pango::Color is used to represent a color in an uncalibrated RGB colorspace. More... | |
class | Context |
A Pango::Context stores global information used to control the itemization process. More... | |
class | Coverage |
A Pango::Coverage represents a map from ISO-10646 character point to Pango::CoverageLevel. More... | |
class | Font |
A Pango::Font is used to represent a font in a rendering-system-independent matter. More... | |
class | FontDescription |
A Pango::FontDescription represents the description of an ideal font. More... | |
class | FontFace |
A Pango::FontFace is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. More... | |
class | FontFamily |
A Pango::FontFamily is used to represent a family of related font faces. More... | |
class | FontMap |
A Pango::FontMap represents the set of fonts available for a particular rendering system. More... | |
class | FontMetrics |
A Pango::FontMetrics holds the overall metric information for a font (possibly restricted to a script). More... | |
class | Fontset |
A Pango::Fontset is used to represent a set of fonts. More... | |
class | GlyphGeometry |
A Pango::GlyphGeometry contains width and positioning information for a single glyph. More... | |
class | GlyphInfo |
A Pango::GlyphInfo represents a single glyph together with positioning information and visual attributes. More... | |
class | GlyphString |
A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute information. More... | |
class | Item |
A Pango::Item stores information about a segment of text. More... | |
struct | ItemTraits |
class | Language |
A Pango::Language is used to represent a language. More... | |
class | Layout |
A Pango::Layout represents an entire paragraph of text. More... | |
class | LayoutIter |
A Pango::LayoutIter can be used to iterate over the visual extents of a Pango::Layout. More... | |
class | LayoutLine |
A Pango::LayoutLine represents one of the lines resulting from laying out a paragraph via Pango::Layout. More... | |
struct | LayoutLineTraits |
class | LayoutRun |
A Pango::LayoutRun represents a single run within a LayoutLine. More... | |
class | Rectangle |
A Pango::Rectangle represents a rectangle. More... | |
class | Renderer |
Pango::Renderer is a base class that contains the necessary logic for rendering a Pango::Layout or Pango::LayoutLine. More... | |
class | TabArray |
A Pango::TabArray contains an array of tab stops. More... | |
Typedefs | |
typedef PangoMatrix | Matrix |
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 |
typedef LayoutRun | GlyphItem |
A Pango::GlyphItem is a pair of a Pango::Items and the glyphs resulting from shaping the text corresponding to an item. | |
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 PangoGlyph Pango::Glyph |
A Pango::Glyph represents a single glyph in the output form of a string.
typedef LayoutRun Pango::GlyphItem |
A Pango::GlyphItem is a pair of a Pango::Items and the glyphs resulting from shaping the text corresponding to an item.
As an example of the usage of Pango::GlyphItem, the results of shaping text with Pango::Layout is a list of Pango::LayoutLine, each of which contains a list of Pango::GlyphItem.
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 PangoMatrix Pango::Matrix |
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 |
enum Pango::Alignment |
enum Pango::AttrType |
Enumerator | |
---|---|
ATTR_INVALID | Pango::AttrType distinguishes between different types of attributes. Along with the predefined values, it is possible to allocate additional values for custom attributes using Pango::Attribute::register_type(). The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description. Does not happen. |
ATTR_LANGUAGE | |
ATTR_FAMILY | Font family name list (Pango::AttrString). |
ATTR_STYLE | Font slant style (Pango::AttrInt). |
ATTR_WEIGHT | Font weight (Pango::AttrInt). |
ATTR_VARIANT | Font variant (normal or small caps) (Pango::AttrInt). |
ATTR_STRETCH | Font stretch (Pango::AttrInt). |
ATTR_SIZE | Font size in points scaled by Pango::SCALE (Pango::AttrInt). |
ATTR_FONT_DESC | Font description (Pango::AttrFontDesc). |
ATTR_FOREGROUND | Foreground color (Pango::AttrColor). |
ATTR_BACKGROUND | Background color (Pango::AttrColor). |
ATTR_UNDERLINE | Whether the text has an underline (Pango::AttrInt). |
ATTR_STRIKETHROUGH | Whether the text is struck-through (Pango::AttrInt). |
ATTR_RISE | Baseline displacement (Pango::AttrInt). |
ATTR_SHAPE | Shape (Pango::AttrShape). |
ATTR_SCALE | Font size scale factor (Pango::AttrFloat). |
ATTR_FALLBACK | Whether fallback is enabled (Pango::AttrInt). |
ATTR_LETTER_SPACING | Letter spacing (Pango::AttrInt). |
ATTR_UNDERLINE_COLOR | Underline color (Pango::AttrColor). |
ATTR_STRIKETHROUGH_COLOR | Strikethrough color (Pango::AttrColor). |
ATTR_ABSOLUTE_SIZE | Font size in pixels scaled by Pango::SCALE (Pango::AttrInt). |
ATTR_GRAVITY | Base text gravity (Pango::AttrInt). |
ATTR_GRAVITY_HINT | Gravity hint (Pango::AttrInt). |
ATTR_FONT_FEATURES | OpenType font features (Pango::AttrString). |
ATTR_FOREGROUND_ALPHA | Foreground alpha (Pango::AttrInt). |
ATTR_BACKGROUND_ALPHA | Background alpha (Pango::AttrInt). |
ATTR_ALLOW_BREAKS | Whether breaks are allowed (Pango::AttrInt). |
ATTR_SHOW | How to render invisible characters (Pango::AttrInt). |
ATTR_INSERT_HYPHENS | Whether to insert hyphens at intra-word line breaks (Pango::AttrInt). |
ATTR_OVERLINE | Whether the text has an overline (Pango::AttrInt). |
ATTR_OVERLINE_COLOR | Overline color (Pango::AttrColor). |
enum Pango::CoverageLevel |
enum Pango::Direction |
Enumerator | |
---|---|
DIRECTION_LTR | A strong left-to-right direction. |
DIRECTION_RTL | A strong right-to-left direction. |
DIRECTION_TTB_LTR | Deprecated value; treated the same as Pango::DIRECTION_RTL. |
DIRECTION_TTB_RTL | Deprecated value; treated the same as Pango::DIRECTION_LTR. |
DIRECTION_WEAK_LTR | A weak left-to-right direction. |
DIRECTION_WEAK_RTL | A weak right-to-left direction. |
DIRECTION_NEUTRAL | No direction specified. |
enum Pango::EllipsizeMode |
enum Pango::FontMask |
enum Pango::Gravity |
enum Pango::GravityHint |
enum Pango::Overline |
enum Pango::RenderPart |
enum Pango::Script |
enum Pango::ShapeFlags |
enum Pango::ShowFlags |
enum Pango::Stretch |
enum Pango::Style |
enum Pango::TabAlign |
enum Pango::Underline |
Enumerator | |
---|---|
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. Pango::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 possible mispelling; in some cases a contrasting color may automatically be used. This type of underlining is available since Pango 1.4. |
UNDERLINE_SINGLE_LINE | Like PANGO_UNDERLINE_SINGLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. |
UNDERLINE_DOUBLE_LINE | Like PANGO_UNDERLINE_DOUBLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. |
UNDERLINE_ERROR_LINE | Like PANGO_UNDERLINE_ERROR, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. |
enum Pango::Variant |
enum Pango::Weight |
enum Pango::WrapMode |
void Pango::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.
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 |