class GMapRect: public GMapArea

Implements rectangular map areas.

Inheritance:


Public Methods

[more]int get_width(void) const
Returns the width of the rectangle
[more]int get_height(void) const
Returns the height of the rectangle
[more] operator GRect(void)
Returns GRect describing the map area's rectangle
[more]GMapRect& operator=(const GRect & rect)
Changes the GMapRect's geometry
[more]virtual MapAreaType const get_shape_type( void ) const
Returns MapRect
[more]virtual char const* const get_shape_name(void) const
Returns "rect"
[more]virtual GP<GMapArea> get_copy(void) const
Returns a copy of the rectangle


Inherited from GMapArea:

Public Fields

oGString url
oGString target
oGString comment
oBorderType border_type
obool border_always_visible
ounsigned long int border_color
oint border_width
ounsigned long int hilite_color

Public Methods

obool is_point_inside(int x, int y)
oint get_xmin(void)
oint get_ymin(void)
oint get_xmax(void)
oint get_ymax(void)
oGRect get_bound_rect(void)
ovoid move(int dx, int dy)
ovoid resize(int new_width, int new_height)
ovoid transform(const GRect & grect)
ochar const* const check_object(void)
oGString print(void)
ovirtual void get_coords( GList<int> & CoordList )

Public

o


Inherited from GPEnabled:

Public Methods

oint get_count(void) const

Protected Fields

ovolatile int count


Documentation

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.
oint get_width(void) const
Returns the width of the rectangle

oint get_height(void) const
Returns the height of the rectangle

o operator GRect(void)
Returns GRect describing the map area's rectangle

oGMapRect& operator=(const GRect & rect)
Changes the GMapRect's geometry

ovirtual MapAreaType const get_shape_type( void ) const
Returns MapRect

ovirtual char const* const get_shape_name(void) const
Returns "rect"

ovirtual GP<GMapArea> get_copy(void) const
Returns a copy of the rectangle


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java


DjVu is a trademark of LizardTech, Inc.
All other products mentioned are registered trademarks or trademarks of their respective companies.