C:/Users/Dennis/src/lang/bertrand/BERTRAND/bertrand/graphics.c File Reference

#include "def.h"
#include "graphics.h"

Go to the source code of this file.

Defines

#define INCHES   100

Functions

void graphics_init ()
void draw_line (double x1, double y1, double x2, double y2)
void draw_string (char *str, double x, double y)
void graphics_close ()

Variables

int graphics = FALSE


Define Documentation

#define INCHES   100

Definition at line 30 of file graphics.c.

Referenced by draw_line(), and draw_string().


Function Documentation

void draw_line ( double  x1,
double  y1,
double  x2,
double  y2 
)

Definition at line 34 of file graphics.c.

References graphics, graphics_init(), INCHES, ps_flush_PostScript, and snews_line.

Referenced by primitive_execute().

void draw_string ( char *  str,
double  x,
double  y 
)

Definition at line 49 of file graphics.c.

References graphics, graphics_init(), INCHES, ps_flush_PostScript, and snews_string.

Referenced by primitive_execute().

void graphics_close (  ) 

Definition at line 62 of file graphics.c.

References FALSE, graphics, PostScriptInput, and ps_close_PostScript.

Referenced by main().

void graphics_init (  ) 

Definition at line 20 of file graphics.c.

Referenced by draw_line(), and draw_string().


Variable Documentation

int graphics = FALSE

Definition at line 16 of file graphics.c.

Referenced by draw_line(), draw_string(), graphics_close(), graphics_init(), and main().


Generated on Fri Jan 25 09:58:43 2008 for Bertrand by  doxygen 1.5.4