windows::Win32::Graphics::Direct2D

Trait ID2D1SourceTransform_Impl

pub trait ID2D1SourceTransform_Impl: ID2D1Transform_Impl {
    // Required methods
    fn SetRenderInfo(&self, renderinfo: Ref<'_, ID2D1RenderInfo>) -> Result<()>;
    fn Draw(
        &self,
        target: Ref<'_, ID2D1Bitmap1>,
        drawrect: *const RECT,
        targetorigin: &D2D_POINT_2U,
    ) -> Result<()>;
}

Required Methods§

fn SetRenderInfo(&self, renderinfo: Ref<'_, ID2D1RenderInfo>) -> Result<()>

fn Draw( &self, target: Ref<'_, ID2D1Bitmap1>, drawrect: *const RECT, targetorigin: &D2D_POINT_2U, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§