Package gtkc.pangotypes


Classes

struct  PangoContext
 Main Gtk struct. More...
struct  PangoItem
 The PangoItem structure stores information about a segment of text. More...
struct  PangoAnalysis
 The PangoAnalysis structure stores information about the properties of a segment of text. More...
struct  PangoLogAttr
 The PangoLogAttr structure stores information about the attributes of a single character. More...
struct  PangoRectangle
 The PangoRectangle structure represents a rectangle. More...
struct  PangoMatrix
 A structure specifying a transformation between user-space coordinates and device coordinates. More...
struct  PangoGlyphInfo
 The PangoGlyphInfo structure represents a single glyph together with positioning information and visual attributes. More...
struct  PangoGlyphGeometry
 The PangoGlyphGeometry structure contains width and positioning information for a single glyph. More...
struct  PangoGlyphVisAttr
 The PangoGlyphVisAttr is used to communicate information between the shaping phase and the rendering phase. More...
struct  PangoGlyphString
 Main Gtk struct. More...
struct  PangoGlyphItem
 A PangoGlyphItem is a pair of a PangoItem and the glyphs resulting from shaping the text corresponding to an item. More...
struct  PangoFontDescription
 Main Gtk struct. More...
struct  PangoFontMetrics
 A PangoFontMetrics structure holds the overall metric information for a font (possibly restricted to a script). More...
struct  PangoFont
 The PangoFont structure is used to represent a font in a rendering-system-independent matter. More...
struct  PangoFontFamily
 The PangoFontFamily structure is used to represent a family of related font faces. More...
struct  PangoFontFace
 The PangoFontFace structure is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes. More...
struct  PangoFontMap
 The PangoFontMap represents the set of fonts available for a particular rendering system. More...
struct  PangoFontMapClass
 The PangoFontMapClass structure holds the virtual functions for a particular PangoFontMap implementation. More...
struct  PangoFontset
 A PangoFontset represents a set of PangoFont to use when rendering text. More...
struct  PangoFontsetClass
 The PangoFontsetClass structure holds the virtual functions for a particular PangoFontset implementation. More...
struct  PangoFontsetSimple
 PangoFontsetSimple is a implementation of the abstract PangoFontset base class in terms of an array of fonts, which the creator provides when constructing the PangoFontsetSimple. More...
struct  PangoAttrClass
 The PangoAttrClass structure stores the type and operations for a particular type of attribute. More...
struct  PangoAttribute
 Main Gtk struct. More...
struct  PangoAttrString
 The PangoAttrString structure is used to represent attributes with a string value. More...
struct  PangoAttrLanguage
 The PangoAttrLanguage structure is used to represent attributes that are languages. More...
struct  PangoAttrColor
 The PangoAttrColor structure is used to represent attributes that are colors. More...
struct  PangoAttrInt
 The PangoAttrInt structure is used to represent attributes with an integer or enumeration value. More...
struct  PangoAttrFloat
 The PangoAttrFloat structure is used to represent attributes with a float or double value. More...
struct  PangoAttrFontDesc
 The PangoAttrFontDesc structure is used to store an attribute that sets all aspects of the font description at once. More...
struct  PangoAttrShape
 The PangoAttrShape structure is used to represent attributes which impose shape restrictions. More...
struct  PangoAttrSize
 The PangoAttrShape structure is used to represent attributes which set font size. More...
struct  PangoColor
 The PangoColor structure is used to represent a color in an uncalibrated RGB colorspace. More...
struct  PangoLanguage
 The PangoLanguage structure is used to represent a language. More...
struct  PangoAttrList
 The PangoAttrList structure represents a list of attributes that apply to a section of text. More...
struct  PangoAttrIterator
 The PangoAttrIterator structure is used to represent an iterator through a PangoAttrList. More...
struct  PangoTabArray
 Main Gtk struct. More...
struct  PangoLayout
 Main Gtk struct. More...
struct  PangoLayoutIter
 A PangoLayoutIter structure can be used to iterate over the visual extents of a PangoLayout. More...
struct  PangoLayoutLine
 The PangoLayoutLine structure represents one of the lines resulting from laying out a paragraph via PangoLayout. More...
struct  PangoScriptIter
 Main Gtk struct. More...
struct  PangoCoverage
 The PangoCoverage structure represents a map from Unicode characters to PangoCoverageLevel. More...
struct  PangoEngineInfo
 The PangoEngineInfo structure contains information about a particular engine. More...
struct  PangoEngineScriptInfo
 The PangoEngineScriptInfo structure contains information about how the shaper covers a particular script. More...
struct  PangoEngine
 PangoEngine is the base class for all types of language and script specific engines. More...
struct  PangoEngineClass
 Class structure for PangoEngine. More...
struct  PangoEngineLang
 The PangoEngineLang class is implemented by engines that customize the rendering-system independent part of the Pango pipeline for a particular script or language. More...
struct  PangoEngineLangClass
 Class structure for PangoEngineLang script_break(). More...
struct  PangoEngineShape
 The PangoEngineShape class is implemented by engines that customize the rendering-system dependent part of the Pango pipeline for a particular script or language. More...
struct  PangoEngineShapeClass
 Class structure for PangoEngineShape script_shape(). More...

Typedefs

typedef PangoFont void * PangoFontsetForeachFunc
typedef void * PangoAttrFilterFunc

Enumerations

enum  PangoDirection {
  LTR,
  RTL,
  TTB_LTR,
  TTB_RTL,
  WEAK_LTR,
  WEAK_RTL,
  NEUTRAL
}
 The PangoDirection type represents a direction in the Unicode bidirectional algorithm; not every value in this enumeration makes sense for every usage of PangoDirection; 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(). More...
enum  PangoGravity {
  SOUTH,
  EAST,
  NORTH,
  WEST,
  AUTO
}
 The PangoGravity type represents the orientation of glyphs in a segment of text. More...
enum  PangoStyle {
  NORMAL,
  NORMAL = 400,
  NORMAL,
  NORMAL,
  OBLIQUE,
  ITALIC
}
 An enumeration specifying the various slant styles possible for a font. More...
enum  PangoWeight {
  ULTRALIGHT = 200,
  LIGHT = 300,
  NORMAL,
  NORMAL = 400,
  NORMAL,
  NORMAL,
  SEMIBOLD = 600,
  BOLD = 700,
  ULTRABOLD = 800,
  HEAVY = 900
}
 An enumeration specifying the weight (boldness) of a font. More...
enum  PangoVariant {
  NORMAL,
  NORMAL = 400,
  NORMAL,
  NORMAL,
  SMALL_CAPS
}
 An enumeration specifying capitalization variant of the font. More...
enum  PangoStretch {
  ULTRA_CONDENSED,
  EXTRA_CONDENSED,
  CONDENSED,
  SEMI_CONDENSED,
  NORMAL,
  NORMAL = 400,
  NORMAL,
  NORMAL,
  SEMI_EXPANDED,
  EXPANDED,
  EXTRA_EXPANDED,
  ULTRA_EXPANDED
}
 An enumeration specifying the width of the font relative to other designs within a family. More...
enum  PangoFontMask {
  FAMILY = 1 << 0,
  FAMILY,
  STYLE = 1 << 1,
  STYLE,
  VARIANT = 1 << 2,
  VARIANT,
  WEIGHT = 1 << 3,
  WEIGHT,
  STRETCH = 1 << 4,
  STRETCH,
  SIZE = 1 << 5,
  SIZE,
  GRAVITY = 1 << 6
}
 The bits in a PangoFontMask correspond to fields in a PangoFontDescription that have been set. More...
enum  PangoAttrType {
  INVALID,
  LANGUAGE,
  FAMILY = 1 << 0,
  FAMILY,
  STYLE = 1 << 1,
  STYLE,
  WEIGHT = 1 << 3,
  WEIGHT,
  VARIANT = 1 << 2,
  VARIANT,
  STRETCH = 1 << 4,
  STRETCH,
  SIZE = 1 << 5,
  SIZE,
  FONT_DESC,
  FOREGROUND,
  BACKGROUND,
  UNDERLINE,
  STRIKETHROUGH,
  RISE,
  SHAPE,
  SCALE,
  FALLBACK,
  FALLBACK,
  LETTER_SPACING,
  UNDERLINE_COLOR,
  STRIKETHROUGH_COLOR,
  PangoAttrSize
}
 The PangoAttrType distinguishes between different types of attributes. More...
enum  PangoUnderline {
  NONE,
  NONE,
  NONE,
  SINGLE,
  DOUBLE,
  LOW,
  ERROR
}
 the PangoUnderline enumeration is used to specify whether text should be underlined, and if so, the type of underlining. More...
enum  PangoTabAlign {
  now,
  RIGHT,
  RIGHT,
  CENTER,
  CENTER,
  NUMERIC
}
 A PangoTabAlign specifies where a tab stop appears relative to the text. More...
enum  PangoWrapMode {
  WORD,
  CHAR,
  WORD_CHAR
}
 A PangoWrapMode describes how to wrap the lines of a PangoLayout to the desired width. More...
enum  PangoEllipsizeMode {
  NONE,
  NONE,
  NONE,
  START,
  MIDDLE,
  END
}
 The PangoEllipsizeMode type describes what sort of (if any) ellipsization should be applied to a line of text. More...
enum  PangoAlignment {
  LEFT,
  CENTER,
  CENTER,
  RIGHT,
  RIGHT
}
 A PangoAlignment describes how to align the lines of a PangoLayout within the available space. More...
enum  PangoScript {
  INVALID_CODE = -1,
  COMMON = 0,
  INHERITED,
  ARABIC,
  ARMENIAN,
  BENGALI,
  BOPOMOFO,
  CHEROKEE,
  COPTIC,
  CYRILLIC,
  DESERET,
  DEVANAGARI,
  ETHIOPIC,
  GEORGIAN,
  Geon,
  GOTHIC,
  GREEK,
  GUJARATI,
  GURMUKHI,
  HAN,
  HANGUL,
  HEBREW,
  HIRAGANA,
  KANNADA,
  KATAKANA,
  KHMER,
  LAO,
  LATIN,
  Latf,
  MALAYALAM,
  MONGOLIAN,
  MYANMAR,
  OGHAM,
  OLD_ITALIC,
  ORIYA,
  RUNIC,
  SINHALA,
  SYRIAC,
  Syrj,
  Syrn,
  TAMIL,
  TELUGU,
  THAANA,
  THAI,
  TIBETAN,
  CANADIAN_ABORIGINAL,
  YI,
  TAGALOG,
  HANUNOO,
  BUHID,
  TAGBANWA,
  BRAILLE,
  CYPRIOT,
  LIMBU,
  OSMANYA,
  SHAVIAN,
  LINEAR_B,
  TAI_LE,
  UGARITIC,
  NEW_TAI_LUE,
  BUGINESE,
  GLAGOLITIC,
  TIFINAGH,
  SYLOTI_NAGRI,
  OLD_PERSIAN,
  KHAROSHTHI,
  UNKNOWN,
  BALINESE,
  CUNEIFORM,
  PHOENICIAN,
  PHAGS_PA,
  Nkoo
}
 The PangoScript enumeration identifies different writing systems. More...
enum  PangoCoverageLevel {
  NONE,
  NONE,
  NONE,
  FALLBACK,
  FALLBACK,
  APPROXIMATE,
  EXACT
}
 Used to indicate how well a font can represent a particular Unicode character point for a particular script. More...

Functions

typedef extern (C) int function(PangoFontset *

Variables

alias void FcPattern
 * The pango Basic Types */
alias void FcCharSet
const int PANGO_SCALE = 1024
const double PANGO_SCALE_XX_SMALL = 0.5787037037037
const double PANGO_SCALE_X_SMALL = 0.6444444444444
 The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
const double PANGO_SCALE_SMALL = 0.8333333333333
 The scale factor for two shrinking steps (1 / (1.2 * 1.2)).
const double PANGO_SCALE_MEDIUM = 1.0
 The scale factor for one shrinking step (1 / 1.2).
const double PANGO_SCALE_LARGE = 1.2
 The scale factor for normal size (1.0).
const double PANGO_SCALE_X_LARGE = 1.4399999999999
 The scale factor for one magnification step (1.2).
const double PANGO_SCALE_XX_LARGE = 1.728
 The scale factor for two magnification steps (1.2 * 1.2).
alias uint PangoGlyph
 typedef guint32 PangoGlyph; A PangoGlyph represents a single glyph in the output form of a string.
alias int PangoGlyphUnit
 typedef gint32 PangoGlyphUnit; The PangoGlyphUnit type is used to store dimensions within Pango.
alias PangoGlyphItem PangoLayoutRun
 typedef PangoGlyphItem PangoLayoutRun; The PangoLayoutRun structure represents a single run within a PangoLayoutLine; it is simply an alternate name for PangoGlyphItem, present for backwards compatibility.


Typedef Documentation

typedef PangoFont void* gtkc::pangotypes.PangoFontsetForeachFunc

typedef void* gtkc::pangotypes.PangoAttrFilterFunc


Enumeration Type Documentation

enum gtkc::pangotypes::PangoDirection

The PangoDirection type represents a direction in the Unicode bidirectional algorithm; not every value in this enumeration makes sense for every usage of PangoDirection; 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 PangoGravity for how vertical text is handled in Pango. PANGO_DIRECTION_LTR

Enumerator:
LTR 
RTL 
TTB_LTR 
TTB_RTL 
WEAK_LTR 
WEAK_RTL 
NEUTRAL 

enum gtkc::pangotypes::PangoGravity

The PangoGravity 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 PangoGravity. Not every value in this enumeration makes sense for every usage of PangoGravity; 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(). PANGO_GRAVITY_SOUTH

Enumerator:
SOUTH 
EAST 
NORTH 
WEST 
AUTO 

enum gtkc::pangotypes::PangoStyle

An enumeration specifying the various slant styles possible for a font.

PANGO_STYLE_NORMAL

Enumerator:
NORMAL 
NORMAL 
NORMAL 
NORMAL 
OBLIQUE 
ITALIC 

enum gtkc::pangotypes::PangoWeight

An enumeration specifying the weight (boldness) of a font.

This is a numerical value ranging from 100 to 900, but there are some predefined values: PANGO_WEIGHT_ULTRALIGHT the ultralight weight (= 200) PANGO_WEIGHT_LIGHT

Enumerator:
ULTRALIGHT 
LIGHT 
NORMAL 
NORMAL 
NORMAL 
NORMAL 
SEMIBOLD 
BOLD 
ULTRABOLD 
HEAVY 

enum gtkc::pangotypes::PangoVariant

An enumeration specifying capitalization variant of the font.

PANGO_VARIANT_NORMAL A normal font. PANGO_VARIANT_SMALL_CAPS A font with the lower case characters

Enumerator:
NORMAL 
NORMAL 
NORMAL 
NORMAL 
SMALL_CAPS 

enum gtkc::pangotypes::PangoStretch

An enumeration specifying the width of the font relative to other designs within a family.

PANGO_STRETCH_ULTRA_CONDENSED ultra condensed width PANGO_STRETCH_EXTRA_CONDENSED extra condensed width PANGO_STRETCH_CONDENSED condensed width PANGO_STRETCH_SEMI_CONDENSED semi condensed width PANGO_STRETCH_NORMAL the normal width PANGO_STRETCH_SEMI_EXPANDED semi expanded width PANGO_STRETCH_EXPANDED expanded width PANGO_STRETCH_EXTRA_EXPANDED extra expanded width PANGO_STRETCH_ULTRA_EXPANDED ultra expanded width

Enumerator:
ULTRA_CONDENSED 
EXTRA_CONDENSED 
CONDENSED 
SEMI_CONDENSED 
NORMAL 
NORMAL 
NORMAL 
NORMAL 
SEMI_EXPANDED 
EXPANDED 
EXTRA_EXPANDED 
ULTRA_EXPANDED 

enum gtkc::pangotypes::PangoFontMask

The bits in a PangoFontMask correspond to fields in a PangoFontDescription that have been set.

PANGO_FONT_MASK_FAMILY the font family is specified. PANGO_FONT_MASK_STYLE the font style is specified. PANGO_FONT_MASK_VARIANT the font variant is specified. PANGO_FONT_MASK_WEIGHT the font weight is specified. PANGO_FONT_MASK_STRETCH the font stretch is specified. PANGO_FONT_MASK_SIZE the font size is specified. PANGO_FONT_MASK_GRAVITY the font gravity is specified (Since: 1.16.)

Enumerator:
FAMILY 
FAMILY 
STYLE 
STYLE 
VARIANT 
VARIANT 
WEIGHT 
WEIGHT 
STRETCH 
STRETCH 
SIZE 
SIZE 
GRAVITY 

enum gtkc::pangotypes::PangoAttrType

The PangoAttrType 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. PANGO_ATTR_INVALID does not happen PANGO_ATTR_LANGUAGE language (PangoAttrLanguage) PANGO_ATTR_FAMILY font family name list (PangoAttrString) PANGO_ATTR_STYLE font slant style (PangoAttrInt) PANGO_ATTR_WEIGHT font weight (PangoAttrInt) PANGO_ATTR_VARIANT font variant (normal or small caps) (PangoAttrInt) PANGO_ATTR_STRETCH font stretch (PangoAttrInt) PANGO_ATTR_SIZE font size in points scaled by PANGO_SCALE (PangoAttrInt) PANGO_ATTR_FONT_DESC font description (PangoAttrFontDesc) PANGO_ATTR_FOREGROUND foreground color (PangoAttrColor) PANGO_ATTR_BACKGROUND background color (PangoAttrColor) PANGO_ATTR_UNDERLINE whether the text has an underline (PangoAttrInt) PANGO_ATTR_STRIKETHROUGH whether the text is struck-through (PangoAttrInt) PANGO_ATTR_RISE baseline displacement (PangoAttrInt) PANGO_ATTR_SHAPE shape (PangoAttrShape) PANGO_ATTR_SCALE font size scale factor (PangoAttrFloat) PANGO_ATTR_FALLBACK whether fallback is enabled (PangoAttrInt) PANGO_ATTR_LETTER_SPACING letter spacing (PangoAttrInt) PANGO_ATTR_UNDERLINE_COLOR underline color (PangoAttrColor) PANGO_ATTR_STRIKETHROUGH_COLOR strikethrough color (PangoAttrColor) PANGO_ATTR_ABSOLUTE_SIZE font size in pixels scaled by PANGO_SCALE (PangoAttrInt)

Enumerator:
INVALID 
LANGUAGE 
FAMILY 
FAMILY 
STYLE 
STYLE 
WEIGHT 
WEIGHT 
VARIANT 
VARIANT 
STRETCH 
STRETCH 
SIZE 
SIZE 
FONT_DESC 
FOREGROUND 
BACKGROUND 
UNDERLINE 
STRIKETHROUGH 
RISE 
SHAPE 
SCALE 
FALLBACK 
FALLBACK 
LETTER_SPACING 
UNDERLINE_COLOR 
STRIKETHROUGH_COLOR 
PangoAttrSize 

enum gtkc::pangotypes::PangoUnderline

the PangoUnderline enumeration is used to specify whether text should be underlined, and if so, the type of underlining.

PANGO_UNDERLINE_NONE no underline should be drawn PANGO_UNDERLINE_SINGLE a single underline should be drawn PANGO_UNDERLINE_DOUBLE a double underline should be drawn PANGO_UNDERLINE_LOW a single underline should be drawn at a position

Enumerator:
NONE 
NONE 
NONE 
SINGLE 
DOUBLE 
LOW 
ERROR 

enum gtkc::pangotypes::PangoTabAlign

A PangoTabAlign specifies where a tab stop appears relative to the text.

PANGO_TAB_LEFT the tab stop appears to the left of the text.

Enumerator:
now 
RIGHT 
RIGHT 
CENTER 
CENTER 
NUMERIC 

enum gtkc::pangotypes::PangoWrapMode

A PangoWrapMode describes how to wrap the lines of a PangoLayout to the desired width.

PANGO_WRAP_WORD wrap lines at word boundaries. PANGO_WRAP_CHAR wrap lines at character boundaries. PANGO_WRAP_WORD_CHAR wrap lines at word boundaries, but fall back to character boundaries if there is not enough space for a full word.

Enumerator:
WORD 
CHAR 
WORD_CHAR 

enum gtkc::pangotypes::PangoEllipsizeMode

The PangoEllipsizeMode 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. PANGO_ELLIPSIZE_NONE

Enumerator:
NONE 
NONE 
NONE 
START 
MIDDLE 
END 

enum gtkc::pangotypes::PangoAlignment

A PangoAlignment describes how to align the lines of a PangoLayout within the available space.

If the PangoLayout is set to justify using pango_layout_set_justify(), this only has effect for partial lines. PANGO_ALIGN_LEFT Put all available space on the right PANGO_ALIGN_CENTER Center the line within the available space PANGO_ALIGN_RIGHT Put all available space on the left

Enumerator:
LEFT 
CENTER 
CENTER 
RIGHT 
RIGHT 

enum gtkc::pangotypes::PangoScript

The PangoScript enumeration identifies different writing systems.

The values correspond to the names as defined in the Unicode standard. Note that new types may be added in the future. Applications should be ready to handle unknown values. See Unicode Standard Annex 24: Script names. PANGO_SCRIPT_INVALID_CODE a value never returned from pango_script_for_unichar() PANGO_SCRIPT_COMMON a character used by multiple different scripts PANGO_SCRIPT_INHERITED a mark glyph that takes its script from the

Enumerator:
INVALID_CODE 
COMMON 
INHERITED 
ARABIC 
ARMENIAN 
BENGALI 
BOPOMOFO 
CHEROKEE 
COPTIC 
CYRILLIC 
DESERET 
DEVANAGARI 
ETHIOPIC 
GEORGIAN 
Geon 
GOTHIC 
GREEK 
GUJARATI 
GURMUKHI 
HAN 
HANGUL 
HEBREW 
HIRAGANA 
KANNADA 
KATAKANA 
KHMER 
LAO 
LATIN 
Latf 
MALAYALAM 
MONGOLIAN 
MYANMAR 
OGHAM 
OLD_ITALIC 
ORIYA 
RUNIC 
SINHALA 
SYRIAC 
Syrj 
Syrn 
TAMIL 
TELUGU 
THAANA 
THAI 
TIBETAN 
CANADIAN_ABORIGINAL 
YI 
TAGALOG 
HANUNOO 
BUHID 
TAGBANWA 
BRAILLE 
CYPRIOT 
LIMBU 
OSMANYA 
SHAVIAN 
LINEAR_B 
TAI_LE 
UGARITIC 
NEW_TAI_LUE 
BUGINESE 
GLAGOLITIC 
TIFINAGH 
SYLOTI_NAGRI 
OLD_PERSIAN 
KHAROSHTHI 
UNKNOWN 
BALINESE 
CUNEIFORM 
PHOENICIAN 
PHAGS_PA 
Nkoo 

enum gtkc::pangotypes::PangoCoverageLevel

Used to indicate how well a font can represent a particular Unicode character point for a particular script.

PANGO_COVERAGE_NONE The character is not representable with the font. PANGO_COVERAGE_FALLBACK The character is represented in a way that may be

Enumerator:
NONE 
NONE 
NONE 
FALLBACK 
FALLBACK 
APPROXIMATE 
EXACT 


Function Documentation

typedef gtkc::pangotypes::extern (  ) 


Variable Documentation

alias void gtkc::pangotypes.FcPattern

* The pango Basic Types */

alias void gtkc::pangotypes.FcCharSet

const int gtkc::pangotypes.PANGO_SCALE = 1024

const double gtkc::pangotypes.PANGO_SCALE_XX_SMALL = 0.5787037037037

const double gtkc::pangotypes.PANGO_SCALE_X_SMALL = 0.6444444444444

The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).

const double gtkc::pangotypes.PANGO_SCALE_SMALL = 0.8333333333333

The scale factor for two shrinking steps (1 / (1.2 * 1.2)).

const double gtkc::pangotypes.PANGO_SCALE_MEDIUM = 1.0

The scale factor for one shrinking step (1 / 1.2).

const double gtkc::pangotypes.PANGO_SCALE_LARGE = 1.2

The scale factor for normal size (1.0).

const double gtkc::pangotypes.PANGO_SCALE_X_LARGE = 1.4399999999999

The scale factor for one magnification step (1.2).

const double gtkc::pangotypes.PANGO_SCALE_XX_LARGE = 1.728

The scale factor for two magnification steps (1.2 * 1.2).

alias uint gtkc::pangotypes.PangoGlyph

typedef guint32 PangoGlyph; A PangoGlyph represents a single glyph in the output form of a string.

alias int gtkc::pangotypes.PangoGlyphUnit

typedef gint32 PangoGlyphUnit; The PangoGlyphUnit type is used to store dimensions within Pango.

Dimensions are stored in 1/PANGO_SCALE of a device unit. (A device unit might be a pixel for screen display, or a point on a printer.) PANGO_SCALE is currently 1024, and may change in the future (unlikely though), but you should not depend on its exact value. The PANGO_PIXELS() macro can be used to convert from glyph units into device units with correct rounding.

alias PangoGlyphItem gtkc::pangotypes.PangoLayoutRun

typedef PangoGlyphItem PangoLayoutRun; The PangoLayoutRun structure represents a single run within a PangoLayoutLine; it is simply an alternate name for PangoGlyphItem, present for backwards compatibility.

See the PangoGlyphItem docs for details on the fields.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo