Functions | Variables
backend_hpgl.c File Reference
#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"
Include dependency graph for backend_hpgl.c:

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

Function Documentation

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.

static point_t unit ( dpoint_t  p) [inline, static]

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.


Variable Documentation

int column = 0 [static]

Definition at line 31 of file backend_hpgl.c.

point_t cur [static]

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


portrait_painter
Author(s): Niklas Meinzer, Ina Baumgarten
autogenerated on Wed Dec 26 2012 16:00:43