Gambas Documentation - /comp/gb.cairo/.cairo.font/matrix

/comp/gb.cairo/.cairo.font/matrix

# .Cairo.Font.Matrix (gb.cairo)

Static Property Matrix As CairoMatrix

Return or set the font matrix.

The font matrix gives a transformation from the design space of the font (in this space, the em-square is 1 unit by 1 unit) to user space. Normally, a simple scale is used (see Size), but a more complex font matrix can be used to shear the font or stretch it unequally along the two axes.

### See also

- Size