golib
0.5
|
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 () |
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()
.