metafilt.cpp File Reference

(r1785/r1282)

#include "camtypes.h"
#include "metafilt.h"
#include "gdimagic.h"
#include "camelot.h"
#include "nodepath.h"
#include "oilfiles.h"
#include "csrstack.h"
#include "progress.h"
#include "page.h"
#include "layer.h"
#include "osrndrgn.h"
#include "camvw.h"
#include "wbitmap.h"
#include "nodebmp.h"
#include "nodetxts.h"
#include "nodeelip.h"
#include "clipext.h"
#include "metaview.h"

Go to the source code of this file.

Classes

class  HandleRecord
 Table entries used by the HandleTable class. This class currently supports pen handles and brush handles. Other handles (e.g. Fonts) will be added as necessary. More...
class  HandleTable
 Provide a mirror of the table of handles maintained by GDI when importing a MetaFile. This is necessary because, given a GDI handle, it is not possible to ask GDI what kind of object it is, and hence work out e.g. what kind of pen/brush it is. This class therefore creates, selects, and deletes handle objects in the same way that GDI would (see EnumMetafile help in SDK documentation for further details...possibly). At the moment, this HandleTable only supports pens and brushes. More...
struct  POLYPOLYGON_INFO16

Typedefs

typedef short INT16
typedef WORD UINT16

Enumerations

enum  HandleType {
  HANDLE_NONE, HANDLE_PEN, HANDLE_BRUSH, HANDLE_PALETTE,
  HANDLE_PATTERNBRUSH, HANDLE_FONTINDIRECT, HANDLE_REGION
}

Variables

static const INT32 TableGranularity = 10
static const INT32 BAD_SLOT = -1


Typedef Documentation

typedef short INT16
 

Definition at line 148 of file metafilt.cpp.

typedef WORD UINT16
 

Definition at line 149 of file metafilt.cpp.


Enumeration Type Documentation

enum HandleType
 

Comment: Used to identify the type of a GDI handle in a HandleTable entry.

See also:
HandleRecord; HandleTable; MetaFileFilter
Enumerator:
HANDLE_NONE 
HANDLE_PEN 
HANDLE_BRUSH 
HANDLE_PALETTE 
HANDLE_PATTERNBRUSH 
HANDLE_FONTINDIRECT 
HANDLE_REGION 

Definition at line 206 of file metafilt.cpp.

00207 {
00208     HANDLE_NONE,
00209     HANDLE_PEN,
00210     HANDLE_BRUSH,
00211     HANDLE_PALETTE,
00212     HANDLE_PATTERNBRUSH,
00213     HANDLE_FONTINDIRECT,
00214     HANDLE_REGION
00215 } HandleType;


Variable Documentation

const INT32 BAD_SLOT = -1 [static]
 

Definition at line 334 of file metafilt.cpp.

const INT32 TableGranularity = 10 [static]
 

Definition at line 331 of file metafilt.cpp.


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