pub trait IDWriteInlineObject_Impl: Sized {
    // Required methods
    fn Draw(
        &self,
        clientdrawingcontext: *const c_void,
        renderer: Option<&IDWriteTextRenderer>,
        originx: f32,
        originy: f32,
        issideways: BOOL,
        isrighttoleft: BOOL,
        clientdrawingeffect: Option<&IUnknown>,
    ) -> Result<()>;
    fn GetMetrics(&self) -> Result<DWRITE_INLINE_OBJECT_METRICS>;
    fn GetOverhangMetrics(&self) -> Result<DWRITE_OVERHANG_METRICS>;
    fn GetBreakConditions(
        &self,
        breakconditionbefore: *mut DWRITE_BREAK_CONDITION,
        breakconditionafter: *mut DWRITE_BREAK_CONDITION,
    ) -> Result<()>;
}

Required Methods§

fn Draw( &self, clientdrawingcontext: *const c_void, renderer: Option<&IDWriteTextRenderer>, originx: f32, originy: f32, issideways: BOOL, isrighttoleft: BOOL, clientdrawingeffect: Option<&IUnknown>, ) -> Result<()>

fn GetMetrics(&self) -> Result<DWRITE_INLINE_OBJECT_METRICS>

fn GetOverhangMetrics(&self) -> Result<DWRITE_OVERHANG_METRICS>

fn GetBreakConditions( &self, breakconditionbefore: *mut DWRITE_BREAK_CONDITION, breakconditionafter: *mut DWRITE_BREAK_CONDITION, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§