InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDVOffscreenPortData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Deepak Gupta
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
// //degupta - need to update
23
//
24
// Purpose of interface:
25
// This is the OffscreenPort specific interface attached to offscreen view ports.
26
// It is a shell over the AGM API for setting up offscreen ports.
27
// In order to use an offscreen port, you have to create an IPlatformBitmap and
28
// then load that into the port via SetTargetBitmap. This is analogous to setting
29
// the targetwindow on a window view port.
30
//
31
//========================================================================================
32
33
#ifndef __IDVOffscreenPortData__
34
#define __IDVOffscreenPortData__
35
36
#include "IPMUnknown.h"
37
#include "GraphicsID.h"
38
#include "HelperInterface.h"
39
40
#include "DVAForwardDeclarations.h"
41
42
class
PMMatrix
;
43
class
IDVPlatformOffscreen
;
44
45
93
class
IDVOffscreenPortData
:
public
IPMUnknown
94
{
95
public
:
98
enum
{ kDefaultIID = IID_IDVOFFSCREENPORTDATA };
99
100
virtual
~
IDVOffscreenPortData
() {}
101
105
virtual
void
SetTargetBitmap
(
IDVPlatformOffscreen
* bitmap, bool16 isStraight = kFalse) = 0;
106
107
113
virtual
IDVPlatformOffscreen
*
QueryTargetBitmap
() = 0;
114
119
virtual
const
Int32Rect
&
GetTargetBitmapBounds
() = 0;
120
125
virtual
dvaui::drawbot::Drawbot*
GetDrawbot
()
const
= 0;
126
134
virtual
bool16
UpdateTargetBitmap
(
const
Int32Rect
& newbounds,
PMReal
uiScaleFactor) = 0;
135
136
142
virtual
bool16
UpdateTargetBitmapIfDiffSize
(
const
Int32Rect
& newBounds,
PMReal
uiScaleFactor) = 0;
143
144
};
145
146
#endif
tmpdoxygeninput
IDVOffscreenPortData.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1