cmxistut.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "cmxistut.h"

Go to the source code of this file.

Defines

#define COMPILING_CMXISTUT_CPP
#define CI_TRACE(n)
#define RDIN(type, name)   type name; pFile->read(&name, sizeof(name));
 fills the structure pointed to by Out according to the instructions
#define RDOUT(type, name)   {*((type *)pOut) = name; pOut += sizeof(type);}
#define RDSTORE(name)
#define SIMPLEREAD(instr, intype, outtype)
#define READLENGTH(name)
#define MAXSTACKLEVEL   16
#define MAXTAGLEVEL   16
#define STACKLEVELUP
#define STACKLEVELDOWN
#define STOREDVALUE   (StoreStack[StackLevel])
#define PARAM(n)   (Instructions[n+1])
#define OUTPUTMARKER   (OutputMarkerStack[StackLevel])
#define INPUTMARKER   (InputMarkerStack[StackLevel])

Functions

 END_CMXDESC (73)
 sizeof (INT32)*33)
 sizeof (WORD)+sizeof(BYTE))
 sizeof (DWORD)+sizeof(BYTE))
 sizeof (double))
 sizeof (cmxiRenderAttr))
 sizeof (BOOL))
()() char (cmxUSAGEMASK_UseCharFill|cmxUSAGEMASK_UseCharOutline))

Variables

 cmxTAG_TextFrame_HeightSkewMatrix
 cmxTAG_BeginParagraph_RenderingAttr
 cmxTAG_BeginParagraph_FontSpecification
 cmxTAG_BeginParagraph_KerningSpecification
 cmxTAG_BeginParagraph_Justification
 cmxTAG_BeginParagraph_SpacingSpecification
 cmxTAG_BeginParagraph_TabSpecification
 cmxTAG_BeginParagraph_BulletSpecification
 TRUE
 FALSE
 cmxTAG_BeginParagraph_Indentation
 cmxTAG_BeginParagraph_Hyphenation
 cmxTAG_BeginParagraph_DropCap
 cmxTAG_Characters_CountIndex
 cmxTAG_CharInfo_CharInfo
char )(cmxUSAGEMASK_UseTypeNum|cmxUSAGEMASK_UseTypeStyle))
sizeof )(INT32)
cmxUSAGEMASK_UseTypeSize )
cmxUSAGEMASK_UseCharAngle )
()() cmxUSAGEMASK_UseCharHShift
()() char cmxUSAGEMASK_UseCharVShift
()() char END_CMXDESC
()() char END_CMXDESC cmxTAG_DescrSection_Font_FontInfo
()() char END_CMXDESC cmxTAG_DescrSection_Font_Panose


Define Documentation

#define CI_TRACE  ) 
 

#define COMPILING_CMXISTUT_CPP
 

Definition at line 103 of file cmxistut.cpp.

#define INPUTMARKER   (InputMarkerStack[StackLevel])
 

Definition at line 415 of file cmxistut.cpp.

#define MAXSTACKLEVEL   16
 

Definition at line 403 of file cmxistut.cpp.

#define MAXTAGLEVEL   16
 

Definition at line 404 of file cmxistut.cpp.

#define OUTPUTMARKER   (OutputMarkerStack[StackLevel])
 

Definition at line 414 of file cmxistut.cpp.

#define PARAM  )     (Instructions[n+1])
 

Definition at line 413 of file cmxistut.cpp.

#define RDIN type,
name   )     type name; pFile->read(&name, sizeof(name));
 

fills the structure pointed to by Out according to the instructions

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
06/08/96
Parameters:
pointer to the structure to fill, instructions on what to fill it with [INPUTS]
Returns:
success

Definition at line 392 of file cmxistut.cpp.

#define RDOUT type,
name   )     {*((type *)pOut) = name; pOut += sizeof(type);}
 

Definition at line 393 of file cmxistut.cpp.

#define RDSTORE name   ) 
 

Value:

if(StoreNext) {StoreStack[StackLevel] = (INT32)name; \
                            /*TRACEUSER( "Ben", _T("store %d = 0x%x\n"), (INT32)name, (INT32)name);*/ \
                            StoreNext = FALSE;}

Definition at line 394 of file cmxistut.cpp.

#define READLENGTH name   ) 
 

Value:

INT32 name; if(Is32Bit) {RDIN(SDWORD, data) name = data;} \
                            else {RDIN(SWORD, data) name = data;}

Definition at line 401 of file cmxistut.cpp.

#define SIMPLEREAD instr,
intype,
outtype   ) 
 

Value:

case instr:         \
                            {RDIN(intype, data) RDOUT(outtype, data) \
                            /*TRACEUSER( "Ben", _T("simpleread value = %d = 0x%x\n"), data, data);*/ \
                            RDSTORE(data) } break;

Definition at line 397 of file cmxistut.cpp.

#define STACKLEVELDOWN
 

Value:

{ERROR2IF(StackLevel < 1, FALSE, "unmatched stack levels in CMXImportFilter::ReadData"); \
                            StackLevel--;}

Definition at line 410 of file cmxistut.cpp.

#define STACKLEVELUP
 

Value:

{ERROR2IF((StackLevel + 1) >= MAXSTACKLEVEL, FALSE, "stack level exceeded in CMXImportFilter::ReadData"); \
                            StackLevel++; StoreStack[StackLevel] = StoreStack[StackLevel - 1]; \
                            OutputMarkerStack[StackLevel] = OutputMarkerStack[StackLevel - 1]; \
                            IfExecStack[StackLevel] = IfExecStack[StackLevel - 1]; \
                            InputMarkerStack[StackLevel] = InputMarkerStack[StackLevel - 1];}

Definition at line 405 of file cmxistut.cpp.

#define STOREDVALUE   (StoreStack[StackLevel])
 

Definition at line 412 of file cmxistut.cpp.


Function Documentation

()() char cmxUSAGEMASK_UseCharFill|  cmxUSAGEMASK_UseCharOutline  ) 
 

END_CMXDESC 73   ) 
 

sizeof BOOL   ) 
 

sizeof cmxiRenderAttr   ) 
 

sizeof double   ) 
 

sizeof DWORD   ) 
 

sizeof WORD   ) 
 

sizeof INT32   ) 
 


Variable Documentation

( char)(cmxUSAGEMASK_UseTypeNum|cmxUSAGEMASK_UseTypeStyle))
 

cmxTAG_BeginParagraph_BulletSpecification
 

Definition at line 216 of file cmxistut.cpp.

cmxTAG_BeginParagraph_DropCap
 

Definition at line 262 of file cmxistut.cpp.

cmxTAG_BeginParagraph_FontSpecification
 

Definition at line 128 of file cmxistut.cpp.

cmxTAG_BeginParagraph_Hyphenation
 

Definition at line 242 of file cmxistut.cpp.

cmxTAG_BeginParagraph_Indentation
 

Definition at line 242 of file cmxistut.cpp.

cmxTAG_BeginParagraph_Justification
 

Definition at line 128 of file cmxistut.cpp.

cmxTAG_BeginParagraph_KerningSpecification
 

Definition at line 128 of file cmxistut.cpp.

cmxTAG_BeginParagraph_RenderingAttr
 

Definition at line 128 of file cmxistut.cpp.

cmxTAG_BeginParagraph_SpacingSpecification
 

Definition at line 128 of file cmxistut.cpp.

cmxTAG_BeginParagraph_TabSpecification
 

Definition at line 160 of file cmxistut.cpp.

cmxTAG_Characters_CountIndex
 

Definition at line 290 of file cmxistut.cpp.

cmxTAG_CharInfo_CharInfo
 

Definition at line 297 of file cmxistut.cpp.

()() char END_CMXDESC cmxTAG_DescrSection_Font_FontInfo
 

Definition at line 360 of file cmxistut.cpp.

()() char END_CMXDESC cmxTAG_DescrSection_Font_Panose
 

Definition at line 360 of file cmxistut.cpp.

cmxTAG_TextFrame_HeightSkewMatrix
 

Definition at line 116 of file cmxistut.cpp.

( cmxUSAGEMASK_UseCharAngle)
 

Definition at line 315 of file cmxistut.cpp.

()() cmxUSAGEMASK_UseCharHShift
 

Definition at line 325 of file cmxistut.cpp.

()() char cmxUSAGEMASK_UseCharVShift
 

Definition at line 331 of file cmxistut.cpp.

( cmxUSAGEMASK_UseTypeSize)
 

Definition at line 310 of file cmxistut.cpp.

END_CMXDESC
 

Definition at line 337 of file cmxistut.cpp.

FALSE
 

Definition at line 221 of file cmxistut.cpp.

sizeof
 

TRUE
 

Definition at line 221 of file cmxistut.cpp.


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