class GMapOval: public GMapArea

Implements elliptical map areas.

Inheritance:


Public Methods

[more]int get_a(void) const
Returns (xmax-xmin)/2
[more]int get_b(void) const
Returns (ymax-ymin)/2
[more]int get_rmin(void) const
Returns the lesser of get_a() and get_b()
[more]int get_rmax(void) const
Returns the greater of get_a() and get_b()
[more]virtual MapAreaType const get_shape_type( void ) const
Returns MapOval
[more]virtual char const* const get_shape_name(void) const
Returns "oval"
[more]virtual GP<GMapArea> get_copy(void) const
Returns a copy of the oval


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

oGPEnabled& operator=(const GPEnabled & obj)
oint get_count(void) const

Protected Fields

ovolatile int count


Documentation

Implements elliptical map areas. The only supported types of border are NO_BORDER, XOR_BORDER and SOLID_BORDER. Its contents can not be highlighted either.
oint get_a(void) const
Returns (xmax-xmin)/2

oint get_b(void) const
Returns (ymax-ymin)/2

oint get_rmin(void) const
Returns the lesser of get_a() and get_b()

oint get_rmax(void) const
Returns the greater of get_a() and get_b()

ovirtual MapAreaType const get_shape_type( void ) const
Returns MapOval

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

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


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.