Struct windows::Win32::Graphics::Direct2D::ID2D1DeviceContext_Vtbl
#[repr(C)]pub struct ID2D1DeviceContext_Vtbl {Show 36 fields
pub base__: ID2D1RenderTarget_Vtbl,
pub CreateBitmap: unsafe extern "system" fn(_: *mut c_void, _: D2D_SIZE_U, _: *const c_void, _: u32, _: *const D2D1_BITMAP_PROPERTIES1, _: *mut *mut c_void) -> HRESULT,
pub CreateBitmapFromWicBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES1, _: *mut *mut c_void) -> HRESULT,
pub CreateColorContext: unsafe extern "system" fn(_: *mut c_void, _: D2D1_COLOR_SPACE, _: *const u8, _: u32, _: *mut *mut c_void) -> HRESULT,
pub CreateColorContextFromFilename: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT,
pub CreateColorContextFromWicColorContext: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub CreateBitmapFromDxgiSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES1, _: *mut *mut c_void) -> HRESULT,
pub CreateEffect: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub CreateGradientStopCollection: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_GRADIENT_STOP, _: u32, _: D2D1_COLOR_SPACE, _: D2D1_COLOR_SPACE, _: D2D1_BUFFER_PRECISION, _: D2D1_EXTEND_MODE, _: D2D1_COLOR_INTERPOLATION_MODE, _: *mut *mut c_void) -> HRESULT,
pub CreateImageBrush: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_IMAGE_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT,
pub CreateBitmapBrush: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_BRUSH_PROPERTIES1, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT,
pub CreateCommandList: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub IsDxgiFormatSupported: unsafe extern "system" fn(_: *mut c_void, _: DXGI_FORMAT) -> BOOL,
pub IsBufferPrecisionSupported: unsafe extern "system" fn(_: *mut c_void, _: D2D1_BUFFER_PRECISION) -> BOOL,
pub GetImageLocalBounds: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut D2D_RECT_F) -> HRESULT,
pub GetImageWorldBounds: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut D2D_RECT_F) -> HRESULT,
pub GetGlyphRunWorldBounds: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: DWRITE_MEASURING_MODE, _: *mut D2D_RECT_F) -> HRESULT,
pub GetDevice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void),
pub SetTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void),
pub GetTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void),
pub SetRenderingControls: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDERING_CONTROLS),
pub GetRenderingControls: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D1_RENDERING_CONTROLS),
pub SetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void, _: D2D1_PRIMITIVE_BLEND),
pub GetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void) -> D2D1_PRIMITIVE_BLEND,
pub SetUnitMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_UNIT_MODE),
pub GetUnitMode: unsafe extern "system" fn(_: *mut c_void) -> D2D1_UNIT_MODE,
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),
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),
pub DrawGdiMetafile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F),
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),
pub PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS1, _: *mut c_void),
pub InvalidateEffectInputRectangle: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const D2D_RECT_F) -> HRESULT,
pub GetEffectInvalidRectangleCount: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32) -> HRESULT,
pub GetEffectInvalidRectangles: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut D2D_RECT_F, _: u32) -> HRESULT,
pub GetEffectRequiredInputRectangles: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D1_EFFECT_INPUT_DESCRIPTION, _: *mut D2D_RECT_F, _: u32) -> HRESULT,
pub FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D_RECT_F),
}
Fields§
§base__: ID2D1RenderTarget_Vtbl
§CreateBitmap: unsafe extern "system" fn(_: *mut c_void, _: D2D_SIZE_U, _: *const c_void, _: u32, _: *const D2D1_BITMAP_PROPERTIES1, _: *mut *mut c_void) -> HRESULT
§CreateBitmapFromWicBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES1, _: *mut *mut c_void) -> HRESULT
§CreateColorContext: unsafe extern "system" fn(_: *mut c_void, _: D2D1_COLOR_SPACE, _: *const u8, _: u32, _: *mut *mut c_void) -> HRESULT
§CreateColorContextFromFilename: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT
§CreateColorContextFromWicColorContext: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT
§CreateBitmapFromDxgiSurface: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES1, _: *mut *mut c_void) -> HRESULT
§CreateEffect: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§CreateGradientStopCollection: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_GRADIENT_STOP, _: u32, _: D2D1_COLOR_SPACE, _: D2D1_COLOR_SPACE, _: D2D1_BUFFER_PRECISION, _: D2D1_EXTEND_MODE, _: D2D1_COLOR_INTERPOLATION_MODE, _: *mut *mut c_void) -> HRESULT
§CreateImageBrush: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_IMAGE_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT
§CreateBitmapBrush: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_BRUSH_PROPERTIES1, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT
§CreateCommandList: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§IsDxgiFormatSupported: unsafe extern "system" fn(_: *mut c_void, _: DXGI_FORMAT) -> BOOL
§IsBufferPrecisionSupported: unsafe extern "system" fn(_: *mut c_void, _: D2D1_BUFFER_PRECISION) -> BOOL
§GetImageLocalBounds: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut D2D_RECT_F) -> HRESULT
§GetImageWorldBounds: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut D2D_RECT_F) -> HRESULT
§GetGlyphRunWorldBounds: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: DWRITE_MEASURING_MODE, _: *mut D2D_RECT_F) -> HRESULT
§GetDevice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void)
§SetTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)
§GetTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void)
§SetRenderingControls: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDERING_CONTROLS)
§GetRenderingControls: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D1_RENDERING_CONTROLS)
§SetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void, _: D2D1_PRIMITIVE_BLEND)
§GetPrimitiveBlend: unsafe extern "system" fn(_: *mut c_void) -> D2D1_PRIMITIVE_BLEND
§SetUnitMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_UNIT_MODE)
§GetUnitMode: unsafe extern "system" fn(_: *mut c_void) -> D2D1_UNIT_MODE
§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)
§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)
§DrawGdiMetafile: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_POINT_2F)
§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)
§PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS1, _: *mut c_void)
§InvalidateEffectInputRectangle: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *const D2D_RECT_F) -> HRESULT
§GetEffectInvalidRectangleCount: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32) -> HRESULT
§GetEffectInvalidRectangles: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut D2D_RECT_F, _: u32) -> HRESULT
§GetEffectRequiredInputRectangles: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D1_EFFECT_INPUT_DESCRIPTION, _: *mut D2D_RECT_F, _: u32) -> HRESULT
§FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: *const D2D_RECT_F)
Implementations§
§impl ID2D1DeviceContext_Vtbl
impl ID2D1DeviceContext_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ID2D1DeviceContext_Vtblwhere
Identity: ID2D1DeviceContext_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ID2D1DeviceContext_Vtbl
impl RefUnwindSafe for ID2D1DeviceContext_Vtbl
impl Send for ID2D1DeviceContext_Vtbl
impl Sync for ID2D1DeviceContext_Vtbl
impl Unpin for ID2D1DeviceContext_Vtbl
impl UnwindSafe for ID2D1DeviceContext_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