When part of graphic are chagned, not mater size, shape, or position, the components effected or overlaid should be re-drawed. This module figures out components that should be re-drawed. More...
#include <stdio.h>
#include <string.h>
#include "mb_types.h"
Go to the source code of this file.
Functions | |
static int | is_scale_overlay (co_aix x1, co_aix w1, co_aix x2, co_aix w2) |
static int | _is_overlay (area_t *r1, area_t *r2) |
int | is_overlay (area_t *r1, area_t *r2) |
void | area_init (area_t *area, int n_pos, co_aix pos[][2]) |
void | geo_init (geo_t *g) |
void | geo_from_positions (geo_t *g, int n_pos, co_aix pos[][2]) |
void | geo_mark_overlay (geo_t *g, int n_others, geo_t **others, int *n_overlays, geo_t **overlays) |
When part of graphic are chagned, not mater size, shape, or position, the components effected or overlaid should be re-drawed. This module figures out components that should be re-drawed.
Definition in file geo.c.