pango.types

Undocumented in source.

Members

Aliases

Alignment
alias Alignment = PangoAlignment
AttrDataCopyFunc
alias AttrDataCopyFunc = void* delegate()

Type of a function that can duplicate user data for an attribute.

AttrFilterFunc
alias AttrFilterFunc = bool delegate(pango.attribute.Attribute attribute)

Type of a function filtering a list of attributes.

AttrType
alias AttrType = PangoAttrType
BaselineShift
alias BaselineShift = PangoBaselineShift
BidiType
alias BidiType = PangoBidiType
CoverageLevel
alias CoverageLevel = PangoCoverageLevel
Direction
alias Direction = PangoDirection
EllipsizeMode
alias EllipsizeMode = PangoEllipsizeMode
FontMask
alias FontMask = PangoFontMask
FontScale
alias FontScale = PangoFontScale
FontsetForeachFunc
alias FontsetForeachFunc = bool delegate(pango.fontset.Fontset fontset, pango.font.Font font)

Callback used when enumerating fonts in a fontset.

Glyph
alias Glyph = PangoGlyph
GlyphGeometry
alias GlyphGeometry = PangoGlyphGeometry
GlyphUnit
alias GlyphUnit = PangoGlyphUnit
GlyphVisAttr
alias GlyphVisAttr = PangoGlyphVisAttr
Gravity
alias Gravity = PangoGravity
GravityHint
alias GravityHint = PangoGravityHint
LayoutDeserializeError
alias LayoutDeserializeError = PangoLayoutDeserializeError
LayoutDeserializeFlags
alias LayoutDeserializeFlags = PangoLayoutDeserializeFlags
LayoutRun
alias LayoutRun = pango.glyph_item.GlyphItem
LayoutSerializeFlags
alias LayoutSerializeFlags = PangoLayoutSerializeFlags
LogAttr
alias LogAttr = PangoLogAttr
Overline
alias Overline = PangoOverline
Rectangle
alias Rectangle = PangoRectangle
RenderPart
alias RenderPart = PangoRenderPart
Script
alias Script = PangoScript
ShapeFlags
alias ShapeFlags = PangoShapeFlags
ShowFlags
alias ShowFlags = PangoShowFlags
Stretch
alias Stretch = PangoStretch
Style
alias Style = PangoStyle
TabAlign
alias TabAlign = PangoTabAlign
TextTransform
alias TextTransform = PangoTextTransform
Underline
alias Underline = PangoUnderline
Variant
alias Variant = PangoVariant
Weight
alias Weight = PangoWeight
WrapMode
alias WrapMode = PangoWrapMode

Manifest constants

ANALYSIS_FLAG_CENTERED_BASELINE
enum ANALYSIS_FLAG_CENTERED_BASELINE;

Whether the segment should be shifted to center around the baseline.

ANALYSIS_FLAG_IS_ELLIPSIS
enum ANALYSIS_FLAG_IS_ELLIPSIS;

Whether this run holds ellipsized text.

ANALYSIS_FLAG_NEED_HYPHEN
enum ANALYSIS_FLAG_NEED_HYPHEN;

Whether to add a hyphen at the end of the run during shaping.

ATTR_INDEX_FROM_TEXT_BEGINNING
enum ATTR_INDEX_FROM_TEXT_BEGINNING;

Value for @start_index in pango.attribute.Attribute that indicates the beginning of the text.

ATTR_INDEX_TO_TEXT_END
enum ATTR_INDEX_TO_TEXT_END;

Value for @end_index in pango.attribute.Attribute that indicates the end of the text.

GLYPH_EMPTY
enum GLYPH_EMPTY;

A pango.types.GLYPH_UNKNOWN_FLAG value that indicates a zero-width empty glpyh.

GLYPH_INVALID_INPUT
enum GLYPH_INVALID_INPUT;

A pango.types.GLYPH_UNKNOWN_FLAG value for invalid input.

GLYPH_UNKNOWN_FLAG
enum GLYPH_UNKNOWN_FLAG;

Flag used in pango.types.GLYPH_UNKNOWN_FLAG to turn a gunichar value of a valid Unicode character into an unknown-character glyph for that gunichar.

SCALE
enum SCALE;

The scale between dimensions used for Pango distances and device units.

VERSION_MAJOR
enum VERSION_MAJOR;

The major component of the version of Pango available at compile-time.

VERSION_MICRO
enum VERSION_MICRO;

The micro component of the version of Pango available at compile-time.

VERSION_MINOR
enum VERSION_MINOR;

The minor component of the version of Pango available at compile-time.

VERSION_STRING
enum VERSION_STRING;

A string literal containing the version of Pango available at compile-time.