pango-Glyph-Storage {RGtk2} | R Documentation |
Structures for storing information about glyphs
pangoUnitsToDouble(i)
pangoUnitsFromDouble(d)
pangoExtentsToPixels(ink.rect, logical.rect)
pangoMatrixCopy(object)
pangoMatrixTranslate(object, tx, ty)
pangoMatrixScale(object, scale.x, scale.y)
pangoMatrixRotate(object, degrees)
pangoMatrixConcat(object, new.matrix)
pangoMatrixTransformPoint(object, x, y)
pangoMatrixTransformDistance(object, dx, dy)
pangoMatrixTransformRectangle(object, rect)
pangoMatrixTransformPixelRectangle(object, rect)
pangoMatrixGetFontScaleFactor(object)
pangoGlyphStringNew()
pangoGlyphStringCopy(object)
pangoGlyphStringSetSize(object, new.len)
pangoGlyphStringExtents(object, font)
pangoGlyphStringExtentsRange(object, start, end, font)
pangoGlyphStringGetWidth(object)
pangoGlyphStringIndexToX(object, text, analysis, index, trailing)
pangoGlyphStringXToIndex(object, text, analysis, x.pos)
pangoGlyphStringGetLogicalWidths(object, text, embedding.level)
pangoGlyphItemSplit(orig, text, split.index)
pangoGlyphItemApplyAttrs(glyph.item, text, list)
pangoGlyphItemLetterSpace(glyph.item, text, log.attrs)
pangoShape
produces a string of glyphs which
can be measured or drawn to the screen. The following
structures are used to store information about
glyphs.
PangoRectangle
PangoRectangle
structure represents a rectangle. It is frequently
used to represent the logical or ink extents of a single glyph or section
of text. (See, for instance, pangoFontGetGlyphExtents
)
PangoRectangle
is a transparent-type.
x
y
width
height
PangoMatrix
x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0; y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
Since 1.6
xx
xy
yx
yy
x0
y0
PangoGlyphInfo
PangoGlyphInfo
structure represents a single glyph together with
positioning information and visual attributes.
It contains the following fields.
glyph
geometry
PangoGlyphGeometry
] the positional information about the glyph.attr
PangoGlyphVisAttr
] the visual attributes of the glyph.
PangoGlyphGeometry
PangoGlyphGeometry
structure contains width and positioning
information for a single glyph.
width
xOffset
yOffset
PangoGlyphVisAttr
isClusterStart
PangoGlyphString
PangoGlyphString
structure is used to store strings
of glyphs with geometry and visual attribute information.
The storage for the glyph information is owned
by the structure which simplifies memory management.
numGlyphs
glyphs
PangoGlyphInfo
] a list of PangoGlyphInfo
structures of length num_glyphs
.logClusters
PangoGlyphItem
PangoGlyphItem
is a pair of a PangoItem
and the glyphs
resulting from shaping the text corresponding to an item.
As an example of the usage of PangoGlyphItem
, the results
of shaping text with PangoLayout
is a list of PangoLayoutLine
,
each of which contains a list of PangoGlyphItem
.
item
PangoItem
] a PangoItem
structure that provides information
about a segment of text.glyphs
PangoGlyphString
] the glyphs obtained by shaping the text
corresponding to item
.
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/pango/pango-Glyph-Storage.html