NEURON
Extension Class Reference

#include <geometry.h>

Public Member Functions

 Extension ()
 
 Extension (const Extension &)
 
void operator= (const Extension &)
 
void set (Canvas *, const Allocation &)
 
void set_xy (Canvas *, Coord left, Coord bottom, Coord right, Coord top)
 
void clear ()
 
void merge (const Extension &)
 
void merge (Canvas *, const Allocation &)
 
void merge_xy (Canvas *, Coord left, Coord bottom, Coord right, Coord top)
 
Coord left () const
 
Coord bottom () const
 
Coord right () const
 
Coord top () const
 

Static Public Member Functions

static void transform_xy (Canvas *, Coord &left, Coord &bottom, Coord &right, Coord &top)
 

Private Attributes

Coord x_begin_
 
Coord x_end_
 
Coord y_begin_
 
Coord y_end_
 

Detailed Description

Definition at line 175 of file geometry.h.

Constructor & Destructor Documentation

◆ Extension() [1/2]

Extension::Extension ( )

Definition at line 50 of file math.cpp.

◆ Extension() [2/2]

Extension::Extension ( const Extension )

Member Function Documentation

◆ bottom()

Coord Extension::bottom ( ) const
inline

Definition at line 298 of file geometry.h.

◆ clear()

void Extension::clear ( )

◆ left()

Coord Extension::left ( ) const
inline

Definition at line 297 of file geometry.h.

◆ merge() [1/2]

void Extension::merge ( const Extension )

◆ merge() [2/2]

void Extension::merge ( Canvas ,
const Allocation  
)

◆ merge_xy()

void Extension::merge_xy ( Canvas ,
Coord  left,
Coord  bottom,
Coord  right,
Coord  top 
)

◆ operator=()

void Extension::operator= ( const Extension )

◆ right()

Coord Extension::right ( ) const
inline

Definition at line 299 of file geometry.h.

◆ set()

void Extension::set ( Canvas ,
const Allocation  
)

◆ set_xy()

void Extension::set_xy ( Canvas ,
Coord  left,
Coord  bottom,
Coord  right,
Coord  top 
)

Definition at line 52 of file math.cpp.

◆ top()

Coord Extension::top ( ) const
inline

Definition at line 300 of file geometry.h.

◆ transform_xy()

static void Extension::transform_xy ( Canvas ,
Coord left,
Coord bottom,
Coord right,
Coord top 
)
static

Member Data Documentation

◆ x_begin_

Coord Extension::x_begin_
private

Definition at line 199 of file geometry.h.

◆ x_end_

Coord Extension::x_end_
private

Definition at line 200 of file geometry.h.

◆ y_begin_

Coord Extension::y_begin_
private

Definition at line 201 of file geometry.h.

◆ y_end_

Coord Extension::y_end_
private

Definition at line 202 of file geometry.h.


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