Back to index

tetex-bin  3.0
Classes | Defines | Typedefs | Functions
spaces.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  doublematrix
struct  XYspace
struct  fractpoint

Defines

#define USER   t1_User
#define IDENTITY   t1_Identity
#define Context(d, u)   t1_Context(d,u)
#define Transform(o, f1, f2, f3, f4)   t1_Transform(o,f1,f2,f3,f4)
#define Rotate(o, d)   t1_Rotate(o,d)
#define Scale(o, sx, sy)   t1_Scale(o,sx,sy)
#define QuerySpace(S, f1, f2, f3, f4)   t1_QuerySpace(S,f1,f2,f3,f4)
#define Warp(s1, o, s2)   t1_Warp(s1,o,s2)
#define DeviceResolution   t1_DeviceResolution
#define InitSpaces()   t1_InitSpaces()
#define CopySpace(s)   t1_CopySpace(s)
#define Xform(o, M)   t1_Xform(o,M)
#define UnConvert(S, pt, xp, yp)   t1_UnConvert(S,pt,xp,yp)
#define MatrixMultiply(A, B, C)   t1_MMultiply(A,B,C)
#define MatrixInvert(A, B)   t1_MInvert(A,B)
#define PseudoSpace(S, M)   t1_PseudoSpace(S,M)
#define FindContext(M)   t1_FindContext(M)
#define KillSpace(s)
#define ConsumeSpace(s)   MAKECONSUME(s,KillSpace(s))
#define UniqueSpace(s)   MAKEUNIQUE(s,CopySpace(s))
#define FRACTBITS   16 /* number of fractional bits in 'fractpel' */
#define TOFRACTPEL(p)   (((fractpel)p)<<FRACTBITS)
#define FPHALF   (1<<(FRACTBITS-1))
#define NEARESTPEL(fp)   (((fp)+FPHALF)>>FRACTBITS)
#define FRACTFLOAT   (DOUBLE)(1L<<FRACTBITS)
#define INVALIDID   0 /* no valid space will have this ID */
#define NULLCONTEXT   0

Typedefs

typedef SHORT pel
typedef LONG fractpel

Functions

struct XYspacet1_Context ()
struct xobjectt1_Transform ()
struct xobjectt1_Rotate ()
struct xobjectt1_Scale ()
struct xobjectt1_Warp ()
void t1_QuerySpace ()
void t1_InitSpaces ()
struct XYspacet1_CopySpace ()
struct xobjectt1_Xform ()
void t1_UnConvert ()
void t1_MMultiply ()
void t1_MInvert ()
void t1_PseudoSpace ()
int t1_FindContext ()

Class Documentation

struct doublematrix

Definition at line 105 of file spaces.h.

Class Members
DOUBLE inverse
DOUBLE normal
struct fractpoint

Definition at line 133 of file spaces.h.

Class Members
fractpel x
fractpel y

Define Documentation

#define ConsumeSpace (   s)    MAKECONSUME(s,KillSpace(s))

Definition at line 83 of file spaces.h.

#define Context (   d,
 
)    t1_Context(d,u)

Definition at line 36 of file spaces.h.

#define CopySpace (   s)    t1_CopySpace(s)

Definition at line 55 of file spaces.h.

#define DeviceResolution   t1_DeviceResolution

Definition at line 53 of file spaces.h.

#define FindContext (   M)    t1_FindContext(M)

Definition at line 61 of file spaces.h.

#define FPHALF   (1<<(FRACTBITS-1))

Definition at line 98 of file spaces.h.

#define FRACTBITS   16 /* number of fractional bits in 'fractpel' */

Definition at line 92 of file spaces.h.

#define FRACTFLOAT   (DOUBLE)(1L<<FRACTBITS)

Definition at line 100 of file spaces.h.

#define IDENTITY   t1_Identity

Definition at line 34 of file spaces.h.

#define InitSpaces ( )    t1_InitSpaces()

Definition at line 54 of file spaces.h.

#define INVALIDID   0 /* no valid space will have this ID */

Definition at line 128 of file spaces.h.

#define KillSpace (   s)
Value:
if ( (--(s->references) == 0) ||\
                      ( (s->references == 1) && ISPERMANENT(s->flag) ) )\
                        Free(s)

Definition at line 79 of file spaces.h.

#define MatrixInvert (   A,
  B 
)    t1_MInvert(A,B)

Definition at line 59 of file spaces.h.

#define MatrixMultiply (   A,
  B,
  C 
)    t1_MMultiply(A,B,C)

Definition at line 58 of file spaces.h.

#define NEARESTPEL (   fp)    (((fp)+FPHALF)>>FRACTBITS)

Definition at line 99 of file spaces.h.

#define NULLCONTEXT   0

Definition at line 140 of file spaces.h.

#define PseudoSpace (   S,
 
)    t1_PseudoSpace(S,M)

Definition at line 60 of file spaces.h.

#define QuerySpace (   S,
  f1,
  f2,
  f3,
  f4 
)    t1_QuerySpace(S,f1,f2,f3,f4)

Definition at line 40 of file spaces.h.

#define Rotate (   o,
  d 
)    t1_Rotate(o,d)

Definition at line 38 of file spaces.h.

#define Scale (   o,
  sx,
  sy 
)    t1_Scale(o,sx,sy)

Definition at line 39 of file spaces.h.

#define TOFRACTPEL (   p)    (((fractpel)p)<<FRACTBITS)

Definition at line 97 of file spaces.h.

#define Transform (   o,
  f1,
  f2,
  f3,
  f4 
)    t1_Transform(o,f1,f2,f3,f4)

Definition at line 37 of file spaces.h.

#define UnConvert (   S,
  pt,
  xp,
  yp 
)    t1_UnConvert(S,pt,xp,yp)

Definition at line 57 of file spaces.h.

#define UniqueSpace (   s)    MAKEUNIQUE(s,CopySpace(s))

Definition at line 84 of file spaces.h.

#define USER   t1_User

Definition at line 33 of file spaces.h.

#define Warp (   s1,
  o,
  s2 
)    t1_Warp(s1,o,s2)

Definition at line 41 of file spaces.h.

#define Xform (   o,
 
)    t1_Xform(o,M)

Definition at line 56 of file spaces.h.


Typedef Documentation

typedef LONG fractpel

Definition at line 90 of file spaces.h.

typedef SHORT pel

Definition at line 89 of file spaces.h.


Function Documentation

struct XYspace* t1_Context ( ) [read]
struct XYspace* t1_CopySpace ( ) [read]
struct xobject* t1_Rotate ( ) [read]
struct xobject* t1_Scale ( ) [read]
struct xobject* t1_Transform ( ) [read]
struct xobject* t1_Warp ( ) [read]
struct xobject* t1_Xform ( ) [read]