Package: pango

GBoxed pango:item

Declaration

;; Internal structure to access the fields
(cffi:defcstruct %item
  (offset :int)
  (length :int)
  (num-chars :int)
  (analysis analysis))

(glib:define-gboxed-opaque item "PangoItem" :export t :type-initializer "pango_item_get_type" :alloc (%item-new))

Values

offset
Byte offset of the start of this item in text.
length
Length of this item in bytes.
num-chars
Number of Unicode characters in the item.
analysis
The pango:analysis instance with the analysis results for the item.

Details

The pango:item structure stores information about a segment of text.
 

Returned by

Slot Access Functions

See also

2025-3-2