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

cairoGetTarget

cairoGetTarget


Description

Gets the target surface for the cairo context as passed to cairoCreate.

Usage

cairoGetTarget(cr)

Arguments

cr

[Cairo] a cairo context

Details

This function will always return a valid pointer, but the result can be a "nil" surface if cr is already in an error state, (ie. cairoStatus != CAIRO_STATUS_SUCCESS). A nil surface is indicated by cairoSurfaceStatus != CAIRO_STATUS_SUCCESS.

Value

[CairoSurface] the target surface. To keep a reference to it,

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.