#include "doccoord.h"
#include "docrect.h"
#include "handles.h"
#include "pathtype.h"
#include "attr.h"
#include "gconsts.h"
Go to the source code of this file.
Classes | |
class | PathExtraInfo |
Creation, manipulation and use of extra information on paths, eg. Pressure. A path will have a pointer to an instance of this class if it has some extra information associated with it. The extra info is stored as a number of channels, each of which is an array of 'PathExtraElements' (currently UINTs). These channels can then be mapped to one of the known 'provider data' types, eg, Line Width, Colour etc. More... | |
struct | JoinInfo |
class | Path |
Creation, manipulation and use of Paths. A path is an arbitary collection of MoveTo, LineTo and CurveTo segments Public Member variables :- BOOL IsFilled - TRUE if this path if filled, FALSE otherwise. More... | |
Defines | |
#define | POINTFLAG_ENDPOINTS 0x0001 |
#define | POINTFLAG_CONTROLPOINTS 0x0002 |
#define | POINTFLAG_ENDSFIRST 0x0004 |
Typedefs | |
typedef UINT32 | PathExtraElement |
typedef UINT32 | PathWidth |
Enumerations | |
enum | ChannelIndex { CI_PRESSURE } |
enum | JoinType { JOIN_START, JOIN_END, JOIN_MIDDLE, JOIN_NONE } |
enum | PathTypeEnum { PATHTYPE_NONE, PATHTYPE_SHAPE, PATHTYPE_LINE } |
Variables | |
const INT32 | NUMEXTRACHANNELS = 1 |
const UINT32 | MAXPATHDIFFRATE = 64 |
const PathExtraElement | EXTRAVALUEMAX = 65535 |
|
|
|
These are the flags that get passed to the routine FindNearestPoint to allow me to filter out control points and that sort of thing. They can be ORed together. POINTFLAG_ENDPOINTS is set if the caller wants endpoints returned (in this context, an endpoint is any of a moveto, lineto or the third point on a curveto. Sometimes referred to as Anchor points) POINTFLAG_CONTROLPOINTS is set if the routine should return bezier curve control points. POINTFLAG_ENDSFIRST is set if the routine should look at all endpoints first, before it looks at control points. If clear, all points in the path are checked in order. |
|
|
|
|
|
|
|
Definition at line 125 of file paths.h. 00126 { 00127 CI_PRESSURE 00128 } ChannelIndex;
|
|
Definition at line 195 of file paths.h. 00196 { 00197 JOIN_START, // The Join is at the Start of the path 00198 JOIN_END, // The Join is at the End of the path 00199 JOIN_MIDDLE, // The Join is at the Start or End of an internal Sub Path 00200 JOIN_NONE // There is no Join 00201 } JoinType;
|
|
Definition at line 213 of file paths.h. 00213 {PATHTYPE_NONE, PATHTYPE_SHAPE, PATHTYPE_LINE };
|
|
|
|
|
|
|