Go to the source code of this file.
#define tcm_aheight |
( |
|
area | ) |
__tcm_area_height(&(area)) |
#define tcm_awidth |
( |
|
area | ) |
__tcm_area_width(&(area)) |
#define tcm_for_each_slice |
( |
|
var, |
|
|
|
area, |
|
|
|
safe |
|
) |
| |
Value:
tcm_slice(&
safe, &var); \
var.tcm; tcm_slice(&
safe, &var))
Iterate through 2D slices of a valid area. Behaves syntactically as a for(;;) statement.
- Parameters
-
var | Name of a local variable of type 'struct tcm_area *' that will get modified to contain each slice. |
area | Pointer to the VALID parent area. This structure will not get modified throughout the loop. |
Definition at line 321 of file tcm.h.
#define tcm_is_in |
( |
|
pt, |
|
|
|
area |
|
) |
| __tcm_is_in(&(pt), &(area)) |
#define tcm_sizeof |
( |
|
area | ) |
__tcm_sizeof(&(area)) |