IDXGradient interface

The IDXGradient interface produces gradient images that fade gradually from one color to another.

Members

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

  • Methods

Methods

The IDXGradient interface has these methods.

Method Description
GetOutputSize

Retrieves the size of the output surface.

SetGradient

Sets the parameters used to produce the gradient surface.

Remarks

This interface is used like a transform that has no input surfaces and produces one DXSurface object as output. The output surface is determined by setting a start color, end color, and choosing either a horizontal or vertical gradient.

This interface inherits from the IDXTScaleOutput interface, which enables you to set the output size of the gradient surface.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

DLL

Dxtrans.dll