Common Lisp Package: CL-GTK2-CAIRO

README:

FUNCTION

Public

CREATE-GDK-CONTEXT (GDK-DRAWABLE)

creates an context to draw on a GTK widget, more precisely on the associated gdk-window. This should only be called from within the expose event. In cells-gtk, use (gtk-adds-widget-window gtk-pointer) to obtain the gdk-window. 'gtk-pointer' is the pointer parameter passed to the expose event handler.

Undocumented

GDK-CAIRO-REGION (REGION &OPTIONAL (CONTEXT *CONTEXT*))

GDK-CAIRO-RESET-CLIP (DRAWABLE &OPTIONAL (CONTEXT *CONTEXT*))

GDK-CAIRO-SET-SOURCE-PIXBUF (PIXBUF PIXBUF-X PIXBUF-Y &OPTIONAL (CONTEXT *CONTEXT*))

GDK-CAIRO-SET-SOURCE-PIXMAP (PIXMAP PIXMAP-X PIXMAP-Y &OPTIONAL (CONTEXT *CONTEXT*))

Private

Undocumented

GDK-CAIRO-CREATE (DRAWABLE)

GDK_CAIRO_REGION (CR REGION)

GDK_CAIRO_RESET_CLIP (CR DRAWABLE)

GDK_CAIRO_SET_SOURCE_PIXBUF (CR PIXBUF PIXBUF-X PIXBUF-Y)

GDK_CAIRO_SET_SOURCE_PIXMAP (CR PIXMAP PIXMAP-X PIXMAP-Y)

MACRO

Public

WITH-GDK-CONTEXT ((CONTEXT GDK-DRAWABLE) &BODY BODY)

Executes body while context is bound to a valid cairo context for gdk-window. This should only be called from within an expose event handler. In cells-gtk, use (gtk-adds-widget-window gtk-pointer) to obtain the gdk-window. 'gtk-pointer' is the pointer parameter passed to the expose event handler.

CLASS

Public

Undocumented

GDK-CONTEXT