pathtrap.h File Reference

(r1785/r1282)

#include "pathproc.h"

Go to the source code of this file.

Classes

class  NormCoord
 Normalised vector/coordinate When normalised, the vector is always of unit length. More...
struct  TrapEdge
 Structure defining a trapezoid edge definition. A TrapEdge records the following information:. More...
class  TrapEdgeList
 Simple class to store a list of trapezoid edges (TrapEdge structures) Each source sub-path will be converted to a separate TrapEdgeList. More...
class  TrapsList
 Simple class containing a list of TrapEdgeLists representing a complex path Each TrapEdgeList represents a sub-path of the overall source path. More...
class  ProcessPathToTrapezoids
 Process a path to produce a trapezoid list suitable for variable- width or vector-brushed stroke generation. More...

Enumerations

enum  TrapTravelType { TrapTravel_None, TrapTravel_Parametric, TrapTravel_Millipoint }
 Describes how (if at all) to record "travel" in trapezoid lists. More...
enum  TrapJoinType { TrapJoin_None, TrapJoin_Round, TrapJoin_MitredOrBevelled }
 Describes what kind of join (if any) the trapezoid between the "previous" TrapEdge and "this" TrapEdge represents. This is used to mark all traps lying within joins, and to indicate the join style to the stroker, as rounded joins are "smoothed" by the stroker, while mitred/bevelled joins must always produce straight lines. More...


Enumeration Type Documentation

enum TrapJoinType
 

Describes what kind of join (if any) the trapezoid between the "previous" TrapEdge and "this" TrapEdge represents. This is used to mark all traps lying within joins, and to indicate the join style to the stroker, as rounded joins are "smoothed" by the stroker, while mitred/bevelled joins must always produce straight lines.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
15/1/97
Enumerator:
TrapJoin_None 
TrapJoin_Round 
TrapJoin_MitredOrBevelled 

Definition at line 148 of file pathtrap.h.

enum TrapTravelType
 

Describes how (if at all) to record "travel" in trapezoid lists.

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/1/97
See also:
ProcessPathToTrapezoids::Process
Enumerator:
TrapTravel_None 
TrapTravel_Parametric 
TrapTravel_Millipoint 

Definition at line 124 of file pathtrap.h.

00125 {
00126     TrapTravel_None,            // Don't record trapezoid travel at all
00127     TrapTravel_Parametric,      // Record travel as relative 0.0 to 1.0 parametric range
00128     TrapTravel_Millipoint       // Record travel as absolute millipoints distance
00129 } TrapTravelType;


Generated on Sat Nov 10 03:49:18 2007 for Camelot by  doxygen 1.4.4