InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IPathPageItem.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Jonathan W. Brown (based on jargast)
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// Purpose:
24
// This interface is designed to encapsulate the drawing, hit testing,
25
// and querying of path-based page items. All bosses must include an
26
// IID_IGRAPHICSTYLE_DESCRIPTOR interface as well.
27
//
28
//========================================================================================
29
30
#ifndef __IPathPageItem__
31
#define __IPathPageItem__
32
33
#include "IPMUnknown.h"
34
#include "GraphicsID.h"
35
36
class
IOutlineInfo
;
37
class
IGraphicsPort
;
38
class
PMMatrix
;
39
class
PMRect
;
40
46
class
IPathPageItem
:
public
IPMUnknown
47
{
48
public
:
52
enum
{ kDefaultIID = IID_IPATHPAGEITEM } ;
53
61
virtual
void
Stroke
(
IGraphicsPort
* gPort ) = 0 ;
62
71
virtual
void
Fill
(
IGraphicsPort
* gPort ) = 0 ;
72
81
virtual
void
Clip
(
IGraphicsPort
* gPort ) = 0 ;
82
89
virtual
void
CopyPath
(
IGraphicsPort
* gPort ) = 0 ;
90
100
virtual
PMRect
GetStrokeBoundingBox
(
const
PMMatrix
& theMatrix ) = 0 ;
101
109
virtual
PMRect
GetPaintedBoundingBox
(
const
PMMatrix
& theMatrix ) = 0 ;
110
119
virtual
bool16
InStroke
(
IGraphicsPort
* gPort,
const
PMRect
& r ) = 0 ;
120
129
virtual
bool16
InFill
(
IGraphicsPort
* gPort,
const
PMRect
& r ) = 0 ;
130
137
virtual
void
GetOutlineInfo
(
IOutlineInfo
* iOutlineInfo ) = 0 ;
138
148
virtual
bool16
InFill
(
IGraphicsPort
* gPort,
const
PMRect
& r, int32 whichPath ) = 0 ;
149
} ;
150
151
#endif // __IPathPageItem__
tmpdoxygeninput
IPathPageItem.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1