pub trait IDWriteGdiInterop_Impl: Sized {
    // Required methods
    fn CreateFontFromLOGFONT(
        &self,
        logfont: *const LOGFONTW,
    ) -> Result<IDWriteFont>;
    fn ConvertFontToLOGFONT(
        &self,
        font: Option<&IDWriteFont>,
        logfont: *mut LOGFONTW,
        issystemfont: *mut BOOL,
    ) -> Result<()>;
    fn ConvertFontFaceToLOGFONT(
        &self,
        font: Option<&IDWriteFontFace>,
        logfont: *mut LOGFONTW,
    ) -> Result<()>;
    fn CreateFontFaceFromHdc(&self, hdc: HDC) -> Result<IDWriteFontFace>;
    fn CreateBitmapRenderTarget(
        &self,
        hdc: HDC,
        width: u32,
        height: u32,
    ) -> Result<IDWriteBitmapRenderTarget>;
}

Required Methods§

fn CreateFontFromLOGFONT(&self, logfont: *const LOGFONTW) -> Result<IDWriteFont>

fn ConvertFontToLOGFONT( &self, font: Option<&IDWriteFont>, logfont: *mut LOGFONTW, issystemfont: *mut BOOL, ) -> Result<()>

fn ConvertFontFaceToLOGFONT( &self, font: Option<&IDWriteFontFace>, logfont: *mut LOGFONTW, ) -> Result<()>

fn CreateFontFaceFromHdc(&self, hdc: HDC) -> Result<IDWriteFontFace>

fn CreateBitmapRenderTarget( &self, hdc: HDC, width: u32, height: u32, ) -> Result<IDWriteBitmapRenderTarget>

Object Safety§

This trait is not object safe.

Implementors§