Back to index

tetex-bin  3.0
Classes | Defines | Functions
paths.h File Reference
#include "types.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  segment
struct  conicsegment
struct  beziersegment
struct  hintsegment

Defines

#define Loc(S, x, y)   t1_Loc(S,(DOUBLE)x,(DOUBLE)y)
#define ILoc(S, x, y)   t1_ILoc(S,x,y)
#define Line(P)   t1_Line(P)
#define Join(p1, p2)   t1_Join(p1,p2)
#define ClosePath(p)   t1_ClosePath(p,0)
#define CloseLastSubPath(p)   t1_ClosePath(p,1)
#define Conic(B, C, s)   t1_Conic(B,C,(DOUBLE)s)
#define RoundConic(M, C, r)   t1_RoundConic(M,C,(DOUBLE)r)
#define ArcP3(S, P2, P3)   t1_ArcP3(S,P2,P3)
#define ArcCA(S, C, d)   t1_ArcCA(S,C,(DOUBLE)d)
#define Bezier(B, C, D)   t1_Bezier(B,C,D)
#define Hint(S, r, w, o, h, a, d, l)   t1_Hint(S,r,w,o,h,a,d,l)
#define Reverse(p)   t1_Reverse(p)
#define ReverseSubPaths(p)   t1_ReverseSubPaths(p)
#define AddLoc(p1, p2)   t1_Join(p1,p2)
#define SubLoc(p1, p2)   t1_SubLoc(p1,p2)
#define DropSegment(p)   t1_DropSegment(p)
#define HeadSegment(p)   t1_HeadSegment(p)
#define QueryLoc(P, S, x, y)   t1_QueryLoc(P,S,x,y)
#define QueryPath(p, t, B, C, D, r)   t1_QueryPath(p,t,B,C,D,r)
#define QueryBounds(p, S, x1, y1, x2, y2)   t1_QueryBounds(p,S,x1,y1,x2,y2)
#define CopyPath(p)   t1_CopyPath(p)
#define KillPath(p)   t1_KillPath(p)
#define PathTransform(p, m)   t1_PathXform(p,m)
#define PathDelta(p, pt)   t1_PathDelta(p,pt)
#define BoundingBox(h, w)   t1_BoundingBox(h,w)
#define PathSegment(t, x, y)   t1_PathSegment(t,(fractpel)x,(fractpel)y)
#define JoinSegment(b, t, x, y, a)   t1_JoinSegment(b,t,(fractpel)x,(fractpel)y,a)
#define Hypoteneuse(dx, dy)   t1_Hypoteneuse(dx,dy)
#define BoxPath(S, h, w)   t1_BoxPath(S,h,w)
#define ConsumePath(p)   MAKECONSUME(p,KillPath(p))
#define UniquePath(p)   MAKEUNIQUE(p,CopyPath(p))
#define ISCLOSED(flag)   ((flag)&0x80) /* subpath is closed */
#define LASTCLOSED(flag)   ((flag)&0x40) /* last segment in closed subpath */
#define ISPATHANCHOR(p)   (ISPATHTYPE(p->type)&&p->last!=NULL)
#define ISLOCATION(p)   ((p)->type == MOVETYPE && (p)->link == NULL)
#define CONCAT(p1, p2)

Functions

struct segmentt1_Loc ()
struct segmentt1_ILoc ()
struct segmentt1_Line ()
struct segmentt1_Join ()
struct segmentt1_ClosePath ()
struct conicsegmentt1_Conic ()
struct conicsegmentt1_RoundConic ()
struct conicsegmentt1_ArcP3 ()
struct conicsegmentt1_ArcCA ()
struct beziersegmentt1_Bezier ()
struct hintsegmentt1_Hint ()
struct segmentt1_Reverse ()
struct segmentt1_ReverseSubPaths ()
struct segmentt1_SubLoc ()
struct segmentt1_DropSegment ()
struct segmentt1_HeadSegment ()
void t1_QueryLoc ()
void t1_QueryPath ()
void t1_QueryBounds ()
struct segmentt1_CopyPath ()
void t1_KillPath ()
struct segmentt1_PathXform ()
void t1_PathDelta ()
struct segmentt1_PathSegment ()
struct segmentt1_JoinSegment ()
DOUBLE t1_Hypoteneuse ()
struct segmentt1_BoxPath ()

Class Documentation

struct segment

Definition at line 107 of file paths.h.

Collaboration diagram for segment:
Class Members
unsigned char context
struct segment * last
struct segment * link
XOBJ_COMMON unsigned char size
struct conicsegment

Definition at line 141 of file paths.h.

Collaboration diagram for conicsegment:
Class Members
unsigned char context
struct segment * last
struct segment * link
float roundness
XOBJ_COMMON unsigned char size
struct beziersegment

Definition at line 155 of file paths.h.

Collaboration diagram for beziersegment:
Class Members
unsigned char context
struct segment * last
struct segment * link
XOBJ_COMMON unsigned char size
struct hintsegment

Definition at line 170 of file paths.h.

Collaboration diagram for hintsegment:
Class Members
char adjusttype
unsigned char context
char direction
char hinttype
int label
struct segment * last
struct segment * link
char orientation
XOBJ_COMMON unsigned char size

Define Documentation

#define AddLoc (   p1,
  p2 
)    t1_Join(p1,p2)

Definition at line 47 of file paths.h.

#define ArcCA (   S,
  C,
  d 
)    t1_ArcCA(S,C,(DOUBLE)d)

Definition at line 42 of file paths.h.

#define ArcP3 (   S,
  P2,
  P3 
)    t1_ArcP3(S,P2,P3)

Definition at line 41 of file paths.h.

#define Bezier (   B,
  C,
 
)    t1_Bezier(B,C,D)

Definition at line 43 of file paths.h.

#define BoundingBox (   h,
  w 
)    t1_BoundingBox(h,w)

Definition at line 83 of file paths.h.

#define BoxPath (   S,
  h,
  w 
)    t1_BoxPath(S,h,w)

Definition at line 87 of file paths.h.

#define CloseLastSubPath (   p)    t1_ClosePath(p,1)

Definition at line 38 of file paths.h.

#define ClosePath (   p)    t1_ClosePath(p,0)

Definition at line 37 of file paths.h.

#define CONCAT (   p1,
  p2 
)
Value:
{ \
       p1->last->link = p2;     /* link p2 on end of p1                      */ \
       p1->last = p2->last;    /* last of new is last of p2                  */ \
       p2->last = NULL; }    /* only first segment has non-NULL "last"       */

Definition at line 194 of file paths.h.

#define Conic (   B,
  C,
  s 
)    t1_Conic(B,C,(DOUBLE)s)

Definition at line 39 of file paths.h.

#define ConsumePath (   p)    MAKECONSUME(p,KillPath(p))

Definition at line 101 of file paths.h.

#define CopyPath (   p)    t1_CopyPath(p)

Definition at line 79 of file paths.h.

#define DropSegment (   p)    t1_DropSegment(p)

Definition at line 49 of file paths.h.

#define HeadSegment (   p)    t1_HeadSegment(p)

Definition at line 50 of file paths.h.

#define Hint (   S,
  r,
  w,
  o,
  h,
  a,
  d,
 
)    t1_Hint(S,r,w,o,h,a,d,l)

Definition at line 44 of file paths.h.

#define Hypoteneuse (   dx,
  dy 
)    t1_Hypoteneuse(dx,dy)

Definition at line 86 of file paths.h.

#define ILoc (   S,
  x,
  y 
)    t1_ILoc(S,x,y)

Definition at line 34 of file paths.h.

#define ISCLOSED (   flag)    ((flag)&0x80) /* subpath is closed */

Definition at line 116 of file paths.h.

#define ISLOCATION (   p)    ((p)->type == MOVETYPE && (p)->link == NULL)

Definition at line 136 of file paths.h.

#define ISPATHANCHOR (   p)    (ISPATHTYPE(p->type)&&p->last!=NULL)

Definition at line 128 of file paths.h.

#define Join (   p1,
  p2 
)    t1_Join(p1,p2)

Definition at line 36 of file paths.h.

#define JoinSegment (   b,
  t,
  x,
  y,
  a 
)    t1_JoinSegment(b,t,(fractpel)x,(fractpel)y,a)

Definition at line 85 of file paths.h.

#define KillPath (   p)    t1_KillPath(p)

Definition at line 80 of file paths.h.

#define LASTCLOSED (   flag)    ((flag)&0x40) /* last segment in closed subpath */

Definition at line 117 of file paths.h.

#define Line (   P)    t1_Line(P)

Definition at line 35 of file paths.h.

#define Loc (   S,
  x,
  y 
)    t1_Loc(S,(DOUBLE)x,(DOUBLE)y)

Definition at line 33 of file paths.h.

#define PathDelta (   p,
  pt 
)    t1_PathDelta(p,pt)

Definition at line 82 of file paths.h.

#define PathSegment (   t,
  x,
  y 
)    t1_PathSegment(t,(fractpel)x,(fractpel)y)

Definition at line 84 of file paths.h.

#define PathTransform (   p,
 
)    t1_PathXform(p,m)

Definition at line 81 of file paths.h.

#define QueryBounds (   p,
  S,
  x1,
  y1,
  x2,
  y2 
)    t1_QueryBounds(p,S,x1,y1,x2,y2)

Definition at line 53 of file paths.h.

#define QueryLoc (   P,
  S,
  x,
  y 
)    t1_QueryLoc(P,S,x,y)

Definition at line 51 of file paths.h.

#define QueryPath (   p,
  t,
  B,
  C,
  D,
  r 
)    t1_QueryPath(p,t,B,C,D,r)

Definition at line 52 of file paths.h.

#define Reverse (   p)    t1_Reverse(p)

Definition at line 45 of file paths.h.

#define ReverseSubPaths (   p)    t1_ReverseSubPaths(p)

Definition at line 46 of file paths.h.

#define RoundConic (   M,
  C,
  r 
)    t1_RoundConic(M,C,(DOUBLE)r)

Definition at line 40 of file paths.h.

#define SubLoc (   p1,
  p2 
)    t1_SubLoc(p1,p2)

Definition at line 48 of file paths.h.

#define UniquePath (   p)    MAKEUNIQUE(p,CopyPath(p))

Definition at line 102 of file paths.h.


Function Documentation

struct conicsegment* t1_ArcCA ( ) [read]
struct conicsegment* t1_ArcP3 ( ) [read]
struct beziersegment* t1_Bezier ( ) [read]
struct segment* t1_BoxPath ( ) [read]
struct segment* t1_ClosePath ( ) [read]
struct conicsegment* t1_Conic ( ) [read]
struct segment* t1_CopyPath ( ) [read]
struct segment* t1_DropSegment ( ) [read]
struct segment* t1_HeadSegment ( ) [read]
struct hintsegment* t1_Hint ( ) [read]
struct segment* t1_ILoc ( ) [read]
struct segment* t1_Join ( ) [read]
struct segment* t1_JoinSegment ( ) [read]
struct segment* t1_Line ( ) [read]
struct segment* t1_Loc ( ) [read]
struct segment* t1_PathSegment ( ) [read]
struct segment* t1_PathXform ( ) [read]
struct segment* t1_Reverse ( ) [read]
struct segment* t1_ReverseSubPaths ( ) [read]
struct conicsegment* t1_RoundConic ( ) [read]
struct segment* t1_SubLoc ( ) [read]