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