Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pangoCairoCreateContext

pangoCairoCreateContext


Description

Creates a context object set up to match the current transformation and target surface of the Cairo context. This context can then be used to create a layout using pangoLayoutNew.

Usage

pangoCairoCreateContext(cr)

Arguments

cr

[Cairo] a Cairo context

Details

This function is a convenience function that creates a context using the default font map, then updates it to cr. If you just need to create a layout for use with cr and do not need to access PangoContext directly, you can use pangoCairoCreateLayout instead. Since 1.22

Value

[PangoContext] the newly created PangoContext.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.