Struct windows::Win32::Graphics::Direct2D::ID2D1CommandSink_Vtbl
#[repr(C)]pub struct ID2D1CommandSink_Vtbl {Show 26 fields
pub base__: IUnknown_Vtbl,
pub BeginDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub EndDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_ANTIALIAS_MODE) -> HRESULT,
pub SetTags: unsafe extern "system" fn(_: *mut c_void, _: u64, _: u64) -> HRESULT,
pub SetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_TEXT_ANTIALIAS_MODE) -> HRESULT,
pub SetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2) -> HRESULT,
pub SetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void, _: D2D1_PRIMITIVE_BLEND) -> HRESULT,
pub SetUnitMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_UNIT_MODE) -> HRESULT,
pub Clear: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F) -> HRESULT,
pub DrawGlyphRun: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: *const DWRITE_GLYPH_RUN_DESCRIPTION, _: *mut c_void, _: DWRITE_MEASURING_MODE) -> HRESULT,
pub DrawLine: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: D2D_POINT_2F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT,
pub DrawGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT,
pub DrawRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT,
pub DrawBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: f32, _: D2D1_INTERPOLATION_MODE, _: *const D2D_RECT_F, _: *const D2D_MATRIX_4X4_F) -> HRESULT,
pub DrawImage: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F, _: *const D2D_RECT_F, _: D2D1_INTERPOLATION_MODE, _: D2D1_COMPOSITE_MODE) -> HRESULT,
pub DrawGdiMetafile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F) -> HRESULT,
pub FillMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT,
pub FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D_RECT_F) -> HRESULT,
pub FillGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT,
pub FillRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void) -> HRESULT,
pub PushAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: D2D1_ANTIALIAS_MODE) -> HRESULT,
pub PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS1, _: *mut c_void) -> HRESULT,
pub PopAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub PopLayer: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§BeginDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§EndDraw: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§SetAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_ANTIALIAS_MODE) -> HRESULT
§SetTags: unsafe extern "system" fn(_: *mut c_void, _: u64, _: u64) -> HRESULT
§SetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_TEXT_ANTIALIAS_MODE) -> HRESULT
§SetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2) -> HRESULT
§SetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void, _: D2D1_PRIMITIVE_BLEND) -> HRESULT
§SetUnitMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_UNIT_MODE) -> HRESULT
§Clear: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F) -> HRESULT
§DrawGlyphRun: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: *const DWRITE_GLYPH_RUN_DESCRIPTION, _: *mut c_void, _: DWRITE_MEASURING_MODE) -> HRESULT
§DrawLine: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: D2D_POINT_2F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT
§DrawGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT
§DrawRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: f32, _: *mut c_void) -> HRESULT
§DrawBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: f32, _: D2D1_INTERPOLATION_MODE, _: *const D2D_RECT_F, _: *const D2D_MATRIX_4X4_F) -> HRESULT
§DrawImage: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F, _: *const D2D_RECT_F, _: D2D1_INTERPOLATION_MODE, _: D2D1_COMPOSITE_MODE) -> HRESULT
§DrawGdiMetafile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F) -> HRESULT
§FillMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT
§FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D_RECT_F) -> HRESULT
§FillGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT
§FillRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void) -> HRESULT
§PushAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: D2D1_ANTIALIAS_MODE) -> HRESULT
§PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS1, _: *mut c_void) -> HRESULT
§PopAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§PopLayer: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
Implementations§
§impl ID2D1CommandSink_Vtbl
impl ID2D1CommandSink_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ID2D1CommandSink_Vtblwhere
Identity: ID2D1CommandSink_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ID2D1CommandSink_Vtbl
impl RefUnwindSafe for ID2D1CommandSink_Vtbl
impl Send for ID2D1CommandSink_Vtbl
impl Sync for ID2D1CommandSink_Vtbl
impl Unpin for ID2D1CommandSink_Vtbl
impl UnwindSafe for ID2D1CommandSink_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more