NEURON
Rectangle Class Reference

#include <rect.h>

Inheritance diagram for Rectangle:
Appear

Public Member Functions

 Rectangle (float height, float width, bool filled=false, const Color *color=NULL, const Brush *brush=NULL)
 
virtual ~Rectangle ()
 
virtual void request (Requisition &) const
 
virtual void allocate (Canvas *, const Allocation &, Extension &)
 
virtual void draw (Canvas *, const Allocation &) const
 
- Public Member Functions inherited from Appear
virtual ~Appear ()
 
const Colorcolor () const
 
void color (const Color *)
 
const Brushbrush () const
 
void brush (const Brush *)
 

Private Attributes

float height_
 
float width_
 
bool filled_
 

Additional Inherited Members

- Static Public Member Functions inherited from Appear
static const Colordefault_color ()
 
static const Brushdefault_brush ()
 
- Protected Member Functions inherited from Appear
 Appear (const Color *color=NULL, const Brush *brush=NULL)
 

Detailed Description

Definition at line 109 of file rect.h.

Constructor & Destructor Documentation

◆ Rectangle()

Rectangle::Rectangle ( float  height,
float  width,
bool  filled = false,
const Color color = NULL,
const Brush brush = NULL 
)

◆ ~Rectangle()

virtual Rectangle::~Rectangle ( )
virtual

Member Function Documentation

◆ allocate()

virtual void Rectangle::allocate ( Canvas ,
const Allocation ,
Extension  
)
virtual

◆ draw()

virtual void Rectangle::draw ( Canvas ,
const Allocation  
) const
virtual

◆ request()

virtual void Rectangle::request ( Requisition ) const
virtual

Member Data Documentation

◆ filled_

bool Rectangle::filled_
private

Definition at line 125 of file rect.h.

◆ height_

float Rectangle::height_
private

Definition at line 123 of file rect.h.

◆ width_

float Rectangle::width_
private

Definition at line 124 of file rect.h.


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