Graphviz  2.41.20170921.2350
Data Structures | Macros | Typedefs | Functions
taper.c File Reference
#include "config.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <types.h>
#include <memory.h>
#include <logic.h>
#include <agxbuf.h>
#include <utils.h>
Include dependency graph for taper.c:

Go to the source code of this file.

Data Structures

struct  pathpoint
 
struct  vararr_t
 

Macros

#define BEZIERSUBDIVISION   20
 
#define INITSZ   2000
 
#define D2R(d)   (M_PI*(d)/180.0)
 
#define R2D(r)   (180.0*(r)/M_PI)
 
#define moveto(p, x, y)   addto(p,x,y)
 
#define lineto(p, x, y)   addto(p,x,y)
 

Typedefs

typedef double(* radfunc_t )(double curlen, double totallen, double initwid)
 

Functions

stroke_ttaper (bezier *bez, radfunc_t radfunc, double initwid, int linejoin, int linecap)
 
stroke_ttaper0 (bezier *bez, double initwid)
 

Macro Definition Documentation

#define BEZIERSUBDIVISION   20

Definition at line 30 of file taper.c.

#define D2R (   d)    (M_PI*(d)/180.0)

Definition at line 39 of file taper.c.

Referenced by taper().

#define INITSZ   2000

Definition at line 33 of file taper.c.

#define lineto (   p,
  x,
 
)    addto(p,x,y)

Definition at line 45 of file taper.c.

Referenced by taper().

#define moveto (   p,
  x,
 
)    addto(p,x,y)

Definition at line 44 of file taper.c.

Referenced by taper().

#define R2D (   r)    (180.0*(r)/M_PI)

Definition at line 40 of file taper.c.

Typedef Documentation

typedef double(* radfunc_t)(double curlen, double totallen, double initwid)

Definition at line 258 of file taper.c.

Function Documentation

stroke_t* taper ( bezier bez,
radfunc_t  radfunc,
double  initwid,
int  linejoin,
int  linecap 
)
stroke_t* taper0 ( bezier bez,
double  initwid 
)

Definition at line 423 of file taper.c.

References taper().