|
wxArt2D
|
a2dTileBox is a subarea of a tile. More...
#include <drawer.h>

Public Member Functions | |
| a2dTileBox (int x1=0, int y1=0, int x2=0, int y2=0) | |
| constructor | |
| ~a2dTileBox () | |
| destructor | |
| void | Init (int x1=0, int y1=0, int x2=0, int y2=0) |
| Initialize a tile. | |
| void | Expand (int x1, int y1, int x2, int y2) |
| expand a tile with this box | |
| int | x1p () |
| get x1 in pixel coordinates | |
| int | y1p () |
| get y1 in pixel coordinates | |
| int | x2p () |
| get x2 in pixel coordinates | |
| int | y2p () |
| get y2 in pixel coordinates | |
Public Attributes | |
| bool | m_valid |
| if set, true | |
| int | m_x1 |
| x1 in pixel coordinates | |
| int | m_y1 |
| y1 in pixel coordinates | |
| int | m_x2 |
| x2 in pixel coordinates | |
| int | m_y2 |
| y2 in pixel coordinates | |
| a2dUpdateArea * | m_rectPrevRow |
| prev row pointer to combine tiles into rectangles | |
a2dTileBox is a subarea of a tile.
The drawing area is divided into tiles, where each tile is 256 * 256 pixels. The part of the tile which needs a redraw is stored in tile coordinates.