drawfltr.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "drawfltr.h"
#include <ctype.h>
#include <afxdlgs.h>
#include "paper.h"
#include "nodepath.h"
#include "lineattr.h"
#include "progress.h"
#include "page.h"

Go to the source code of this file.

Classes

class  DrawColour
 Mirrors the representation of a colour as used in Acorn Draw files. More...
union  DrawPathStyle
 Holds the style information for a path as used in Acorn Draw files. More...
class  DashPatternHeader
 The header for the dash pattern structure contained in Acorn Draw files. It is usually followed by a series of dash and gap lengths in the file. More...
class  DrawPathElement
 Used to load in a path element from a Draw file. Not all of the 'Coords' array is always used - it depends on the path element. More...
class  DrawPathHeader
 Used to load in the header information for a path object in a Draw file. It holds details on the fill and line colours, the line width, and the style of the path. More...

Defines

#define DRAWOBJECT_FONTTABLE   (0)
#define DRAWOBJECT_TEXT   (1)
#define DRAWOBJECT_PATH   (2)
#define DRAWOBJECT_SPRITE   (5)
#define DRAWOBJECT_GROUP   (6)
#define DRAWOBJECT_TAGGED   (7)
#define DRAWOBJECT_TEXTAREA   (9)
#define DRAWOBJECT_TEXTCOLUMN   (10)
#define DRAWOBJECT_OPTIONS   (11)
#define DRAWOBJECT_TRANSFORMEDTEXT   (12)
#define DRAWOBJECT_TRANSFORMEDSPRITE   (13)
#define DRAWOBJECT_ERROR   (-1)
#define DRAWTAG_ENDOFPATH   (0)
#define DRAWTAG_MOVETO   (2)
#define DRAWTAG_CLOSESUBPATH   (5)
#define DRAWTAG_LINETO   (8)
#define DRAWTAG_CURVETO   (6)
#define SIZEOF_MOVETO   (12)
#define SIZEOF_CLOSESUBPATH   (4)
#define SIZEOF_LINETO   (12)
#define SIZEOF_CURVETO   (28)
#define DRAW_TRANSPARENT   (0xFFFFFFFF)
#define DRAW_GROUPNAMESIZE   (12)
 Read in a Draw group object, which can be an arbitrary group of Draw objects, possibly including other groups. A NodeGroup object is constructed from the group's data and added to the node pointed to by the member variable pNode.
#define DRAW_TAGSIZE   (4)

Functions

 DECLARE_SOURCE ("$Revision: 1282 $")


Define Documentation

#define DRAW_GROUPNAMESIZE   (12)
 

Read in a Draw group object, which can be an arbitrary group of Draw objects, possibly including other groups. A NodeGroup object is constructed from the group's data and added to the node pointed to by the member variable pNode.

Author:
Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
Date:
18/11/93
Returns:
-

Errors: Out of memory, error processing objects in the group, unexpected EOF.

See also:
AcornDrawFilter::ProcessObject Scope: Private

Definition at line 954 of file drawfltr.cpp.

#define DRAW_TAGSIZE   (4)
 

Definition at line 1009 of file drawfltr.cpp.

#define DRAW_TRANSPARENT   (0xFFFFFFFF)
 

Definition at line 171 of file drawfltr.cpp.

#define DRAWOBJECT_ERROR   (-1)
 

Definition at line 149 of file drawfltr.cpp.

#define DRAWOBJECT_FONTTABLE   (0)
 

Definition at line 137 of file drawfltr.cpp.

#define DRAWOBJECT_GROUP   (6)
 

Definition at line 141 of file drawfltr.cpp.

#define DRAWOBJECT_OPTIONS   (11)
 

Definition at line 145 of file drawfltr.cpp.

#define DRAWOBJECT_PATH   (2)
 

Definition at line 139 of file drawfltr.cpp.

#define DRAWOBJECT_SPRITE   (5)
 

Definition at line 140 of file drawfltr.cpp.

#define DRAWOBJECT_TAGGED   (7)
 

Definition at line 142 of file drawfltr.cpp.

#define DRAWOBJECT_TEXT   (1)
 

Definition at line 138 of file drawfltr.cpp.

#define DRAWOBJECT_TEXTAREA   (9)
 

Definition at line 143 of file drawfltr.cpp.

#define DRAWOBJECT_TEXTCOLUMN   (10)
 

Definition at line 144 of file drawfltr.cpp.

#define DRAWOBJECT_TRANSFORMEDSPRITE   (13)
 

Definition at line 147 of file drawfltr.cpp.

#define DRAWOBJECT_TRANSFORMEDTEXT   (12)
 

Definition at line 146 of file drawfltr.cpp.

#define DRAWTAG_CLOSESUBPATH   (5)
 

Definition at line 156 of file drawfltr.cpp.

#define DRAWTAG_CURVETO   (6)
 

Definition at line 158 of file drawfltr.cpp.

#define DRAWTAG_ENDOFPATH   (0)
 

Definition at line 154 of file drawfltr.cpp.

#define DRAWTAG_LINETO   (8)
 

Definition at line 157 of file drawfltr.cpp.

#define DRAWTAG_MOVETO   (2)
 

Definition at line 155 of file drawfltr.cpp.

#define SIZEOF_CLOSESUBPATH   (4)
 

Definition at line 163 of file drawfltr.cpp.

#define SIZEOF_CURVETO   (28)
 

Definition at line 165 of file drawfltr.cpp.

#define SIZEOF_LINETO   (12)
 

Definition at line 164 of file drawfltr.cpp.

#define SIZEOF_MOVETO   (12)
 

Definition at line 162 of file drawfltr.cpp.


Function Documentation

DECLARE_SOURCE "$Revision: 1282 $"   ) 
 


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