Tplot Struct Reference

Detailed Description

A structure containing the information to plot in 2D.

Definition at line 51 of file plot.h.

Data Fields

FILE * f
 
double offset_x
 
double offset_y
 
unsigned int line_style
 
unsigned int line_width
 
int fill_color
 
int pen_color
 
int fill_intensity
 
int depth
 

Field Documentation

FILE* Tplot::f

The file where to store the output.

Definition at line 52 of file plot.h.

Referenced by ClosePlot(), InitPlot(), PlotArrow(), PlotCircle(), PlotLine(), PlotRectangle(), PlotText(), and PlotTriangle().

double Tplot::offset_x

Offset along the X axis for the origin of the plot.

Definition at line 53 of file plot.h.

Referenced by InitPlot(), and SetOrigin().

double Tplot::offset_y

Offset along the Y axis for the origin of the plot.

Definition at line 54 of file plot.h.

Referenced by InitPlot(), and SetOrigin().

unsigned int Tplot::line_style

Line style (SOLID_LINE, DASHED_LINE, DOTTED_LINE).

Definition at line 55 of file plot.h.

Referenced by InitPlot(), and SetLineStyle().

unsigned int Tplot::line_width

Line width

Definition at line 56 of file plot.h.

Referenced by InitPlot(), and SetLineWidth().

int Tplot::fill_color

Fill color. See SetPenColor for a list of colors.

Definition at line 57 of file plot.h.

Referenced by InitPlot(), and SetFillColor().

int Tplot::pen_color

Pen color. See SetPenColor for a list of colors.

Definition at line 58 of file plot.h.

Referenced by InitPlot(), and SetPenColor().

int Tplot::fill_intensity

Fill intensity ranging from 0 to 20.

Definition at line 59 of file plot.h.

Referenced by InitPlot(), and SetFillIntensity().

int Tplot::depth

Current depth used to draw elements

Definition at line 60 of file plot.h.

Referenced by InitPlot(), and SetDepth().