gdkCairoResetClip: gdkCairoResetClip

Description Usage Arguments Details Author(s)

View source: R/gdkFuncs.R

Description

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

Usage

1
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 documentation built on Oct. 14, 2021, 5:08 p.m.