InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDownSampleImageStreamData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: jargast
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 DownSampleImageStream segment of the IImageStreamManager.
25
// This segment is used to downsample the given image data to the desired resolution.
26
// Note: alpha data must be removed using the IMungeSamplesImageStream segment prior
27
// to downsampling.
28
//
29
//========================================================================================
30
31
#ifndef __IDownSampleImageStreamData__
32
#define __IDownSampleImageStreamData__
33
34
#include "IPMUnknown.h"
35
43
class
IDownSampleImageStreamData
:
public
IPMUnknown
44
{
45
public
:
53
typedef
struct
{
54
uint32 inWidth;
// source pixels per scanline
55
uint32 inHeight;
// source number of scanlines
56
uint32 outWidth;
// destination pixels per scanline
57
uint32 outHeight;
// destination number of scanlines
58
uint32 samplesPerPixel;
// number of color samples per pixel
59
}
DownSampleInfo
;
60
65
virtual
void
SetDownSampleInfo
(
const
DownSampleInfo
& downSampleInfo) = 0;
66
71
virtual
void
GetDownSampleInfo
(
DownSampleInfo
* downSampleInfo)
const
= 0;
72
};
73
74
#endif
tmpdoxygeninput
IDownSampleImageStreamData.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1