cairoSetScaledFont {RGtk2} | R Documentation

## cairoSetScaledFont

### Description

Replaces the current font face, font matrix, and font options in the `Cairo` with those of the `CairoScaledFont`. Except for some translation, the current CTM of the `Cairo` should be the same as that of the `CairoScaledFont`, which can be accessed using `cairoScaledFontGetCtm`.

### Usage

    cairoSetScaledFont(cr, scaled.font)

### Arguments

``cr`` | [`Cairo`] a `Cairo`
``scaled.font`` | [`CairoScaledFont`] a `CairoScaledFont`

### Details

Since 1.2

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]