GlyphString

class GlyphString(pointer: <Error class: unknown class><<Error class: unknown class>>)

A PangoGlyphString 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.

Skipped during bindings generation

  • parameter logical_widths: Array parameter of type gint is not supported

  • parameter x_pos: x_pos: Out parameter is not supported

  • parameter x_pos: x_pos: Out parameter is not supported

  • parameter index: index: Out parameter is not supported

  • field glyphs: GlyphInfo

  • field log_clusters: Unsupported pointer to primitive type

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var numGlyphs: <Error class: unknown class>

number of glyphs in this glyph string

Link copied to clipboard
val pangoGlyphStringPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard

Copy a glyph string and associated storage.

Link copied to clipboard
fun extents(font: Font, inkRect: Rectangle?, logicalRect: Rectangle?)

Compute the logical and ink extents of a glyph string.

Link copied to clipboard
fun extentsRange(start: <Error class: unknown class>, end: <Error class: unknown class>, font: Font, inkRect: Rectangle?, logicalRect: Rectangle?)

Computes the extents of a sub-portion of a glyph string.

Link copied to clipboard
fun free()

Free a glyph string and associated storage.

Link copied to clipboard
fun getWidth(): <Error class: unknown class>

Computes the logical width of the glyph string.

Link copied to clipboard
fun setSize(newLen: <Error class: unknown class>)

Resize a glyph string to the given length.

Link copied to clipboard
open override fun toString(): String