IDCompositionVisual2

An IDCompositionVisual2 interface represents a visual that participates in a visual tree.

Members

Functions

SetBackFaceVisibility
HRESULT SetBackFaceVisibility(DCOMPOSITION_BACKFACE_VISIBILITY visibility)

Sets back face visibility

SetOpacityMode
HRESULT SetOpacityMode(DCOMPOSITION_OPACITY_MODE mode)

Changes the interpretation of the opacity property of an effect group associated with this visual

Inherited Members

From IDCompositionVisual

SetOffsetX
HRESULT SetOffsetX(float offsetX)

Changes the value of OffsetX property

SetOffsetX
HRESULT SetOffsetX(IDCompositionAnimation animation)

Animates the value of the OffsetX property.

SetOffsetY
HRESULT SetOffsetY(float offsetY)

Changes the value of OffsetY property

SetOffsetY
HRESULT SetOffsetY(IDCompositionAnimation animation)

Animates the value of the OffsetY property.

SetTransform
HRESULT SetTransform(const(D2D_MATRIX_3X2_F)* matrix)

Sets the matrix that modifies the coordinate system of this visual.

SetTransform
HRESULT SetTransform(IDCompositionTransform transform)

Sets the transformation object that modifies the coordinate system of this visual.

SetTransformParent
HRESULT SetTransformParent(IDCompositionVisual visual)

Sets the visual that should act as this visual's parent for the purpose of establishing a base coordinate system.

SetEffect
HRESULT SetEffect(IDCompositionEffect effect)

Sets the effect object that is applied during the rendering of this visual

SetBitmapInterpolationMode
HRESULT SetBitmapInterpolationMode(DCOMPOSITION_BITMAP_INTERPOLATION_MODE interpolationMode)

Sets the mode to use when interpolating pixels from bitmaps drawn not exactly at scale and axis-aligned.

SetBorderMode
HRESULT SetBorderMode(DCOMPOSITION_BORDER_MODE borderMode)

Sets the mode to use when drawing the edge of bitmaps that are not exactly axis-aligned and at precise pixel boundaries.

SetClip
HRESULT SetClip(const(D2D_RECT_F)* rect)

Sets the clip object that restricts the rendering of this visual to a D2D rectangle.

SetClip
HRESULT SetClip(IDCompositionClip clip)

Sets the clip object that restricts the rendering of this visual to a rectangle.

SetContent
HRESULT SetContent(IUnknown content)

Associates a bitmap with a visual

AddVisual
HRESULT AddVisual(IDCompositionVisual visual, BOOL insertAbove, IDCompositionVisual referenceVisual)

Adds a visual to the children list of another visual.

RemoveVisual
HRESULT RemoveVisual(IDCompositionVisual visual)

Removes a visual from the children list of another visual.

RemoveAllVisuals
HRESULT RemoveAllVisuals()

Removes all visuals from the children list of another visual.

SetCompositeMode
HRESULT SetCompositeMode(DCOMPOSITION_COMPOSITE_MODE compositeMode)

Sets the mode to use when composing the bitmap against the render target.

Meta