Name
cglyphs:Set -- set glyph index and offset
Synopsis
cglyphs:Set(n, index, x, y)
Function
Set information about the glyph at index n in the glyphs array. index specifies the glyph index in the font. The exact interpretation of the glyph index depends on the font technology being used. x and y specify the offset in the X and Y direction between the origin used for drawing or measuring the string and the origin of this glyph.

Inputs
n
glyph to set
index
glyph ID
x
x offset of the glyph
y
y offset of the glyph

Show TOC