InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IMonitorInfo.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Stacy Molitor
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
// Core interface for getting information about the monitor.
24
//
25
//========================================================================================
26
27
#ifndef __IMONITORINFO__
28
#define __IMONITORINFO__
29
30
#include "ShuksanID.h"
31
32
class
IControlView
;
33
34
class
IMonitorInfo
:
public
IPMUnknown
35
{
36
public
:
37
enum
{kDefaultIID = IID_IMONITORINFO};
43
virtual
GSysRect
GetMainScreenRect
()
const
= 0;
44
51
virtual
GSysRect
GetScreenRect
(
const
SysPoint
& refPoint )
const
= 0;
52
60
virtual
GSysRect
GetPaletteAreaRect
()
const
= 0;
61
70
virtual
GSysRect
GetPaletteAreaRect
(
const
SysPoint
& refPoint)
const
= 0;
71
77
virtual
GSysRect
GetClientAreaRect
()
const
= 0;
78
90
virtual
GSysRect
GetGlobalDocWindowAreaRect
()
const
= 0;
91
101
virtual
SysRect
GetLocalDocWindowAreaRect
()
const
= 0;
102
110
virtual
void
SetDocWindowAreaRect
(
const
GSysRect
& newDocWindowRect) = 0;
111
118
virtual
GSysRect
GetBestScreenRect
(
const
SysRect
& refRect )
const
= 0;
119
125
virtual
int32
GetNumberOfMonitors
()
const
= 0;
126
133
virtual
PMReal
GetMainScreenPixelsPerInch
(bool32 honorUserInterfacePrefs = kTrue)
const
= 0;
134
144
virtual
PMReal
GetScreenPixelsPerInch
(
const
SysPoint
& refPoint, bool32 honorUserInterfacePrefs = kTrue)
const
= 0;
145
157
virtual
PMReal
GetScreenPixelsPerInch
(
const
IControlView
* view, bool32 honorUserInterfacePrefs = kTrue)
const
= 0;
158
};
159
160
161
#endif // __IMONITORINFO__
tmpdoxygeninput
IMonitorInfo.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1