Graphviz  2.41.20171026.1811
Data Structures | Macros | Typedefs | Variables
hpglgen.c File Reference
#include <ctype.h>
#include "render.h"
Include dependency graph for hpglgen.c:

Go to the source code of this file.

Data Structures

struct  FontInfo
 
struct  FontState
 
struct  Color
 
struct  GC_s
 
struct  FontIndex
 

Macros

#define SOLID   0
 
#define DOTTED   1
 
#define DASHED   2
 
#define INVIS   3
 
#define PT2UNIT(p)   ((p)*(double)14.111)
 
#define PENW   0.0138
 
#define NPENS   32
 
#define CX(_x)   ((int)(_x))
 
#define CY(_y)   ((int)(_y))
 
#define HP_OX   18
 
#define HP_OY   18
 
#define MAXLINELEN   80
 
#define FLATNESS   1.0
 

Typedefs

typedef struct GC_s GC_t
 

Variables

codegen_t HPGL_CodeGen
 

Macro Definition Documentation

#define CX (   _x)    ((int)(_x))

Definition at line 29 of file hpglgen.c.

#define CY (   _y)    ((int)(_y))

Definition at line 30 of file hpglgen.c.

#define DASHED   2

Definition at line 23 of file hpglgen.c.

#define DOTTED   1

Definition at line 22 of file hpglgen.c.

#define FLATNESS   1.0

Definition at line 663 of file hpglgen.c.

#define HP_OX   18

Definition at line 36 of file hpglgen.c.

#define HP_OY   18

Definition at line 37 of file hpglgen.c.

#define INVIS   3

Definition at line 24 of file hpglgen.c.

#define MAXLINELEN   80

Definition at line 61 of file hpglgen.c.

#define NPENS   32

Definition at line 28 of file hpglgen.c.

#define PENW   0.0138

Definition at line 27 of file hpglgen.c.

#define PT2UNIT (   p)    ((p)*(double)14.111)

Definition at line 26 of file hpglgen.c.

#define SOLID   0

Definition at line 21 of file hpglgen.c.

Typedef Documentation

typedef struct GC_s GC_t

Variable Documentation

codegen_t HPGL_CodeGen
Initial value:
= {
hpgl_reset,
hpgl_begin_job, 0,
hpgl_begin_graph, 0,
hpgl_begin_page, hpgl_end_page,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
hpgl_begin_context, hpgl_end_context,
0, 0,
hpgl_set_font, hpgl_textpara,
hpgl_set_color, hpgl_set_color, hpgl_set_style,
hpgl_ellipse, hpgl_polygon,
hpgl_bezier, hpgl_polyline,
0,
0,
hpgl_usershape
}

Definition at line 832 of file hpglgen.c.