pub trait IDCompositionVisual_Impl: Sized {
Show 17 methods
// Required methods
fn SetOffsetX(
&self,
animation: Option<&IDCompositionAnimation>,
) -> Result<()>;
fn SetOffsetX2(&self, offsetx: f32) -> Result<()>;
fn SetOffsetY(
&self,
animation: Option<&IDCompositionAnimation>,
) -> Result<()>;
fn SetOffsetY2(&self, offsety: f32) -> Result<()>;
fn SetTransform(
&self,
transform: Option<&IDCompositionTransform>,
) -> Result<()>;
fn SetTransform2(&self, matrix: *const Matrix3x2) -> Result<()>;
fn SetTransformParent(
&self,
visual: Option<&IDCompositionVisual>,
) -> Result<()>;
fn SetEffect(&self, effect: Option<&IDCompositionEffect>) -> Result<()>;
fn SetBitmapInterpolationMode(
&self,
interpolationmode: DCOMPOSITION_BITMAP_INTERPOLATION_MODE,
) -> Result<()>;
fn SetBorderMode(&self, bordermode: DCOMPOSITION_BORDER_MODE) -> Result<()>;
fn SetClip(&self, clip: Option<&IDCompositionClip>) -> Result<()>;
fn SetClip2(&self, rect: *const D2D_RECT_F) -> Result<()>;
fn SetContent(&self, content: Option<&IUnknown>) -> Result<()>;
fn AddVisual(
&self,
visual: Option<&IDCompositionVisual>,
insertabove: BOOL,
referencevisual: Option<&IDCompositionVisual>,
) -> Result<()>;
fn RemoveVisual(&self, visual: Option<&IDCompositionVisual>) -> Result<()>;
fn RemoveAllVisuals(&self) -> Result<()>;
fn SetCompositeMode(
&self,
compositemode: DCOMPOSITION_COMPOSITE_MODE,
) -> Result<()>;
}
Required Methods§
fn SetOffsetX(&self, animation: Option<&IDCompositionAnimation>) -> Result<()>
fn SetOffsetX2(&self, offsetx: f32) -> Result<()>
fn SetOffsetY(&self, animation: Option<&IDCompositionAnimation>) -> Result<()>
fn SetOffsetY2(&self, offsety: f32) -> Result<()>
fn SetTransform(&self, transform: Option<&IDCompositionTransform>) -> Result<()>
fn SetTransform2(&self, matrix: *const Matrix3x2) -> Result<()>
fn SetTransformParent(&self, visual: Option<&IDCompositionVisual>) -> Result<()>
fn SetEffect(&self, effect: Option<&IDCompositionEffect>) -> Result<()>
fn SetBitmapInterpolationMode( &self, interpolationmode: DCOMPOSITION_BITMAP_INTERPOLATION_MODE, ) -> Result<()>
fn SetBorderMode(&self, bordermode: DCOMPOSITION_BORDER_MODE) -> Result<()>
fn SetClip(&self, clip: Option<&IDCompositionClip>) -> Result<()>
fn SetClip2(&self, rect: *const D2D_RECT_F) -> Result<()>
fn SetContent(&self, content: Option<&IUnknown>) -> Result<()>
fn AddVisual( &self, visual: Option<&IDCompositionVisual>, insertabove: BOOL, referencevisual: Option<&IDCompositionVisual>, ) -> Result<()>
fn RemoveVisual(&self, visual: Option<&IDCompositionVisual>) -> Result<()>
fn RemoveAllVisuals(&self) -> Result<()>
fn SetCompositeMode( &self, compositemode: DCOMPOSITION_COMPOSITE_MODE, ) -> Result<()>
Object Safety§
This trait is not object safe.