windows::Win32::System::WinRT::Pdf

Trait IPdfRendererNative_Impl

pub trait IPdfRendererNative_Impl: IUnknownImpl {
    // Required methods
    fn RenderPageToSurface(
        &self,
        pdfpage: Ref<'_, IUnknown>,
        psurface: Ref<'_, IDXGISurface>,
        offset: &POINT,
        prenderparams: *const PDF_RENDER_PARAMS,
    ) -> Result<()>;
    fn RenderPageToDeviceContext(
        &self,
        pdfpage: Ref<'_, IUnknown>,
        pd2ddevicecontext: Ref<'_, ID2D1DeviceContext>,
        prenderparams: *const PDF_RENDER_PARAMS,
    ) -> Result<()>;
}

Required Methods§

fn RenderPageToSurface( &self, pdfpage: Ref<'_, IUnknown>, psurface: Ref<'_, IDXGISurface>, offset: &POINT, prenderparams: *const PDF_RENDER_PARAMS, ) -> Result<()>

fn RenderPageToDeviceContext( &self, pdfpage: Ref<'_, IUnknown>, pd2ddevicecontext: Ref<'_, ID2D1DeviceContext>, prenderparams: *const PDF_RENDER_PARAMS, ) -> 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§