rtk_region.c File Reference
#include <stdlib.h>
#include "rtk.h"
Functions | |
stg_rtk_region_t * | stg_rtk_region_create () |
void | stg_rtk_region_destroy (stg_rtk_region_t *region) |
void | stg_rtk_region_get_brect (stg_rtk_region_t *region, GdkRectangle *rect) |
void | stg_rtk_region_set_empty (stg_rtk_region_t *region) |
void | stg_rtk_region_set_union (stg_rtk_region_t *regiona, stg_rtk_region_t *regionb) |
void | stg_rtk_region_set_union_rect (stg_rtk_region_t *region, int ax, int ay, int bx, int by) |
int | stg_rtk_region_test_empty (stg_rtk_region_t *region) |
int | stg_rtk_region_test_intersect (stg_rtk_region_t *regiona, stg_rtk_region_t *regionb) |
Function Documentation
stg_rtk_region_t* stg_rtk_region_create | ( | void | ) |
References stg_rtk_region_set_empty().
Referenced by stg_rtk_canvas_create(), and stg_rtk_fig_create().
void stg_rtk_region_destroy | ( | stg_rtk_region_t * | region | ) |
Referenced by stg_rtk_canvas_destroy(), and stg_rtk_fig_destroy().
void stg_rtk_region_get_brect | ( | stg_rtk_region_t * | region, | |
GdkRectangle * | rect | |||
) |
void stg_rtk_region_set_empty | ( | stg_rtk_region_t * | region | ) |
References _stg_rtk_region_t::rect.
Referenced by stg_rtk_canvas_render(), stg_rtk_fig_calc(), stg_rtk_fig_clear(), and stg_rtk_region_create().
void stg_rtk_region_set_union | ( | stg_rtk_region_t * | regiona, | |
stg_rtk_region_t * | regionb | |||
) |
References _stg_rtk_region_t::rect, and stg_rtk_region_test_empty().
Referenced by stg_rtk_fig_calc(), and stg_rtk_fig_dirty().
void stg_rtk_region_set_union_rect | ( | stg_rtk_region_t * | region, | |
int | ax, | |||
int | ay, | |||
int | bx, | |||
int | by | |||
) |
int stg_rtk_region_test_empty | ( | stg_rtk_region_t * | region | ) |
References _stg_rtk_region_t::rect.
Referenced by stg_rtk_region_set_union(), and stg_rtk_region_set_union_rect().
int stg_rtk_region_test_intersect | ( | stg_rtk_region_t * | regiona, | |
stg_rtk_region_t * | regionb | |||
) |
Generated on Wed Jun 3 23:12:29 2009 for Stage by
