|
pangomm
2.56.1
|
Classes | |
| class | Pango::BaselineShift_Wrapper |
| Wrapper for enum BaselineShift. More... | |
| class | Pango::Weight_Wrapper |
| Wrapper for enum Weight. More... | |
Typedefs | |
| using | Pango::BaselineShift = BaselineShift_Wrapper::BaselineShift |
| BaselineShift enumerators are scoped by the wrapper class and can be implicitly converted to int. More... | |
| using | Pango::Weight = Weight_Wrapper::Weight |
| Weight enumerators are scoped by the wrapper class and can be implicitly converted to int. More... | |
Functions | |
| ShowFlags | Pango::operator| (ShowFlags lhs, ShowFlags rhs) |
| ShowFlags | Pango::operator& (ShowFlags lhs, ShowFlags rhs) |
| ShowFlags | Pango::operator^ (ShowFlags lhs, ShowFlags rhs) |
| ShowFlags | Pango::operator~ (ShowFlags flags) |
| ShowFlags& | Pango::operator|= (ShowFlags& lhs, ShowFlags rhs) |
| ShowFlags& | Pango::operator&= (ShowFlags& lhs, ShowFlags rhs) |
| ShowFlags& | Pango::operator^= (ShowFlags& lhs, ShowFlags rhs) |
| FontMask | Pango::operator| (FontMask lhs, FontMask rhs) |
| FontMask | Pango::operator& (FontMask lhs, FontMask rhs) |
| FontMask | Pango::operator^ (FontMask lhs, FontMask rhs) |
| FontMask | Pango::operator~ (FontMask flags) |
| FontMask& | Pango::operator|= (FontMask& lhs, FontMask rhs) |
| FontMask& | Pango::operator&= (FontMask& lhs, FontMask rhs) |
| FontMask& | Pango::operator^= (FontMask& lhs, FontMask rhs) |
| ShapeFlags | Pango::operator| (ShapeFlags lhs, ShapeFlags rhs) |
| ShapeFlags | Pango::operator& (ShapeFlags lhs, ShapeFlags rhs) |
| ShapeFlags | Pango::operator^ (ShapeFlags lhs, ShapeFlags rhs) |
| ShapeFlags | Pango::operator~ (ShapeFlags flags) |
| ShapeFlags& | Pango::operator|= (ShapeFlags& lhs, ShapeFlags rhs) |
| ShapeFlags& | Pango::operator&= (ShapeFlags& lhs, ShapeFlags rhs) |
| ShapeFlags& | Pango::operator^= (ShapeFlags& lhs, ShapeFlags rhs) |
| using Pango::BaselineShift = typedef BaselineShift_Wrapper::BaselineShift |
BaselineShift enumerators are scoped by the wrapper class and can be implicitly converted to int.
| using Pango::Weight = typedef Weight_Wrapper::Weight |
Weight enumerators are scoped by the wrapper class and can be implicitly converted to int.
|
strong |
Pango::Alignment describes how to align the lines of a Pango::Layout within the available space.
If the Pango::Layout is set to justify using Pango::Layout::set_justify(), this only affects partial lines.
See Pango::Layout::set_auto_dir() for how text direction affects the interpretation of Pango::Alignment values.
|
strong |
The Pango::AttrType distinguishes between different types of attributes.
Along with the predefined values, it is possible to allocate additional values for custom attributes using attr_type_register(). The predefined values are given below. The type of structure used to store the attribute is listed in parentheses after the description.
| 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 | |
| BACKGROUND | |
| UNDERLINE | |
| STRIKETHROUGH | |
| RISE |
Baseline displacement (Pango::AttrInt). |
| SHAPE |
Shape (Pango::AttrShape). |
| SCALE_FACTOR |
Font size scale factor (Pango::AttrFloat). |
| FALLBACK | |
| 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). |
| 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 | |
| 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 |
Pango::Direction represents a direction in the Unicode bidirectional algorithm.
Not every value in this enumeration makes sense for every usage of Pango::Direction; for example, the return value of unichar_direction() and find_base_dir() cannot be Pango::Direction::WEAK_LTR or Pango::Direction::WEAK_RTL, since every character is either neutral or has a strong direction; on the other hand Pango::Direction::NEUTRAL doesn't make sense to pass to itemize_with_base_dir().
The Pango::Direction::TTB_LTR, Pango::Direction::TTB_RTL values come from an earlier interpretation of this enumeration as the writing direction of a block of text and are no longer used. See Pango::Gravity for how vertical text is handled in Pango.
If you are interested in text direction, you should really use fribidi directly. Pango::Direction is only retained because it is used in some public apis.
| 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 |
Pango::EllipsizeMode describes what sort of ellipsization should be applied to text.
In the ellipsization process characters are removed from the text in order to make it fit to a given width and replaced with an ellipsis.
| Enumerator | |
|---|---|
| NONE | |
| START |
Omit characters at the start of the text. |
| MIDDLE |
Omit characters in the middle of the text. |
| END |
Omit characters at the end of the text. |
|
strong |
The bits in a Pango::FontMask correspond to the set fields in a Pango::FontDescription.
FontMask operator|(FontMask, FontMask)FontMask operator&(FontMask, FontMask)FontMask operator^(FontMask, FontMask)FontMask operator~(FontMask)FontMask& operator|=(FontMask&, FontMask)FontMask& operator&=(FontMask&, FontMask)FontMask& operator^=(FontMask&, FontMask)| Enumerator | |
|---|---|
| FAMILY | |
| STYLE | |
| VARIANT | |
| WEIGHT | |
| STRETCH | |
| SIZE | |
| GRAVITY | |
| VARIATIONS | |
| FEATURES | |
|
strong |
An enumeration that affects font sizes for superscript and subscript positioning and for (emulated) Small Caps.
| Enumerator | |
|---|---|
| NONE | |
| SUPERSCRIPT | |
| SUBSCRIPT | |
| SMALL_CAPS |
Change the font to a size suitable for Small Caps. A font with the lower case characters replaced by smaller variants of the capital characters. |
|
strong |
Pango::Gravity represents the orientation of glyphs in a segment of text.
This is useful when rendering vertical text layouts. In those situations, the layout is rotated using a non-identity Pango::Matrix, and then glyph orientation is controlled using Pango::Gravity.
Not every value in this enumeration makes sense for every usage of Pango::Gravity; for example, Pango::Gravity::AUTO only can be passed to Pango::Context::set_base_gravity() and can only be returned by Pango::Context::get_base_gravity().
See also: Pango::GravityHint
|
strong |
Pango::GravityHint defines how horizontal scripts should behave in a vertical context.
That is, English excerpts in a vertical paragraph for example.
See also Pango::Gravity
|
strong |
Pango::CoverageLevel is used to indicate how well a font can represent a particular Unicode character for a particular script.
Since 1.44, only Pango::Coverage::Level::NONE and Pango::Coverage::Level::EXACT will be returned.
| Enumerator | |
|---|---|
| NONE | |
| FALLBACK | |
| APPROXIMATE | |
| EXACT | |
|
strong |
The Pango::Overline enumeration is used to specify whether text should be overlined, and if so, the type of line.
| Enumerator | |
|---|---|
| NONE | |
| SINGLE | |
|
strong |
|
strong |
The Pango::Script enumeration identifies different writing systems.
The values correspond to the names as defined in the Unicode standard. See Unicode Standard Annex 24: Script names
Note that this enumeration is deprecated and will not be updated to include values in newer versions of the Unicode standard. Applications should use the Glib::UnicodeScript enumeration instead, whose values are interchangeable with Pango::Script.
|
strong |
Flags influencing the shaping process.
Pango::ShapeFlags can be passed to pango_shape_with_flags().
ShapeFlags operator|(ShapeFlags, ShapeFlags)ShapeFlags operator&(ShapeFlags, ShapeFlags)ShapeFlags operator^(ShapeFlags, ShapeFlags)ShapeFlags operator~(ShapeFlags)ShapeFlags& operator|=(ShapeFlags&, ShapeFlags)ShapeFlags& operator&=(ShapeFlags&, ShapeFlags)ShapeFlags& operator^=(ShapeFlags&, ShapeFlags)| Enumerator | |
|---|---|
| NONE | |
| ROUND_POSITIONS |
Round glyph positions and widths to whole device units This option should be set if the target renderer can't do subpixel positioning of glyphs. |
|
strong |
These flags affect how Pango treats characters that are normally not visible in the output.
ShowFlags operator|(ShowFlags, ShowFlags)ShowFlags operator&(ShowFlags, ShowFlags)ShowFlags operator^(ShowFlags, ShowFlags)ShowFlags operator~(ShowFlags)ShowFlags& operator|=(ShowFlags&, ShowFlags)ShowFlags& operator&=(ShowFlags&, ShowFlags)ShowFlags& operator^=(ShowFlags&, ShowFlags)| Enumerator | |
|---|---|
| NONE | |
| SPACES |
Render spaces, tabs and newlines visibly. |
| LINE_BREAKS |
Render line breaks visibly. |
| IGNORABLES |
Render default-ignorable Unicode characters visibly. |
|
strong |
An enumeration specifying the width of the font relative to other designs within a family.
|
strong |
|
strong |
Pango::TabAlign specifies where the text appears relative to the tab stop position.
|
strong |
An enumeration that affects how Pango treats characters during shaping.
| Enumerator | |
|---|---|
| NONE | |
| LOWERCASE |
Display letters and numbers as lowercase. |
| UPPERCASE |
Display letters and numbers as uppercase. |
| CAPITALIZE |
Display the first character of a word in titlecase. |
|
strong |
The Pango::Underline enumeration is used to specify whether text should be underlined, and if so, the type of underlining.
| Enumerator | |
|---|---|
| NONE | |
| 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 |
An enumeration specifying capitalization variant of the font.
An enumeration specifying the weight (boldness) of a font.
Weight is specified as a numeric value ranging from 100 to 1000. This enumeration simply provides some common, predefined values.
|
strong |
Pango::WrapMode describes how to wrap the lines of a Pango::Layout to the desired width.
For PANGO_WRAP_WORD, Pango uses break opportunities that are determined by the Unicode line breaking algorithm. For PANGO_WRAP_CHAR, Pango allows breaking at grapheme boundaries that are determined by the Unicode text segmentation algorithm.
| Enumerator | |
|---|---|
| WORD | |
| CHAR |
Wrap lines at character boundaries. |
| WORD_CHAR |
Wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word. |
| NONE | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.10