pangomm 2.54.0
|
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 | BaselineShift_Wrapper |
Wrapper for enum BaselineShift. More... | |
class | CairoFontMap |
Pango::CairoFontMap is an interface implemented by font maps for use with Cairo. More... | |
class | CairoFontMapImpl |
Gdk::CairoFontMapImpl is a Pango::FontMap that implements the Pango::CairoFontMap interface. 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::Coverage::Level. 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 | GlyphItem |
A Pango::GlyphItem is a pair of a Pango::Item and the glyphs resulting from shaping the text corresponding to an item. 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... | |
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... | |
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... | |
class | Weight_Wrapper |
Wrapper for enum Weight. More... | |
Typedefs | |
typedef PangoMatrix | Matrix |
using | BaselineShift = BaselineShift_Wrapper::BaselineShift |
BaselineShift enumerators are scoped by the wrapper class and can be implicitly converted to int. | |
typedef PangoLogAttr | LogAttr |
A Pango::LogAttr stores information about the attributes of a single character. | |
using | Weight = Weight_Wrapper::Weight |
Weight enumerators are scoped by the wrapper class and can be implicitly converted to int. | |
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. | |
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 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 PangoLogAttr Pango::LogAttr |
A Pango::LogAttr stores information about the attributes of a single character.
typedef PangoMatrix Pango::Matrix |
|
strong |
|
strong |
Enumerator | |
---|---|
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. |
LANGUAGE | |
FAMILY | Font family name list (Pango::AttrString). The font family is specified. |
STYLE | Font slant style (Pango::AttrInt). The font style is specified. |
WEIGHT | Font weight (Pango::AttrInt). The font weight is specified. |
VARIANT | Font variant (normal or small caps) (Pango::AttrInt). The font variant is specified. |
STRETCH | Font stretch (Pango::AttrInt). The font stretch is specified. |
SIZE | Font size in points scaled by Pango::SCALE (Pango::AttrInt). The font size is specified. |
FONT_DESC | Font description (Pango::AttrFontDesc). |
FOREGROUND | Foreground color (Pango::AttrColor). |
BACKGROUND | Background color (Pango::AttrColor). |
UNDERLINE | Whether the text has an underline (Pango::AttrInt). |
STRIKETHROUGH | Whether the text is struck-through (Pango::AttrInt). |
RISE | Baseline displacement (Pango::AttrInt). |
SHAPE | Shape (Pango::AttrShape). |
SCALE_FACTOR | Font size scale factor (Pango::AttrFloat). |
FALLBACK | Whether fallback is enabled (Pango::AttrInt). |
LETTER_SPACING | Letter spacing (Pango::PangoAttrInt). |
UNDERLINE_COLOR | Underline color (Pango::AttrColor). |
STRIKETHROUGH_COLOR | Strikethrough color (Pango::AttrColor). |
ABSOLUTE_SIZE | Font size in pixels scaled by Pango::SCALE (Pango::AttrInt). |
GRAVITY | Base text gravity (Pango::AttrInt). The font gravity is specified (Since: 1.16.). |
GRAVITY_HINT | Gravity hint (Pango::AttrInt). |
FONT_FEATURES | OpenType font features (Pango::AttrFontFeatures). |
FOREGROUND_ALPHA | Foreground alpha (Pango::AttrInt). |
BACKGROUND_ALPHA | Background alpha (Pango::AttrInt). |
ALLOW_BREAKS | Whether breaks are allowed (Pango::AttrInt). |
SHOW | How to render invisible characters (Pango::AttrInt). |
INSERT_HYPHENS | Whether to insert hyphens at intra-word line breaks (Pango::AttrInt). |
OVERLINE | Whether the text has an overline (Pango::AttrInt). |
OVERLINE_COLOR | Overline color (Pango::AttrColor). |
LINE_HEIGHT | Line height factor (Pango::AttrFloat). |
ABSOLUTE_LINE_HEIGHT | Line height (Pango::AttrInt). |
TEXT_TRANSFORM | |
WORD | Override segmentation to classify the range of the attribute as a single word (Pango::AttrInt). Wrap lines at word boundaries. |
SENTENCE | Override segmentation to classify the range of the attribute as a single sentence (Pango::AttrInt). |
BASELINE_SHIFT | Baseline displacement (Pango::AttrInt). |
FONT_SCALE | Font-relative size change (Pango::AttrInt). |
|
strong |
Enumerator | |
---|---|
LTR | A strong left-to-right direction. |
RTL | A strong right-to-left direction. |
TTB_LTR | Deprecated value; treated the same as |
TTB_RTL | Deprecated value; treated the same as |
WEAK_LTR | A weak left-to-right direction. |
WEAK_RTL | A weak right-to-left direction. |
NEUTRAL | No direction specified. |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
Enumerator | |
---|---|
NONE | No underline should be drawn. No ellipsization. Default value. Leave the font size unchanged. Leave text unchanged. No special treatment for invisible characters. No overline should be drawn. |
SINGLE | A single underline should be drawn. Draw a single line above the ink extents of the text being underlined. |
DOUBLE | A double underline should be drawn. |
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. |
ERROR | An underline indicating an error should be drawn below. The exact style of rendering is up to the |
SINGLE_LINE | Like PANGO_UNDERLINE_SINGLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. |
DOUBLE_LINE | Like PANGO_UNDERLINE_DOUBLE, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. |
ERROR_LINE | Like PANGO_UNDERLINE_ERROR, but drawn continuously across multiple runs. This type of underlining is available since Pango 1.46. |
|
strong |
|
strong |
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 |