Rect Class Reference
#include <rect.h>
List of all members.
Public Member Functions |
| | Rect (Coord left, Coord bottom, Coord width, Coord height, const Color *c=nil, const Brush *b=nil) |
| virtual void | request (Requisition &) const |
| virtual void | allocate (Canvas *, const Allocation &, Extension &) |
| virtual void | draw (Canvas *, const Allocation &) const |
| virtual void | pick (Canvas *, const Allocation &, int depth, Hit &) |
| Coord | left () const |
| Coord | right () const |
| Coord | top () const |
| Coord | bottom () const |
| Coord | width () const |
| Coord | height () const |
| void | left (Coord) |
| void | bottom (Coord) |
| void | width (Coord) |
| void | height (Coord) |
Private Attributes |
| Coord | l_ |
| Coord | b_ |
| Coord | w_ |
| Coord | h_ |
Constructor & Destructor Documentation
| Rect::Rect |
( |
Coord |
left, |
|
|
Coord |
bottom, |
|
|
Coord |
width, |
|
|
Coord |
height, |
|
|
const Color * |
c = nil, |
|
|
const Brush * |
b = nil | |
|
) |
| | |
Member Function Documentation
| virtual void Rect::allocate |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
Extension & |
| |
|
) |
| | [virtual] |
| void Rect::bottom |
( |
Coord |
x |
) |
[inline] |
| Coord Rect::bottom |
( |
|
) |
const [inline] |
| virtual void Rect::draw |
( |
Canvas * |
, |
|
|
const Allocation & |
| |
|
) |
| | const [virtual] |
| void Rect::height |
( |
Coord |
x |
) |
[inline] |
| Coord Rect::height |
( |
|
) |
const [inline] |
| void Rect::left |
( |
Coord |
x |
) |
[inline] |
| Coord Rect::left |
( |
|
) |
const [inline] |
| virtual void Rect::pick |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
int |
depth, |
|
|
Hit & |
| |
|
) |
| | [virtual] |
| virtual void Rect::request |
( |
Requisition & |
|
) |
const [virtual] |
| Coord Rect::right |
( |
|
) |
const [inline] |
| Coord Rect::top |
( |
|
) |
const [inline] |
| void Rect::width |
( |
Coord |
x |
) |
[inline] |
| Coord Rect::width |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/hines/neuron/nrndox/src/ivoc/rect.h