w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

splinefill.c File Reference
#include "pfaedit.h"
#include <stdio.h>
#include <string.h>
#include <ustring.h>
#include <math.h>
#include "splinefont.h"
#include "edgelist.h"
Include dependency graph for splinefill.c:

Go to the source code of this file.

Functions

static void HintsFree (Hints *h)
 
static void _FreeEdgeList (EdgeList *es)
 
void FreeEdges (EdgeList *es)
 
double IterateSplineSolve (const Spline1D *sp, double tmin, double tmax, double sought, double err)
 
double TOfNextMajor (Edge *e, EdgeList *es, double sought_m)
 
static int SlopeLess (Edge *e, Edge *p, int other)
 
static void AddEdge (EdgeList *es, Spline *sp, double tmin, double tmax)
 
static void AddMajorEdge (EdgeList *es, Spline *sp)
 
static void AddSpline (EdgeList *es, Spline *sp)
 
void FindEdgesSplineSet (SplinePointList *spl, EdgeList *es, int ignore_clip)
 
EdgeActiveEdgesInsertNew (EdgeList *es, Edge *active, int i)
 
EdgeActiveEdgesRefigure (EdgeList *es, Edge *active, double i)
 

Function Documentation

◆ _FreeEdgeList()

static void _FreeEdgeList ( EdgeList es)
static

Definition at line 43 of file splinefill.c.

References edgelist::cnt, e, edgelist::edges, free, i, next, and NULL.

Referenced by FreeEdges().

◆ ActiveEdgesInsertNew()

Edge* ActiveEdgesInsertNew ( EdgeList es,
Edge active,
int  i 
)

Definition at line 452 of file splinefill.c.

Referenced by ActiveEdgesRefigure().

◆ ActiveEdgesRefigure()

Edge* ActiveEdgesRefigure ( EdgeList es,
Edge active,
double  i 
)

Definition at line 481 of file splinefill.c.

◆ AddEdge()

◆ AddMajorEdge()

static void AddMajorEdge ( EdgeList es,
Spline sp 
)
static

◆ AddSpline()

◆ FindEdgesSplineSet()

void FindEdgesSplineSet ( SplinePointList spl,
EdgeList es,
int  ignore_clip 
)

Definition at line 431 of file splinefill.c.

◆ FreeEdges()

void FreeEdges ( EdgeList es)

Definition at line 61 of file splinefill.c.

◆ HintsFree()

static void HintsFree ( Hints h)
static

Definition at line 35 of file splinefill.c.

References free, h, and NULL.

Referenced by FreeEdges().

◆ IterateSplineSolve()

double IterateSplineSolve ( const Spline1D sp,
double  tmin,
double  tmax,
double  sought,
double  err 
)

Definition at line 69 of file splinefill.c.

References cnt, err, extended, high, if, low, sp, t, temp, and test.

Referenced by TOfNextMajor().

◆ SlopeLess()

static int SlopeLess ( Edge e,
Edge p,
int  other 
)
static

Definition at line 164 of file splinefill.c.

References spline1d::a, spline1d::b, spline1d::c, e, other, p, ps, and qs().

Referenced by AddEdge().

◆ TOfNextMajor()

double TOfNextMajor ( Edge e,
EdgeList es,
double  sought_m 
)

Definition at line 112 of file splinefill.c.

Referenced by ActiveEdgesRefigure(), and AddEdge().