FLTK
Fl_Cairo_State Class Reference

Contains all the necessary info on the current cairo context. More...

#include <Fl_Cairo.H>

Public Member Functions

void autolink (bool b)
 Sets the autolink option, only available with –enable-cairoext.
 
void cc (cairo_t *c, bool own=true)
 Sets the current cairo context. More...
 

Detailed Description

Contains all the necessary info on the current cairo context.

A private internal & unique corresponding object is created to permit cairo context state handling while keeping it opaque. For internal use only.

Note
Only available when configure has the –enable-cairo option

Member Function Documentation

◆ cc()

void Fl_Cairo_State::cc ( cairo_t *  c,
bool  own = true 
)
inline

Sets the current cairo context.

own == true (the default) indicates that the cairo context c will be deleted by FLTK internally when another cc is set later.

own == false indicates cc deletion is handled externally by the user program.


The documentation for this class was generated from the following files: