pub trait ID2D1Device_Impl: Sized + ID2D1Resource_Impl {
    // Required methods
    fn CreateDeviceContext(
        &self,
        options: D2D1_DEVICE_CONTEXT_OPTIONS
    ) -> Result<ID2D1DeviceContext>;
    fn CreatePrintControl(
        &self,
        wicfactory: Option<&IWICImagingFactory>,
        documenttarget: Option<&IPrintDocumentPackageTarget>,
        printcontrolproperties: *const D2D1_PRINT_CONTROL_PROPERTIES
    ) -> Result<ID2D1PrintControl>;
    fn SetMaximumTextureMemory(&self, maximuminbytes: u64);
    fn GetMaximumTextureMemory(&self) -> u64;
    fn ClearResources(&self, millisecondssinceuse: u32);
}

Required Methods§

fn CreateDeviceContext( &self, options: D2D1_DEVICE_CONTEXT_OPTIONS ) -> Result<ID2D1DeviceContext>

fn CreatePrintControl( &self, wicfactory: Option<&IWICImagingFactory>, documenttarget: Option<&IPrintDocumentPackageTarget>, printcontrolproperties: *const D2D1_PRINT_CONTROL_PROPERTIES ) -> Result<ID2D1PrintControl>

fn SetMaximumTextureMemory(&self, maximuminbytes: u64)

fn GetMaximumTextureMemory(&self) -> u64

fn ClearResources(&self, millisecondssinceuse: u32)

Object Safety§

This trait is not object safe.

Implementors§