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

gdk-Cairo-Interaction

Cairo Interaction


Description

Functions to support using Cairo

Methods and Functions

gdkCairoCreate(drawable)
gdkCairoSetSourceColor(cr, color)
gdkCairoSetSourcePixbuf(cr, pixbuf, pixbuf.x, pixbuf.y)
gdkCairoSetSourcePixmap(cr, pixmap, pixmap.x, pixmap.y)
gdkCairoRectangle(cr, rectangle)
gdkCairoRegion(cr, region)
gdkCairoResetClip(cr, drawable)

Detailed Description

Cairo (http://cairographics.org) is a graphics library that supports vector graphics and image compositing that can be used with GDK. Since 2.8, GTK+ does most of its drawing using Cairo.

GDK does not wrap the Cairo API, instead it allows to create Cairo contexts which can be used to draw on GDK drawables. Additional functions allow to convert GDK's rectangles and regions into Cairo paths and to use pixbufs as sources for drawing operations.

Author(s)

Derived by RGtkGen from GTK+ documentation

References


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.