This is the base object for all map areas.
This is the base object for all map areas. It defines some standard interface to access the geometrical properties of the areas and describes the area itsef:
- url If the optional URL is specified, the map area will also work as a hyperlink meaning that if you click it with your mouse pointer, the browser will be advised to load the page referenced by the URL.
- target Defines where the specified URL should be loaded
- comment This is a string displayed in a status line or in a popup window when the mouse pointer moves over the hyperlink area
- border_type, border_color and border_width describes how the area border should be drawn
- area_color describes how the area should be highlighted.
The map areas can be displayed using two different techniques, which can be combined together:
- Visible border. The border of a map area can be drawn in several different ways (like XOR_BORDER or SHADOW_IN_BORDER). It can be made always visible, or appearing only when the mouse pointer moves over the map area.
- Highlighted contents. Contents of rectangular map areas can also be highlighted with some given color.
GString target
GString comment
BorderType border_type
bool border_always_visible
unsigned long int border_color
int border_width
unsigned long int hilite_color
GMapArea(void)
bool is_point_inside(int x, int y)
int get_xmin(void)
int get_ymin(void)
int get_xmax(void)
int get_ymax(void)
GRect get_bound_rect(void)
void move(int dx, int dy)
void resize(int new_width, int new_height)
void transform(const GRect & grect)
char const* const check_object(void)
GString print(void)
virtual MapAreaType const get_shape_type( void ) const
virtual char const* const get_shape_name(void) const
virtual GP<GMapArea> get_copy(void) const
virtual void get_coords( GList<int> & CoordList )
Alphabetic index HTML hierarchy of classes or Java