InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
AGMImageAccessor.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: dstephens
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
// Description:
24
// This class is simply a wrapper around an AGMImageRecord which provides convenient
25
// accessor methods such that 3rd parties can at least know what the properties
26
// of the AGMImageRecord.
27
//
28
//========================================================================================
29
30
#ifndef __AGMImageAccessor__
31
#define __AGMImageAccessor__
32
33
34
#include "BravoForwardDecl.h"
35
40
class
AGMImageAccessor
41
{
42
public
:
45
virtual
~AGMImageAccessor
();
46
50
virtual
uint32
GetPMColorFamily
(
void
)
const
= 0;
51
55
virtual
uint16
GetAGMColorFamily
(
void
)
const
= 0;
56
60
virtual
const
uint8*
GetBaseAddr
(
void
)
const
= 0;
61
64
virtual
uint16
GetRowBytes
(
void
)
const
= 0;
65
68
virtual
uint16
GetBitsPerPixel
(
void
)
const
= 0;
69
72
virtual
Int32Rect
GetBounds
(
void
)
const
= 0;
73
78
virtual
uint32
GetColorMap
(uint8** colors)
const
= 0;
79
83
virtual
void
GetDecodeArray
(
const
float
** decodeArray)
const
= 0;
84
88
virtual
const
_t_AGMImageRecord
*
GetAGMImageRecord
(
void
)
const
= 0;
89
92
virtual
const
CAGMImage&
GetCAGMImage
(
void
)
const
= 0;
93
};
94
100
AGMImageAccessor
*CreateAGMImageAccessor(
_t_AGMImageRecord
& image, AGMColorSpace* imageCS = nil);
101
106
AGMImageAccessor
*CreateAGMImageAccessor(
const
CAGMImage& image);
107
108
#endif
tmpdoxygeninput
AGMImageAccessor.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1