InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
PMPolygon4.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Lonnie Millett
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
24
#ifndef __PMPOLYGON4__
25
#define __PMPOLYGON4__
26
27
#ifndef __PMPOINT__
28
#include "PMPoint.h"
29
#endif
30
31
#ifndef __PMRECT__
32
#include "PMRect.h"
33
#endif
34
35
//----------------------------------------------------------------------------------------
36
// Forward declarations
37
//----------------------------------------------------------------------------------------
38
class
PMPolygon4
;
39
40
//----------------------------------------------------------------------------------------
41
// Typedefs
42
// The following types are designed primarily for use in parameter lists to aid in
43
// determining what coordinate space a method or function expects a parameter to be in.
44
// They are just synonyms for PMPolygon4
45
//----------------------------------------------------------------------------------------
46
typedef
PMPolygon4
VPMPolygon4
;
// polygon4 in "View" coordinates
47
typedef
PMPolygon4
PBPMPolygon4
;
// polygon4 in "Pasteboard" coordinates
48
typedef
PMPolygon4
IPMPolygon4
;
// polygon4 in "Inner" coordinates
49
typedef
PMPolygon4
OPMPolygon4
;
// polygon4 in "Outer" coordinates
50
51
52
//----------------------------------------------------------------------------------------
53
// PMPolygon4
54
//----------------------------------------------------------------------------------------
55
58
class
PMPolygon4
59
{
60
public
:
61
typedef
base_type
data_type
;
62
65
PMPolygon4
();
69
PMPolygon4
(
const
PMRect
& r);
73
PMPolygon4
(
const
PMPolygon4
& other);
74
78
void
SetPoints
(
const
PMRect
& r);
79
82
bool16
IsEmpty
()
const
;
83
88
PMPolygon4
&
operator=
(
const
PMPolygon4
& other);
89
94
PMPoint
operator[]
(int16 index)
const
;
95
100
PMPoint
&
operator[]
(int16 index);
101
104
PMRect
GetContainingRect
()
const
;
105
106
private
:
107
PMPoint
fPolyPt[4];
108
};
109
110
111
#endif
tmpdoxygeninput
PMPolygon4.h
Generated on Sat Jul 19 2025 02:54:17 for InDesign SDK by
1.8.3.1