InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IReadAlphaImageStreamData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: dstephen
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:
24 // Data interface for the ReadAlphasImageStream segment of the IImageStreamManager.
25 // This segment is used to read an alpha channel from an image.
26 //
27 //========================================================================================
28 
29 #ifndef __IReadAlphasImageStreamData__
30 #define __IReadAlphasImageStreamData__
31 
32 #include "IPMUnknown.h"
33 
43 {
44 public:
45 
51  virtual void SetChannelToRead (uint16 index) = 0;
52 
57  virtual void SetChannelsPerPixel (uint16 channelsPerPixel) = 0;
58 
62  virtual void SetSourceBitsPerChannel (uint16 bits) = 0;
63 
67  virtual void SetIsPlanar(bool8 isPlanar) = 0;
68 
71  virtual uint16 GetChannelToRead (void) const = 0;
72 
75  virtual uint16 GetChannelsPerPixel (void) const = 0;
76 
79  virtual uint16 GetSourceBitsPerChannel (void) const = 0;
80 
83  virtual bool8 GetIsPlanar(void) const = 0;
84 };
85 
86 #endif