Changes one image into another in a zigzag pattern. The output image is divided into a grid. The cells in the grid change from the first image to the second image in a zigzag order. The zigzag pattern starts in the upper-left corner and moves in the following order: first row, left to right; second row, right to left; third row, left to right again; and so on.
Note To use this transform, you need to have Microsoft® DirectX® Media 6, Microsoft Internet Explorer 5, Microsoft Windows® 98 Second Edition, or Windows 2000 installed.
For more information, see Installation and Redistribution Information.
Transform Specifications
The following table contains the information you need to use this transform in C++ and script.
Class identifier (CLSID) | CLSID_CrZigzag |
---|---|
Globally unique identifier (GUID) | E6E73D20-0C8A-11d2-A484-00C04F8EFB69 |
Programmatic identifier (ProgId) | DXImageTransform.Microsoft.CrZigzag |
Category identifier (CATID) | CATID_DXImageTransform |
Custom interfaces | ICrZigzag |
Supported interfaces | IDXEffect |
Inputs | Two required of type IDXSurface |
Output | IDXSurface |
Custom Properties
The following table lists the custom properties that control the transform output.
Property | Type | Default | Description |
---|---|---|---|
GridSizeX, GridSizeY | short | 16 in the longer dimension | The number of cells in the grid in the x-direction and y-direction. By default, the longer dimension is 16, and the shorter dimension is determined by the image size in order to make the cells relatively square. |
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.