38# ifdef FLTK_HAVE_CAIRO
65 cairo_t *
cc()
const {
return cc_; }
75 void cc(cairo_t *c,
bool own =
true) {
83 void autolink(
bool b);
84 void window(
void *w) { window_ = w; }
85 void *
window()
const {
return window_; }
86 void gc(
void *c) { gc_ = c; }
87 void *
gc()
const {
return gc_; }
Contains all the necessary info on the current cairo context.
Definition: Fl_Cairo.H:55
void window(void *w)
Sets the window w to keep track on.
Definition: Fl_Cairo.H:84
void cc(cairo_t *c, bool own=true)
Sets the current cairo context.
Definition: Fl_Cairo.H:75
void * gc() const
Gets the last gc attached to a cc.
Definition: Fl_Cairo.H:87
void * window() const
Gets the last window attached to a cc.
Definition: Fl_Cairo.H:85
void gc(void *c)
Sets the gc c to keep track on.
Definition: Fl_Cairo.H:86
cairo_t * cc() const
Gets the current cairo context.
Definition: Fl_Cairo.H:65
bool autolink() const
Gets the autolink option. See Fl::cairo_autolink_context(bool)
Definition: Fl_Cairo.H:66