IDXTScaleOutput interface

The IDXTScaleOutput interface is an optional interface supported by certain image transforms. It enables you to scale transform output to a specified size. It is typically supported by zero input image transforms, such as the Gradient sample included with the software development kit (SDK).

Members

The IDXTScaleOutput interface inherits from the IUnknown interface. IDXTScaleOutput also has these types of members:

  • Methods

Methods

The IDXTScaleOutput interface has these methods.

Method Description
SetOutputSize

Sets the size of the scaled transform output.

 

Remarks

If a transform supports this interface, the output is scaled when the transform's IDXTransform::Execute method is called. This saves you the extra step of creating an IDXTScale interface to scale the output of the first transform.

To use this interface, create an instance of an IDXTScaleOutput Component Object Model (COM) pointer and call QueryInterface on the transform as shown in the following code example.

     CComPtr<IDXTScaleOutput>        cpTScaleOutput;
     ...
     hr = cpTrans->QueryInterface( IID_IDXTScaleOutput, (void**) &cpTScaleOutput );

You can then use the returned pointer to access the IDXTScaleOutput interface method.

This interface inherits from the IUnknown interface.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

DLL

Dxtrans.dll