golib  0.5
goGUI::Draw Class Reference

Interface for drawing on a drawable widget. More...

#include <draw.h>

Public Member Functions

 Draw (Glib::RefPtr< Gdk::Window > drawable)
 
void line (goDouble x0, goDouble y0, goDouble x1, goDouble y1)
 
void point (goDouble x0, goDouble y0)
 
void curve (const goMatrixd &points)
 
void image (const goSignal3D< void > &image)
 
Cairo::RefPtr< Cairo::Context > getCairo ()
 

Detailed Description

Interface for drawing on a drawable widget.

This currently uses Gdk::Drawable, and will in the future use Cairo (in newer versions of gtkmm).

In the constructor, give e.g. the result from Widget::get_window().


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