pangomm 2.46.4
|
enum Pango::Alignment |
A 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 has effect for partial lines.
Enumerator | |
---|---|
ALIGN_LEFT | Put all available space on the right. |
ALIGN_CENTER | Center the line within the available space. |
ALIGN_RIGHT | Put all available space on the left. |
enum Pango::AttrType |
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 pango_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 | |
---|---|
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 |
Used to indicate how well a font can represent a particular Unicode character point for a particular script.
Since 1.44, only Pango::COVERAGE_NONE and Pango::COVERAGE_EXACT will be returned.
enum Pango::Direction |
The Pango::Direction type 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 pango_unichar_direction() and pango_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 pango_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. PangoDirection is only retained because it is used in some public apis.
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 |
The Pango::EllipsizeMode type describes what sort of (if any) ellipsization should be applied to a line of 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.
enum Pango::FontMask |
The bits in a Pango::FontMask correspond to fields in a Pango::FontDescription that have been set.
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)
enum Pango::Gravity |
The Pango::Gravity type 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 PangoMatrix, 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
Enumerator | |
---|---|
GRAVITY_SOUTH | Glyphs stand upright (default). |
GRAVITY_EAST | Glyphs are rotated 90 degrees clockwise. |
GRAVITY_NORTH | Glyphs are upside-down. |
GRAVITY_WEST | Glyphs are rotated 90 degrees counter-clockwise. |
GRAVITY_AUTO | Gravity is resolved from the context matrix. |
enum Pango::GravityHint |
The Pango::GravityHint defines how horizontal scripts should behave in a vertical context.
That is, English excerpt in a vertical paragraph for example.
See Pango::Gravity.
enum Pango::Overline |
The Pango::Overline enumeration is used to specify whether text should be overlined, and if so, the type of line.
Enumerator | |
---|---|
OVERLINE_NONE | No overline should be drawn. |
OVERLINE_SINGLE | Draw a single line above the ink extents of the text being underlined. |
enum Pango::RenderPart |
Pango::RenderPart defines different items to render for such purposes as setting colors.
enum Pango::Script |
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 GUnicodeScript enumeration instead, whose values are interchangeable with PangoScript.
enum Pango::ShapeFlags |
Flags influencing the shaping process.
These 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)
enum Pango::ShowFlags |
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)
enum Pango::Stretch |
An enumeration specifying the width of the font relative to other designs within a family.
enum Pango::Style |
enum Pango::TabAlign |
A Pango::TabAlign specifies where a tab stop appears relative to the text.
Enumerator | |
---|---|
TAB_LEFT | The tab stop appears to the left of the text. |
enum Pango::Underline |
The Pango::Underline enumeration is used to specify whether text should be underlined, and if so, the type of underlining.
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 |
An enumeration specifying the weight (boldness) of a font.
This is a numerical value ranging from 100 to 1000, but there are some predefined values:
enum Pango::WrapMode |
A Pango::WrapMode describes how to wrap the lines of a Pango::Layout to the desired width.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |