EE445M RTOS
Taken at the University of Texas Spring 2015
shape.h File Reference
#include <stdlib.h>
#include "libstd/defines.h"
Include dependency graph for shape.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  point
 Representation of an ordered pair with a shade. More...
 
struct  shape
 Representation of a shape. More...
 
struct  circle
 Representation of a circle. More...
 

Typedefs

typedef struct point point
 
typedef struct shape shape
 
typedef struct circle circle
 

Functions

void shape_destroy_point (point *p)
 
void shape_destroy_circle (circle *cir)
 
pointshape_create_point (ushort, ushort, shade_t)
 
pointshape_duplicate_point (point *p)
 
shapeshape_create (ushort,...)
 
shapeshape_duplicate_shape (shape *)
 
void shape_destroy_shape (shape *)
 
circleshape_create_circle (ushort, point *)
 
shapeshape_create_triangle (point *, point *, point *)
 
shapeshape_create_quad (point *, uchar, uchar)
 

Typedef Documentation

typedef struct circle circle
typedef struct point point
typedef struct shape shape