gi-pango-1.0.22: Pango bindings
Copyright Will Thompson Iñaki García Etxebarria and Jonas Platte LGPL-2.1 Iñaki García Etxebarria None Haskell2010

GI.Pango.Constants

Description

Synopsis

# Documentation

pattern VERSION_MIN_REQUIRED :: Int32 Source #

A macro that should be defined by the user prior to including the pango.h header. The definition should be one of the predefined Pango version macros: PANGO_VERSION_1_2, PANGO_VERSION_1_4,...

This macro defines the earliest version of Pango that the package is required to be able to compile against.

If the compiler is configured to warn about the use of deprecated functions, then using functions that were deprecated in version VERSION_MIN_REQUIRED or earlier will cause warnings (but using functions deprecated in later releases will not).

Since: 1.42

pattern UNKNOWN_GLYPH_WIDTH :: Int32 Source #

No description available in the introspection data.

pattern UNKNOWN_GLYPH_HEIGHT :: Int32 Source #

No description available in the introspection data.

pattern SCALE :: Int32 Source #

The SCALE macro represents 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 RENDER_TYPE_NONE :: Text Source #

Deprecated: (Since version 1.38)

A string constant defining the render type for engines that are not rendering-system specific.

pattern GLYPH_UNKNOWN_FLAG :: Word32 Source #

The GLYPH_UNKNOWN_FLAG macro is a flag value that can be added to a gunichar value of a valid Unicode character, to produce a PangoGlyph value, representing an unknown-character glyph for the respective gunichar.

pattern GLYPH_INVALID_INPUT :: Word32 Source #

The GLYPH_INVALID_INPUT macro represents a PangoGlyph value that has a special meaning of invalid input. Layout 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 on.

Since: 1.20

pattern GLYPH_EMPTY :: Word32 Source #

The GLYPH_EMPTY macro represents a PangoGlyph value that has a special meaning, which is a zero-width empty glyph. This is useful for example in shaper modules, to use as the glyph for various zero-width Unicode characters (those passing isZeroWidth).

pattern ENGINE_TYPE_SHAPE :: Text Source #

Deprecated: (Since version 1.38)

A string constant defining the engine type for shaping engines. These engines derive from EngineShape.

pattern ENGINE_TYPE_LANG :: Text Source #

Deprecated: (Since version 1.38)

A string constant defining the engine type for language engines. These engines derive from EngineLang.

This value can be used to set the start_index member of a Attribute such that the attribute covers from the beginning of the text.

Since: 1.24

This flag is used to mark runs that hold ellipsized text, in an ellipsized layout.

Since: 1.36.7

Whether the segment should be shifted to center around the baseline. Used in vertical writing directions mostly.

Since: 1.16