GMapRect Class Reference
Implements rectangular map areas.
More...
#include <GMapAreas.h>
List of all members.
Detailed Description
Implements rectangular map areas.
This is the only kind of map areas supporting SHADOW_IN_BORDER#, SHADOW_OUT_BORDER#, SHADOW_EIN_BORDER# and SHADOW_EOUT_BORDER# types of border and area highlighting.
Definition at line 290 of file GMapAreas.h.
Constructor & Destructor Documentation
GMapRect::GMapRect |
( |
void |
|
) |
[protected] |
GMapRect::GMapRect |
( |
const GRect & |
rect |
) |
[protected] |
GMapRect::~GMapRect |
( |
|
) |
[virtual] |
Member Function Documentation
static GP<GMapRect> GMapRect::create |
( |
const GRect & |
rect |
) |
[inline, static] |
static GP<GMapRect> GMapRect::create |
( |
void |
|
) |
[inline, static] |
GP< GMapArea > GMapRect::get_copy |
( |
void |
|
) |
const [virtual] |
int GMapRect::get_height |
( |
void |
|
) |
const [inline] |
Returns the height of the rectangle.
Definition at line 306 of file GMapAreas.h.
char const *const GMapRect::get_shape_name |
( |
void |
|
) |
const [inline, virtual] |
virtual MapAreaType const GMapRect::get_shape_type |
( |
void |
|
) |
const [inline, virtual] |
int GMapRect::get_width |
( |
void |
|
) |
const [inline] |
Returns the width of the rectangle.
Definition at line 304 of file GMapAreas.h.
GUTF8String GMapRect::get_xmltag |
( |
const int |
height |
) |
const [virtual] |
char const *const GMapRect::gma_check_object |
( |
void |
|
) |
const [inline, protected, virtual] |
int GMapRect::gma_get_xmax |
( |
void |
|
) |
const [inline, protected, virtual] |
int GMapRect::gma_get_xmin |
( |
void |
|
) |
const [inline, protected, virtual] |
int GMapRect::gma_get_ymax |
( |
void |
|
) |
const [inline, protected, virtual] |
int GMapRect::gma_get_ymin |
( |
void |
|
) |
const [inline, protected, virtual] |
bool GMapRect::gma_is_point_inside |
( |
const int |
x, |
|
|
const int |
y | |
|
) |
| | const [protected, virtual] |
void GMapRect::gma_move |
( |
int |
dx, |
|
|
int |
dy | |
|
) |
| | [protected, virtual] |
GUTF8String GMapRect::gma_print |
( |
void |
|
) |
[protected, virtual] |
void GMapRect::gma_resize |
( |
int |
new_width, |
|
|
int |
new_height | |
|
) |
| | [protected, virtual] |
void GMapRect::gma_transform |
( |
const GRect & |
grect |
) |
[protected, virtual] |
Virtual function maps rectangle from one area to another using mapper.
Implements GMapArea.
Definition at line 414 of file GMapAreas.cpp.
GMapRect::operator GRect |
( |
void |
|
) |
[inline] |
Returns {GRect} describing the map area's rectangle.
Definition at line 491 of file GMapAreas.h.
void GMapRect::unmap |
( |
GRectMapper & |
mapper |
) |
[virtual] |
Virtual function unmaps rectangle from one area to another using mapper.
Implements GMapArea.
Definition at line 430 of file GMapAreas.cpp.
Member Data Documentation
The documentation for this class was generated from the following files: