Package ch.bailu.gtk.pango
Class GlyphGeometry
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.pango.GlyphGeometry
- All Implemented Interfaces:
PointerInterface
The `PangoGlyphGeometry` structure contains width and positioning
information for a single glyph.
Note that @width is not guaranteed to be the same as the glyph
extents. Kerning and other positioning applied during shaping will
affect both the @width and the @x_offset for the glyphs in the
glyph string that results from shaping.
The information in this struct is intended for rendering the glyphs,
as follows:
1. Assume the current point is (x, y)
2. Render the current glyph at (x + x_offset, y + y_offset),
3. Advance the current point to (x + width, y)
4. Render the next glyph
information for a single glyph.
Note that @width is not guaranteed to be the same as the glyph
extents. Kerning and other positioning applied during shaping will
affect both the @width and the @x_offset for the glyphs in the
glyph string that results from shaping.
The information in this struct is intended for rendering the glyphs,
as follows:
1. Assume the current point is (x, y)
2. Render the current glyph at (x + x_offset, y + y_offset),
3. Advance the current point to (x + width, y)
4. Render the next glyph
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
GlyphGeometry
-
-
Method Details
-
getClassHandler
-