Skip to content

API Reference / @gtkx/cairo / CairoGlyph

Type Alias: CairoGlyph ​

CairoGlyph = object

Defined in: packages/cairo/src/types.ts:2

One glyph to draw: its index in the font and its position in user space.

Properties ​

index ​

index: number

Defined in: packages/cairo/src/types.ts:4

Index of the glyph in the font.


x ​

x: number

Defined in: packages/cairo/src/types.ts:6

Horizontal position of the glyph origin.


y ​

y: number

Defined in: packages/cairo/src/types.ts:8

Vertical position of the glyph origin.