pub trait IPrintPreviewDxgiPackageTarget_Impl: Sized {
    // Required methods
    fn SetJobPageCount(
        &self,
        counttype: PageCountType,
        count: u32,
    ) -> Result<()>;
    fn DrawPage(
        &self,
        jobpagenumber: u32,
        pageimage: Option<&IDXGISurface>,
        dpix: f32,
        dpiy: f32,
    ) -> Result<()>;
    fn InvalidatePreview(&self) -> Result<()>;
}

Required Methods§

fn SetJobPageCount(&self, counttype: PageCountType, count: u32) -> Result<()>

fn DrawPage( &self, jobpagenumber: u32, pageimage: Option<&IDXGISurface>, dpix: f32, dpiy: f32, ) -> Result<()>

fn InvalidatePreview(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§