This file implements coordination transforming for containers. More...
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "mb_types.h"
Go to the source code of this file.
Defines | |
| #define | ASSERT(x) |
| #define | MUL(a, b) ((a) * (b)) |
| #define | ADD(a, b) ((a) + (b)) |
| #define | DIV(a, b) ((a) / (b)) |
| #define | SUB(a, b) ((a) - (b)) |
Functions | |
| static void | mul_matrix (co_aix *m1, co_aix *m2, co_aix *dst) |
| static void | compute_transform_function (coord_t *visit) |
| Compute agrregated transform function. | |
| void | compute_aggr_of_coord (coord_t *coord) |
| void | update_aggr_matrix (coord_t *start) |
| Update aggregate matrices of elements under a sub-tree. | |
| void | coord_init (coord_t *co, coord_t *parent) |
| Initialize a coord object. | |
| void | coord_trans_pos (coord_t *co, co_aix *x, co_aix *y) |
| co_aix | coord_trans_size (coord_t *co, co_aix sz) |
| coord_t * | preorder_coord_subtree (coord_t *root, coord_t *last) |
| coord_t * | postorder_coord_subtree (coord_t *root, coord_t *last) |
This file implements coordination transforming for containers.
Definition in file coord.c.
| static void compute_transform_function | ( | coord_t * | visit | ) | [static] |
| void update_aggr_matrix | ( | coord_t * | start | ) |