IDCompositionVisual interface
Represents a Microsoft DirectComposition visual.
When to implement
Client applications do not implement IDCompositionVisual; custom implementations are not supported.
Members
The IDCompositionVisual interface inherits from the IUnknown interface. IDCompositionVisual also has these types of members:
Methods
The IDCompositionVisual interface has these methods.
| Method | Description |
|---|---|
| AddVisual |
Adds a new child visual to the children list of this visual. |
| RemoveAllVisuals |
Removes all visuals from the children list of this visual. |
| RemoveVisual |
Removes a child visual from the children list of this visual. |
| SetBitmapInterpolationMode |
Sets the BitmapInterpolationMode property, which specifies the mode for DirectComposition to use when interpolating pixels from bitmaps that are not axis-aligned or drawn exactly at scale. |
| SetBorderMode |
Sets the BorderMode property, which specifies how to compose the edges of bitmaps and clips associated with this visual, or with visuals in the subtree rooted at this visual. |
| SetClip | Overloaded. Sets the Clip property of this visual to the specified rectangular region or clip object. |
| SetCompositeMode |
Sets the blending mode for this visual. |
| SetContent |
Sets the Content property of this visual to the specified bitmap or window wrapper. |
| SetEffect |
Sets the Effect property of this visual. |
| SetOffsetX | Overloaded. Changes or animates the value of the OffsetX property of this visual, altering the horizontal position of the visual relative to its parent. |
| SetOffsetY | Overloaded. Changes or animates the value of the OffsetY property of this visual, altering the vertical position of the visual relative to its parent. |
| SetTransform | Overloaded. Sets the Transform property of this visual. The Transform property specifies a 2D transform used to modify the coordinate system of this visual. The property can specify either a 3-by-2 transform matrix or a transform object. |
| SetTransformParent |
Sets the TransformParent property of this visual. The TransformParent property establishes the coordinate system relative to which this visual is composed. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also