gi-pango-1.0.25: Pango bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Pango.Constants

Description

 
Synopsis

Documentation

pattern VERSION_STRING :: Text Source #

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

pattern VERSION_MINOR :: Int32 Source #

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

pattern VERSION_MICRO :: Int32 Source #

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

pattern VERSION_MAJOR :: Int32 Source #

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

pattern SCALE :: Int32 Source #

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

The definition of device units is dependent on the output device; it will typically be pixels for a screen, and points for a printer. SCALE is currently 1024, but this may be changed in the future.

When setting font sizes, device units are always considered to be points (as in "12 point font"), rather than pixels.

pattern GLYPH_UNKNOWN_FLAG :: Word32 Source #

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

Such unknown-character glyphs may be rendered as a 'hex box'.

pattern GLYPH_INVALID_INPUT :: Word32 Source #

A PangoGlyph value for invalid input.

PangoLayout produces one such glyph per invalid input UTF-8 byte and such a glyph is rendered as a crossed box.

Note that this value is defined such that it has the GLYPH_UNKNOWN_FLAG set.

Since: 1.20

pattern GLYPH_EMPTY :: Word32 Source #

A PangoGlyph value that indicates a zero-width empty glpyh.

This is useful for example in shaper modules, to use as the glyph for various zero-width Unicode characters (those passing [funcisZeroWidth]).

pattern ATTR_INDEX_TO_TEXT_END :: Word32 Source #

Value for endIndex in PangoAttribute that indicates the end of the text.

Since: 1.24

pattern ATTR_INDEX_FROM_TEXT_BEGINNING :: Word32 Source #

Value for startIndex in PangoAttribute that indicates the beginning of the text.

Since: 1.24

pattern ANALYSIS_FLAG_NEED_HYPHEN :: Int32 Source #

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

Since: 1.44

pattern ANALYSIS_FLAG_IS_ELLIPSIS :: Int32 Source #

Whether this run holds ellipsized text.

Since: 1.36.7

pattern ANALYSIS_FLAG_CENTERED_BASELINE :: Int32 Source #

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

This is mainly used in vertical writing directions.

Since: 1.16