GMapOval Class Reference
#include <GMapAreas.h>
Inheritance diagram for GMapOval:

Detailed Description
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.
Definition at line 435 of file GMapAreas.h.
GMapAreas.h | |
| Files #"GMapAreas.h"# and #"GMapAreas.cpp"# implement base objects used by the plugin to display and manage hyperlinks and highlighted areas inside a DjVuImage} page. The currently supported areas can be rectangular (GMapRect}), elliptical (GMapOval}) and polygonal (GMapPoly}). Every map area besides the definition of its shape contains information about display style and optional { URL}, which it may refer to. If this { URL} is not empty then the map area will work like a hyperlink. The classes also implement some useful functions to ease geometry manipulations Definition of base map area classes
| |
| int | get_a (void) const |
| int | get_b (void) const |
| int | get_rmin (void) const |
| int | get_rmax (void) const |
| virtual char const *const | get_shape_name (void) const |
| virtual int | gma_get_xmin (void) const |
| virtual int | gma_get_ymin (void) const |
| virtual int | gma_get_xmax (void) const |
| virtual int | gma_get_ymax (void) const |
Public Member Functions | |
| virtual | ~GMapOval () |
| virtual GUTF8String | get_xmltag (const int height) const |
| virtual MapAreaType const | get_shape_type (void) const |
| virtual GP< GMapArea > | get_copy (void) const |
| virtual void | map (GRectMapper &mapper) |
| virtual void | unmap (GRectMapper &mapper) |
Static Public Member Functions | |
| static GP< GMapOval > | create (void) |
| static GP< GMapOval > | create (const GRect &rect) |
Protected Member Functions | |
| GMapOval (void) | |
| GMapOval (const GRect &rect) | |
| virtual void | gma_move (int dx, int dy) |
| virtual void | gma_resize (int new_width, int new_height) |
| virtual void | gma_transform (const GRect &grect) |
| virtual bool | gma_is_point_inside (const int x, const int y) const |
| virtual char const *const | gma_check_object (void) const |
| virtual GUTF8String | gma_print (void) |
Constructor & Destructor Documentation
| GMapOval::~GMapOval | ( | ) | [virtual] |
Member Function Documentation
| int GMapOval::get_a | ( | void | ) | const [inline] |
| int GMapOval::get_b | ( | void | ) | const [inline] |
| int GMapOval::get_rmax | ( | void | ) | const [inline] |
| int GMapOval::get_rmin | ( | void | ) | const [inline] |
| char const *const GMapOval::get_shape_name | ( | void | ) | const [inline, virtual] |
| virtual MapAreaType const GMapOval::get_shape_type | ( | void | ) | const [inline, virtual] |
| void GMapOval::map | ( | GRectMapper & | mapper | ) | [virtual] |
Virtual function maps oval from one area to another using mapper.
Implements GMapArea.
Definition at line 853 of file GMapAreas.cpp.
| void GMapOval::unmap | ( | GRectMapper & | mapper | ) | [virtual] |
Virtual function unmaps oval from one area to another using mapper.
Implements GMapArea.
Definition at line 871 of file GMapAreas.cpp.
The documentation for this class was generated from the following files:

