Back to index

tetex-bin  3.0
Classes | Defines | Functions
paths_rmz.h File Reference
#include "types.h"
#include "spaces_rmz.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 XOBJ_COMMON   char type; unsigned char flag; short references;
#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_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 BoundingBox (   h,
  w 
)    t1_BoundingBox(h,w)

Definition at line 94 of file paths_rmz.h.

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

Definition at line 98 of file paths_rmz.h.

#define CONCAT (   p1,
  p2 
)
Value:
{ \
       (struct segment *)(p1)->last->link = (struct segment *)p2;   \
       (struct segment *)(p1)->last = p2->last;   \
       (struct segment *)(p2)->last = NULL; }

Definition at line 205 of file paths_rmz.h.

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

Definition at line 112 of file paths_rmz.h.

#define CopyPath (   p)    t1_CopyPath(p)

Definition at line 90 of file paths_rmz.h.

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

Definition at line 97 of file paths_rmz.h.

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

Definition at line 127 of file paths_rmz.h.

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

Definition at line 147 of file paths_rmz.h.

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

Definition at line 139 of file paths_rmz.h.

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

Definition at line 96 of file paths_rmz.h.

#define KillPath (   p)    t1_KillPath(p)

Definition at line 91 of file paths_rmz.h.

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

Definition at line 128 of file paths_rmz.h.

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

Definition at line 93 of file paths_rmz.h.

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

Definition at line 95 of file paths_rmz.h.

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

Definition at line 92 of file paths_rmz.h.

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

Definition at line 113 of file paths_rmz.h.

#define XOBJ_COMMON   char type; unsigned char flag; short references;

Definition at line 34 of file paths_rmz.h.


Function Documentation

struct segment* t1_BoxPath ( ) [read]
struct segment* t1_CopyPath ( ) [read]
struct segment* t1_JoinSegment ( ) [read]
struct segment* t1_PathSegment ( ) [read]
struct segment* t1_PathXform ( ) [read]