InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IHandleShape.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: 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 of Interface:
24
// IHandleShape is the shape interface for selection handles.
25
//
26
// IHandleShape is ONLY for drawing and hit testing of selection handles
27
// It is NOT a persistant interface and should have no duties other than
28
// those mentioned.
29
//
30
//========================================================================================
31
32
#ifndef __IHANDLESHAPE__
33
#define __IHANDLESHAPE__
34
35
#include "IPMUnknown.h"
36
#include "GenericID.h"
37
#include "GraphicsID.h"
38
#include "PathTypes.h"
39
#include "PMRect.h"
40
#include "UIDRef.h"
41
#include "GraphicsData.h"
42
43
class
IViewPort
;
44
class
IGeometry
;
45
class
PMMatrix
;
46
class
ITracker
;
47
class
IConcreteSelection
;
48
class
IOutlineInfo
;
49
class
ITip
;
50
55
class
IHandleShape
:
public
IPMUnknown
56
{
57
public
:
66
virtual
void
DrawHandleShape
(
GraphicsData
* gd,
IConcreteSelection
* concreteSelection, int32 flags = 0) = 0;
67
75
virtual
void
DrawControlPointPath
(
GraphicsData
* gd, int32 flags = 0) = 0;
76
86
virtual
bool16
HitTest
(
GraphicsData
* gd,
const
PMRect
&r,
PointSelector
* handleIndex, bool16 bDragging = kFalse) = 0;
87
95
virtual
bool16
HitTestControlPointPath
(
GraphicsData
* gd,
const
PMRect
&r) = 0;
96
103
virtual
void
GetControlPointPathOutlineInfo
(
IOutlineInfo
* iOutlineInfo) = 0;
104
111
virtual
PMRect
GetPaintedHandleBounds
(
const
PMMatrix
& pbtoview) = 0;
112
121
virtual
void
Inval
(
GraphicsData
*gd,
ClassID
reasonForInval = 0, int32 flags = 0) = 0;
122
132
virtual
ITracker
*
QueryTracker
(
IControlView
*layView,
const
PBPMPoint
& where, int32 selectionMode,
const
PointSelector
& index) = 0;
133
141
virtual
ITip
*
QueryTip
(
const
PointSelector
* handleIndex) = 0;
142
};
143
144
145
#endif
tmpdoxygeninput
IHandleShape.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1