IDCompositionVisual interface

Represents a Microsoft DirectComposition visual.

Methods

The IDCompositionVisual interface has these methods.

Method Description
IDCompositionVisual::AddVisual Adds a new child visual to the children list of this visual.
IDCompositionVisual::RemoveAllVisuals Removes all visuals from the children list of this visual.
IDCompositionVisual::RemoveVisual Removes a child visual from the children list of this visual.
IDCompositionVisual::SetBitmapInterpolationMode Sets the BitmapInterpolationMode property, which specifies the mode for Microsoft DirectComposition to use when interpolating pixels from bitmaps that are not axis-aligned or drawn exactly at scale.
IDCompositionVisual::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.
IDCompositionVisual::SetClip Sets the Clip property of this visual to the specified rectangle.
IDCompositionVisual::SetClip Sets the Clip property of this visual to the specified clip object.
IDCompositionVisual::SetCompositeMode Sets the blending mode for this visual.
IDCompositionVisual::SetContent Sets the Content property of this visual to the specified bitmap or window wrapper.
IDCompositionVisual::SetEffect Sets the Effect property of this visual.
IDCompositionVisual::SetOffsetX Changes the value of the OffsetX property of this visual.
IDCompositionVisual::SetOffsetX Changes the value of the OffsetX property of this visual.
IDCompositionVisual::SetOffsetY Changes the value of the OffsetY property of this visual.
IDCompositionVisual::SetOffsetY Animates the value of the OffsetY property of this visual.
IDCompositionVisual::SetTransform Sets the Transform property of this visual to the specified 3-by-2 transform matrix.
IDCompositionVisual::SetTransform Sets the Transform property of this visual to the specified 2D transform object.
IDCompositionVisual::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]
Target Platform Windows
Header dcomp.h

See Also

IDCompositionDevice::CreateVisual