ScaledFont.this

Creates a ScaledFont object from a font face and matrices that describe the size of the font and the environment in which it will be used.

  1. this(cairo_scaled_font_t* ptr)
  2. this(FontFace font_face, Matrix font_matrix, Matrix ctm, FontOptions options)

Parameters

font_matrix Matrix

font space to user space transformation matrix for the font. In the simplest case of a N point font, this matrix is just a scale by N, but it can also be used to shear the font or stretch it unequally along the two axes. See Context.setFontMatrix().

ctm Matrix

user to device transformation matrix with which the font will be used.

Meta