wxArt2D
Public Member Functions | Public Attributes | List of all members
a2dTileBox Class Reference

a2dTileBox is a subarea of a tile. More...

#include <drawer.h>

Collaboration diagram for a2dTileBox:
Collaboration graph
[legend]

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
 
a2dUpdateAream_rectPrevRow
 prev row pointer to combine tiles into rectangles
 

Detailed Description

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.

Definition at line 151 of file drawer.h.


The documentation for this class was generated from the following files:
a2dTileBox Class Reference -- Sun Oct 12 2014 17:04:51 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation