Rect Class Reference

#include <rect.h>

Inheritance diagram for Rect:
Inheritance graph
[legend]
Collaboration diagram for Rect:
Collaboration graph
[legend]

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]

References b_.

Coord Rect::bottom (  )  const [inline]

References b_.

virtual void Rect::draw ( Canvas *  ,
const Allocation &   
) const [virtual]
void Rect::height ( Coord  x  )  [inline]

References h_.

Coord Rect::height (  )  const [inline]

References h_.

void Rect::left ( Coord  x  )  [inline]

References l_.

Coord Rect::left (  )  const [inline]

References l_.

Referenced by PrintableWindow::xleft().

virtual void Rect::pick ( Canvas *  ,
const Allocation &  ,
int  depth,
Hit &   
) [virtual]
virtual void Rect::request ( Requisition &   )  const [virtual]
Coord Rect::right (  )  const [inline]

References l_, and w_.

Coord Rect::top (  )  const [inline]

References b_, and h_.

Referenced by PrintableWindow::xtop().

void Rect::width ( Coord  x  )  [inline]

References w_.

Coord Rect::width (  )  const [inline]

References w_.


Member Data Documentation

Coord Rect::b_ [private]

Referenced by bottom(), and top().

Coord Rect::h_ [private]

Referenced by height(), and top().

Coord Rect::l_ [private]

Referenced by left(), and right().

Coord Rect::w_ [private]

Referenced by right(), and width().


The documentation for this class was generated from the following file:
Generated on Mon Jun 13 08:10:32 2011 for NEURON by  doxygen 1.6.3