fltk/fltk_cairo.h File Reference


Namespaces

namespace  fltk

Functions

cairo_surface_t * fltk::cairo_create_surface (Window *w)

Variables

cairo_t * fltk::cr

Detailed Description

"Portably" include cairo common definitions for fltk. If fltk is compiled correctly, you can create a cairo "surface" from an fltk Window and then make your own cairo context to draw into it.

FLTK may also be compiled to use cairo for all it's drawing, by adding --enable_cairo when running ./configure. In this case this has already been done when draw() is called, and the cairo context is in fltk::cc.


Wed Jun 17 08:49:29 2009. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.