pub trait IDWriteFactory5_Impl: Sized + IDWriteFactory4_Impl {
    // Required methods
    fn CreateFontSetBuilder(&self) -> Result<IDWriteFontSetBuilder1>;
    fn CreateInMemoryFontFileLoader(
        &self,
    ) -> Result<IDWriteInMemoryFontFileLoader>;
    fn CreateHttpFontFileLoader(
        &self,
        referrerurl: &PCWSTR,
        extraheaders: &PCWSTR,
    ) -> Result<IDWriteRemoteFontFileLoader>;
    fn AnalyzeContainerType(
        &self,
        filedata: *const c_void,
        filedatasize: u32,
    ) -> DWRITE_CONTAINER_TYPE;
    fn UnpackFontFile(
        &self,
        containertype: DWRITE_CONTAINER_TYPE,
        filedata: *const c_void,
        filedatasize: u32,
    ) -> Result<IDWriteFontFileStream>;
}

Required Methods§

fn CreateFontSetBuilder(&self) -> Result<IDWriteFontSetBuilder1>

fn CreateInMemoryFontFileLoader(&self) -> Result<IDWriteInMemoryFontFileLoader>

fn CreateHttpFontFileLoader( &self, referrerurl: &PCWSTR, extraheaders: &PCWSTR, ) -> Result<IDWriteRemoteFontFileLoader>

fn AnalyzeContainerType( &self, filedata: *const c_void, filedatasize: u32, ) -> DWRITE_CONTAINER_TYPE

fn UnpackFontFile( &self, containertype: DWRITE_CONTAINER_TYPE, filedata: *const c_void, filedatasize: u32, ) -> Result<IDWriteFontFileStream>

Object Safety§

This trait is not object safe.

Implementors§