RGtk2 (version 2.20.31)

cairoSetFontFace: cairoSetFontFace

Description

Replaces the current CairoFontFace object in the Cairo with font.face. The replaced font face in the Cairo will be destroyed if there are no other references to it.

Usage

cairoSetFontFace(cr, font.face)

Arguments

cr
font.face
[CairoFontFace] a CairoFontFace, or NULL to restore to the default font