matrix.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "stage_internal.h"
#include "gui.h"

Functions

stg_cell_t * stg_cell_create (stg_cell_t *parent, double x, double y, double size)
void stg_cell_delete (stg_cell_t *cell)
void stg_cell_unrender (stg_cell_t *cell)
void stg_cell_render (stg_cell_t *cell)
void stg_cell_unrender_tree (stg_cell_t *cell)
stg_matrix_t * stg_matrix_create (double ppm, double width, double height)
void stg_matrix_destroy (stg_matrix_t *matrix)
void stg_matrix_clear (stg_matrix_t *matrix)
void stg_cell_print (stg_cell_t *cell, char *prefix)
void stg_cell_remove_object (stg_cell_t *cell, void *p)
void stg_matrix_remove_object (stg_matrix_t *matrix, void *object)
void stg_matrix_lines (stg_matrix_t *matrix, stg_line_t *lines, int num_lines, void *object)
void stg_matrix_polygons (stg_matrix_t *matrix, double x, double y, double a, stg_polygon_t *polys, int num_polys, void *object)
void stg_matrix_rectangle (stg_matrix_t *matrix, double px, double py, double pth, double dx, double dy, void *object)

Variables

stg_rtk_fig_t * fig_debug_matrix
int _render_matrix_deltas

Function Documentation

stg_cell_t* stg_cell_create stg_cell_t *  parent,
double  x,
double  y,
double  size
 

void stg_cell_delete stg_cell_t *  cell  ) 
 

void stg_cell_unrender stg_cell_t *  cell  ) 
 

void stg_cell_render stg_cell_t *  cell  ) 
 

void stg_cell_unrender_tree stg_cell_t *  cell  ) 
 

stg_matrix_t* stg_matrix_create double  ppm,
double  width,
double  height
 

void stg_matrix_destroy stg_matrix_t *  matrix  ) 
 

void stg_matrix_clear stg_matrix_t *  matrix  ) 
 

void stg_cell_print stg_cell_t *  cell,
char *  prefix
 

void stg_cell_remove_object stg_cell_t *  cell,
void *  p
 

void stg_matrix_remove_object stg_matrix_t *  matrix,
void *  object
 

void stg_matrix_lines stg_matrix_t *  matrix,
stg_line_t *  lines,
int  num_lines,
void *  object
 

void stg_matrix_polygons stg_matrix_t *  matrix,
double  x,
double  y,
double  a,
stg_polygon_t *  polys,
int  num_polys,
void *  object
 

void stg_matrix_rectangle stg_matrix_t *  matrix,
double  px,
double  py,
double  pth,
double  dx,
double  dy,
void *  object
 


Variable Documentation

stg_rtk_fig_t* fig_debug_matrix
 

int _render_matrix_deltas