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

gdkCairoResetClip

gdkCairoResetClip


Description

Resets the clip region for a Cairo context created by gdkCairoCreate.

Usage

gdkCairoResetClip(cr, drawable)

Arguments

cr

a Cairo

drawable

a GdkDrawable

Details

This resets the clip region to the "empty" state for the given drawable. This is required for non-native windows since a direct call to cairoResetClip would unset the clip region inherited from the drawable (i.e. the window clip region), and thus let you e.g. draw outside your window.

This is rarely needed though, since most code just create a new cairo_t using gdkCairoCreate each time they want to draw something. Since 2.18

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.