#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include "potracelib.h"
#include "curve.h"
#include "main.h"
#include "backend_hpgl.h"
#include "lists.h"
#include "auxiliary.h"
Go to the source code of this file.
Functions | |
static int | hpgl_draw_path (FILE *fout, point_t *pt, int n, int abs, int subpoly) |
static void | hpgl_lineto (FILE *fout, dpoint_t p) |
static void | hpgl_moveto (FILE *fout, dpoint_t p) |
static void | hpgl_rmoveto (FILE *fout, dpoint_t p) |
int | page_hpgl (FILE *fout, potrace_path_t *plist, imginfo_t *imginfo) |
static void | ship (FILE *fout, char *fmt,...) |
static void | shiptoken (FILE *fout, char *token) |
static point_t | unit (dpoint_t p) |
static void | write_paths_opaque (FILE *fout, potrace_path_t *tree) |
static void | write_paths_transparent (FILE *fout, potrace_path_t *tree) |
Variables | |
static int | column = 0 |
static point_t | cur |
static char | lastop = 0 |
static int | newline = 1 |
static int hpgl_draw_path | ( | FILE * | fout, |
point_t * | pt, | ||
int | n, | ||
int | abs, | ||
int | subpoly | ||
) | [static] |
Definition at line 102 of file backend_hpgl.c.
static void hpgl_lineto | ( | FILE * | fout, |
dpoint_t | p | ||
) | [static] |
Definition at line 87 of file backend_hpgl.c.
static void hpgl_moveto | ( | FILE * | fout, |
dpoint_t | p | ||
) | [static] |
Definition at line 71 of file backend_hpgl.c.
static void hpgl_rmoveto | ( | FILE * | fout, |
dpoint_t | p | ||
) | [static] |
Definition at line 78 of file backend_hpgl.c.
int page_hpgl | ( | FILE * | fout, |
potrace_path_t * | plist, | ||
imginfo_t * | imginfo | ||
) |
Definition at line 172 of file backend_hpgl.c.
static void ship | ( | FILE * | fout, |
char * | fmt, | ||
... | |||
) | [static] |
Definition at line 49 of file backend_hpgl.c.
static void shiptoken | ( | FILE * | fout, |
char * | token | ||
) | [static] |
Definition at line 34 of file backend_hpgl.c.
Definition at line 21 of file backend_hpgl.c.
static void write_paths_opaque | ( | FILE * | fout, |
potrace_path_t * | tree | ||
) | [static] |
Definition at line 164 of file backend_hpgl.c.
static void write_paths_transparent | ( | FILE * | fout, |
potrace_path_t * | tree | ||
) | [static] |
Definition at line 139 of file backend_hpgl.c.
int column = 0 [static] |
Definition at line 31 of file backend_hpgl.c.
Definition at line 29 of file backend_hpgl.c.
char lastop = 0 [static] |
Definition at line 30 of file backend_hpgl.c.
int newline = 1 [static] |
Definition at line 32 of file backend_hpgl.c.