Institut de Robòtica i Informàtica Industrial
KRD Group

The CuikSuite Project

Tplot Struct Reference

A 2D plot. More...

#include <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

Detailed Description

A structure containing the information to plot in 2D.

Definition at line 51 of file plot.h.


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().

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

Definition at line 53 of file plot.h.

Referenced by InitPlot(), and SetOrigin().

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().

Fill color. See SetPenColor for a list of colors.

Definition at line 57 of file plot.h.

Referenced by InitPlot(), and SetFillColor().

Pen color. See SetPenColor for a list of colors.

Definition at line 58 of file plot.h.

Referenced by InitPlot(), and SetPenColor().

Fill intensity ranging from 0 to 20.

Definition at line 59 of file plot.h.

Referenced by InitPlot(), and SetFillIntensity().

Current depth used to draw elements

Definition at line 60 of file plot.h.

Referenced by InitPlot(), and SetDepth().


The documentation for this struct was generated from the following file: