freeeps.cpp File Reference

(r1785/r1314)

#include "camtypes.h"
#include "freeeps.h"
#include "colcomp.h"
#include "colourix.h"
#include "collist.h"
#include "nodepath.h"

Go to the source code of this file.

Defines

#define new   CAM_DEBUG_NEW
#define FHEF_SENDh
 Processes EPS tokens that are not part of the standard Illustrator set, or which need to be handled differently to the standard Illustrator meanings. i.e. this is the function that handles all the FreeHand EPS operators.

Enumerations

enum  {
  EPSC_Xa = EPSC_EOF + 1, EPSC_xa, EPSC_Ka, EPSC_ka,
  EPSC_radfill, EPSC_recfill, EPSC_load, EPSC_BeginSetup,
  EPSC_def, EPSC_newcmykcustomcolor, EPSC_makesetfont, EPSC_ts,
  EPSC_sts, EPSC_eomode, EPSC_true, EPSC_false,
  EPSC_concat, EPSC_vms, EPSC_vmr, EPSC_vmrs,
  EPSC_stob, EPSC_fhsetspreadallow, EPSC_FREEHAND_IGNOREDTOKEN
}

Functions

 DECLARE_SOURCE ("$Revision: 1314 $")


Define Documentation

#define FHEF_SENDh
 

Value:

{ if(pPath != 0) {              \
        EPSCommand ThisToken = Token;               \
        Token = ComplexPathMode?EPSC_s:EPSC_h;      \
        if(!EPSFilter::ProcessToken())              \
            return FALSE;                           \
        Token = ThisToken;                          \
        HadhToken = FALSE; } }
Processes EPS tokens that are not part of the standard Illustrator set, or which need to be handled differently to the standard Illustrator meanings. i.e. this is the function that handles all the FreeHand EPS operators.

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
01/06/95
Returns:
TRUE if token understood and processed ok, FALSE if not.

Errors: Syntax error in EPS, Out of memory.

See also:
EPSFilter::ProcessToken

Definition at line 468 of file freeeps.cpp.

#define new   CAM_DEBUG_NEW
 

Definition at line 119 of file freeeps.cpp.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
EPSC_Xa 
EPSC_xa 
EPSC_Ka 
EPSC_ka 
EPSC_radfill 
EPSC_recfill 
EPSC_load 
EPSC_BeginSetup 
EPSC_def 
EPSC_newcmykcustomcolor 
EPSC_makesetfont 
EPSC_ts 
EPSC_sts 
EPSC_eomode 
EPSC_true 
EPSC_false 
EPSC_concat 
EPSC_vms 
EPSC_vmr 
EPSC_vmrs 
EPSC_stob 
EPSC_fhsetspreadallow 
EPSC_FREEHAND_IGNOREDTOKEN 

Definition at line 122 of file freeeps.cpp.

00123 {
00124     // colours
00125     EPSC_Xa = EPSC_EOF + 1,
00126     EPSC_xa,
00127     EPSC_Ka,
00128     EPSC_ka,
00129 
00130     // fills
00131     EPSC_radfill,
00132     EPSC_recfill,
00133     EPSC_load,
00134 
00135     // colour list stuff
00136     EPSC_BeginSetup,
00137     EPSC_def,
00138     EPSC_newcmykcustomcolor,
00139     
00140     // text type stuff
00141     EPSC_makesetfont,
00142     EPSC_ts,
00143     EPSC_sts,
00144 
00145     // complex path stuff
00146     EPSC_eomode,
00147     EPSC_true,
00148     EPSC_false,
00149 
00150     // misc stuff which is ignored
00151     EPSC_concat,
00152     EPSC_vms,
00153     EPSC_vmr,
00154     EPSC_vmrs,
00155     EPSC_stob,
00156     EPSC_fhsetspreadallow,
00157     EPSC_FREEHAND_IGNOREDTOKEN      // a token used to ingore other tokens
00158 };


Function Documentation

DECLARE_SOURCE "$Revision: 1314 $"   ) 
 


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