Main Page Class Hierarchy Compound List File List Compound Members File Members

# Arectangle Class Reference

`#include <rectangle.h>`

List of all members.

## Public Methods
| Arectangle ()
| Arectangle (Arectangle &r)
| Arectangle (int x, int y, int w, int h)
| Arectangle (int x, int y)
void | intersect (Arectangle &r)
void | add (Arectangle &r)
void | add (int x, int y)
void | translat (int x, int y)
bool | contains (int x, int y)
## Public Attributes
int | x
int | y
int | w
int | h

## Constructor & Destructor Documentation

Arectangle::Arectangle | ( |  | ) | `[inline]`

__inline Arectangle::Arectangle | ( | Arectangle & | r | ) |

__inline Arectangle::Arectangle | ( | int | x,
|  | int | y,
|  | int | w,
|  | int | h
| ) |

__inline Arectangle::Arectangle | ( | int | x,
|  | int | y
| ) |

## Member Function Documentation

__inline void Arectangle::add | ( | int | rx,
|  | int | ry
| ) |

__inline void Arectangle::add | ( | Arectangle & | r | ) |

__inline bool Arectangle::contains | ( | int | x,
|  | int | y
| ) |

__inline void Arectangle::intersect | ( | Arectangle & | r | ) |

__inline void Arectangle::translat | ( | int | x,
|  | int | y
| ) |

## Member Data Documentation

int Arectangle::h

int Arectangle::w

int Arectangle::x

int Arectangle::y

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

- rectangle.h