golib
0.5
|
Box object. Draws a box. More...
#include <object2dbox.h>
Public Member Functions | |
Object2DBox (goDouble x1=0.0, goDouble y1=0.0, goDouble x2=0.0, goDouble y2=0.0) | |
void | setCorners (goDouble x1, goDouble y1, goDouble x2, goDouble y2) |
void | setCorners (const goMatrixd &) |
const goMatrixd & | getCorners () const |
LineTraits & | lineTraits () |
const LineTraits & | lineTraits () const |
virtual void | draw () |
![]() | |
virtual void | setContext (cairo_t *c) |
const Trafo2D & | transform () const |
void | setTransform (const Trafo2D &T) |
cairo_t * | context () |
const cairo_t * | context () const |
bool | visible () const |
void | setVisible (bool t) |
void | applyTransform (cairo_t *cr) |
Box object. Draws a box.