|
mkRPG
|
Definition of the MapPainter class and other related classes to render maps. More...
Go to the source code of this file.
Data Structures | |
| class | RlCoords |
| The RlCoords class describe positions with relative coordinates. More... | |
| class | ClCoords |
| The ClCoords class describe positions with cell coordinates. More... | |
| class | PtCoords |
| The PtCoords class describe positions with virtual point coordinates. More... | |
| class | PxCoords |
| The PxCoords class describe positions with real pixel coordinates. More... | |
| class | MapPainter |
| The MapPainter class that can paint a Map using a QPainter. More... | |
Defines | |
| #define | MINMAX(a, x, b) std::min(std::max(a,x),b) |
Functions | |
| MapPainter::Element | operator| (MapPainter::Element a, MapPainter::Element b) |
| The operator | is the flag OR operation. | |
| MapPainter::Element | operator& (MapPainter::Element a, MapPainter::Element b) |
| The operator & is the flag AND operation. | |
| MapPainter::Element | operator^ (MapPainter::Element a, MapPainter::Element b) |
| The operator ^ is the flag substraction operation. | |
Definition of the MapPainter class and other related classes to render maps.
This file defines four types of coordinates : RlCoords, ClCoords, PtCoords and PxCoords. They all inherit from QPointF, and give a static type checking for the consistency of the coordinates which are used.
| MapPainter::Element operator^ | ( | MapPainter::Element | a, |
| MapPainter::Element | b | ||
| ) | [inline] |
The operator ^ is the flag substraction operation.
1.7.6.1