windows::Win32::Graphics::Direct2D

Trait ID2D1DeviceContext5_Impl

pub trait ID2D1DeviceContext5_Impl: ID2D1DeviceContext4_Impl {
    // Required methods
    fn CreateSvgDocument(
        &self,
        inputxmlstream: Ref<'_, IStream>,
        viewportsize: &D2D_SIZE_F,
    ) -> Result<ID2D1SvgDocument>;
    fn DrawSvgDocument(&self, svgdocument: Ref<'_, ID2D1SvgDocument>);
    fn CreateColorContextFromDxgiColorSpace(
        &self,
        colorspace: DXGI_COLOR_SPACE_TYPE,
    ) -> Result<ID2D1ColorContext1>;
    fn CreateColorContextFromSimpleColorProfile(
        &self,
        simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE,
    ) -> Result<ID2D1ColorContext1>;
}

Required Methods§

fn CreateSvgDocument( &self, inputxmlstream: Ref<'_, IStream>, viewportsize: &D2D_SIZE_F, ) -> Result<ID2D1SvgDocument>

fn DrawSvgDocument(&self, svgdocument: Ref<'_, ID2D1SvgDocument>)

fn CreateColorContextFromDxgiColorSpace( &self, colorspace: DXGI_COLOR_SPACE_TYPE, ) -> Result<ID2D1ColorContext1>

fn CreateColorContextFromSimpleColorProfile( &self, simpleprofile: *const D2D1_SIMPLE_COLOR_PROFILE, ) -> Result<ID2D1ColorContext1>

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§