epsfiltr.h File Reference

(r1785/r1302)

#include "ccfile.h"
#include "fixst256.h"
#include "epsstack.h"
#include "filters.h"
#include "docrect.h"
#include "listitem.h"
#include "txtattr.h"
#include "epsclist.h"

Go to the source code of this file.

Classes

class  CommandMap
 Provides a mapping from a token (i.e. an integer) to the string representation of that token. An array of these objects is used to map an EPS command string onto the enumerated type used for the token representation within Camelot. More...
class  RangeList
 Holds a list of ranges. This is used to keep track when importing a file and preserving the layer information, and the import was initiated via drag and drop. When the import has finished, the bounding box of all the nodes on all the ranges is found, and then the all the nodes in all the ranges are centred on the drop point. More...
class  EPSClipContextItem
 USed to implement a stack of clipping regions for importing AI EPS with. More...
class  EPSClipContext
 Used to maintain clipping regions (masks) while importing Illustrator EPS. A stack of regions is maintained, similar to attribute rendering, with the usual save/restore semantics. Adding a new clipping region results in the new clipping region being merged with the current clipping region. In this way complex paths can be used to build up complex masks (this is the brain-damaged way AI EPS does it anyway). More...
struct  EPSFlagsDefn
class  EPSFilter
 Encapsulates a basic Adobe Illustrator EPS import/export filter. This filter can be used as a base class, because most EPS formats are based (more or less) on AI format. Derived filters can override whichever parts they want to implement other flavours of EPS. More...
struct  EPSFilter::_FontFlags

Defines

#define ImmediateColourFudgeyBodgeName   (_T("ciamcawahh42"))

Enumerations

enum  {
  EPSC_showpage = 1, EPSC_A, EPSC_d, EPSC_i,
  EPSC_D, EPSC_j, EPSC_J, EPSC_M,
  EPSC_w, EPSC_g, EPSC_G, EPSC_k,
  EPSC_K, EPSC_x, EPSC_X, EPSC_p,
  EPSC_P, EPSC_O, EPSC_R, EPSC_u,
  EPSC_U, EPSC_m, EPSC_l, EPSC_L,
  EPSC_c, EPSC_C, EPSC_v, EPSC_V,
  EPSC_y, EPSC_Y, EPSC_N, EPSC_n,
  EPSC_F, EPSC_f, EPSC_S, EPSC_s,
  EPSC_B, EPSC_b, EPSC__u, EPSC__U,
  EPSC_q, EPSC_Q, EPSC_H, EPSC_h,
  EPSC_W, EPSC_To, EPSC_TO, EPSC_Tp,
  EPSC_TP, EPSC_Tm, EPSC_Td, EPSC_T_,
  EPSC_TR, EPSC_Tr, EPSC_Tf, EPSC_Ta,
  EPSC_Tl, EPSC_Tt, EPSC_TW, EPSC_Tw,
  EPSC_TC, EPSC_Tc, EPSC_Ts, EPSC_Ti,
  EPSC_Tz, EPSC_TA, EPSC_Tq, EPSC_Tx,
  EPSC_Tj, EPSC_TX, EPSC_Tk, EPSC_TK,
  EPSC_Tplus, EPSC_Tminus, EPSC_end, EPSC_ctx,
  EPSC_ctex, EPSC_Name, EPSC_ArrayStart, EPSC_ArrayEnd,
  EPSC_Slash, EPSC_Integer, EPSC_Double, EPSC_FixedPoint,
  EPSC_String, EPSC_Comment, EPSC_EOL, EPSC_EOF
}

Variables

const INT32 EPSScaleFactor = 1000
const UINT32 EPSC_Invalid = 0


Define Documentation

#define ImmediateColourFudgeyBodgeName   (_T("ciamcawahh42"))
 

Definition at line 140 of file epsfiltr.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
EPSC_showpage 
EPSC_A 
EPSC_d 
EPSC_i 
EPSC_D 
EPSC_j 
EPSC_J 
EPSC_M 
EPSC_w 
EPSC_g 
EPSC_G 
EPSC_k 
EPSC_K 
EPSC_x 
EPSC_X 
EPSC_p 
EPSC_P 
EPSC_O 
EPSC_R 
EPSC_u 
EPSC_U 
EPSC_m 
EPSC_l 
EPSC_L 
EPSC_c 
EPSC_C 
EPSC_v 
EPSC_V 
EPSC_y 
EPSC_Y 
EPSC_N 
EPSC_n 
EPSC_F 
EPSC_f 
EPSC_S 
EPSC_s 
EPSC_B 
EPSC_b 
EPSC__u 
EPSC__U 
EPSC_q 
EPSC_Q 
EPSC_H 
EPSC_h 
EPSC_W 
EPSC_To 
EPSC_TO 
EPSC_Tp 
EPSC_TP 
EPSC_Tm 
EPSC_Td 
EPSC_T_ 
EPSC_TR 
EPSC_Tr 
EPSC_Tf 
EPSC_Ta 
EPSC_Tl 
EPSC_Tt 
EPSC_TW 
EPSC_Tw 
EPSC_TC 
EPSC_Tc 
EPSC_Ts 
EPSC_Ti 
EPSC_Tz 
EPSC_TA 
EPSC_Tq 
EPSC_Tx 
EPSC_Tj 
EPSC_TX 
EPSC_Tk 
EPSC_TK 
EPSC_Tplus 
EPSC_Tminus 
EPSC_end 
EPSC_ctx 
EPSC_ctex 
EPSC_Name 
EPSC_ArrayStart 
EPSC_ArrayEnd 
EPSC_Slash 
EPSC_Integer 
EPSC_Double 
EPSC_FixedPoint 
EPSC_String 
EPSC_Comment 
EPSC_EOL 
EPSC_EOF 

Definition at line 150 of file epsfiltr.h.

00151 {
00152     EPSC_showpage = 1,
00153     
00154     // Graphics state operators
00155     EPSC_A,
00156     EPSC_d,
00157     EPSC_i,
00158     EPSC_D,
00159     EPSC_j,
00160     EPSC_J,
00161     EPSC_M,
00162     EPSC_w,
00163 
00164     // Colour operators
00165     EPSC_g,
00166     EPSC_G,
00167     EPSC_k,
00168     EPSC_K,
00169     EPSC_x,
00170     EPSC_X,
00171     EPSC_p,
00172     EPSC_P,
00173     
00174     // Overprint operators
00175     EPSC_O,
00176     EPSC_R,
00177 
00178     // Group operators
00179     EPSC_u,
00180     EPSC_U,
00181     
00182     // Path Construction operators
00183     EPSC_m,
00184     EPSC_l,
00185     EPSC_L,
00186     EPSC_c,
00187     EPSC_C,
00188     EPSC_v,
00189     EPSC_V,
00190     EPSC_y,
00191     EPSC_Y,
00192 
00193     // Path Painting operators
00194     EPSC_N,
00195     EPSC_n,
00196     EPSC_F,
00197     EPSC_f,
00198     EPSC_S,
00199     EPSC_s,
00200     EPSC_B,
00201     EPSC_b,
00202     EPSC__u,  // Actually *u
00203     EPSC__U,  //      and *U
00204 
00205     // Clipping operators
00206     EPSC_q,
00207     EPSC_Q,
00208     EPSC_H,
00209     EPSC_h,
00210     EPSC_W,
00211     
00212     // Text operators
00213     EPSC_To,
00214     EPSC_TO,
00215     EPSC_Tp,
00216     EPSC_TP,
00217 
00218     // Matrix operators
00219     EPSC_Tm,
00220     EPSC_Td,
00221     EPSC_T_,
00222     EPSC_TR,
00223 
00224     // Text Attribute operators
00225     EPSC_Tr,
00226     EPSC_Tf,
00227     EPSC_Ta,
00228     EPSC_Tl,
00229     EPSC_Tt,
00230     EPSC_TW,
00231     EPSC_Tw,
00232     EPSC_TC,
00233     EPSC_Tc,
00234     EPSC_Ts,
00235     EPSC_Ti,
00236     EPSC_Tz,
00237     EPSC_TA,
00238     EPSC_Tq,
00239 
00240     // Text Body operators
00241     EPSC_Tx,
00242     EPSC_Tj,
00243     EPSC_TX,
00244     EPSC_Tk,
00245     EPSC_TK,
00246     EPSC_Tplus,
00247     EPSC_Tminus,
00248 
00249     // Special tokens
00250     EPSC_end,
00251     EPSC_ctx,
00252     EPSC_ctex,
00253 
00254     EPSC_Name,
00255     EPSC_ArrayStart,
00256     EPSC_ArrayEnd,
00257     EPSC_Slash,
00258     EPSC_Integer,
00259     EPSC_Double,
00260     EPSC_FixedPoint,
00261     EPSC_String, 
00262     EPSC_Comment,
00263     EPSC_EOL,
00264     EPSC_EOF
00265 };


Variable Documentation

const UINT32 EPSC_Invalid = 0
 

Definition at line 145 of file epsfiltr.h.

const INT32 EPSScaleFactor = 1000
 

Definition at line 144 of file epsfiltr.h.


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