![]() | Macro Programming | ![]() |
#include <rect.h>
Public Member Functions | |
int | bottom () |
get bottom | |
int | left () |
get left | |
int | right () |
get right | |
void | setBottom (int bottom) |
set bottom | |
void | setLeft (int left) |
set left | |
void | setRight (int right) |
set right | |
void | setTop (int top) |
set top | |
int | top () |
get top |
A rectangle
int rect::bottom | ( | ) |
get bottom
Get bottom.
int rect::left | ( | ) |
get left
Get left.
int rect::right | ( | ) |
get right
Get right.
void rect::setBottom | ( | int | bottom | ) |
set bottom
Set bottom.
void rect::setLeft | ( | int | left | ) |
set left
Set left.
void rect::setRight | ( | int | right | ) |
set right
Set right.
void rect::setTop | ( | int | top | ) |
set top
Set top.
int rect::top | ( | ) |
get top
Get top.