The OpenD Programming Language

ToyFontFace.this

Creates a font face from a triplet of family, slant, and weight. These font faces are used in implementation of the the cairo "toy" font API.

If family is the zero-length string "", the platform-specific default family is assumed. The default family then can be queried using getFamily().

The Context.selectFontFace() function uses this to create font faces. See that function for limitations and other details of toy font faces.

  1. this(cairo_font_face_t* ptr)
  2. this(string family, FontSlant slant, FontWeight weight)
    class ToyFontFace
    this
    (
    string family
    ,
    FontSlant slant
    ,
    FontWeight weight
    )

Meta