You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/pitfall/fontkit/glyphrun.rkt

10 lines
432 B
Racket

#lang fontkit/racket
(require "bbox.rkt" (prefix-in Script- "script.rkt"))
(provide (all-defined-out))
;; Represents a run of Glyph and GlyphPosition objects.
;; Returned by the font layout method.
(define-subclass object% (GlyphRun
glyphs ; An array of Glyph objects in the run
positions) ; An array of GlyphPosition objects for each glyph in the run
)