Struct windows::Win32::Graphics::Direct2D::ID2D1Factory_Vtbl
#[repr(C)]pub struct ID2D1Factory_Vtbl {Show 15 fields
pub base__: IUnknown_Vtbl,
pub ReloadSystemMetrics: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetDesktopDpi: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32),
pub CreateRectangleGeometry: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut *mut c_void) -> HRESULT,
pub CreateRoundedRectangleGeometry: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ROUNDED_RECT, _: *mut *mut c_void) -> HRESULT,
pub CreateEllipseGeometry: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ELLIPSE, _: *mut *mut c_void) -> HRESULT,
pub CreateGeometryGroup: unsafe extern "system" fn(_: *mut c_void, _: D2D1_FILL_MODE, _: *const *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT,
pub CreateTransformedGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const Matrix3x2, _: *mut *mut c_void) -> HRESULT,
pub CreatePathGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub CreateStrokeStyle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_STROKE_STYLE_PROPERTIES, _: *const f32, _: u32, _: *mut *mut c_void) -> HRESULT,
pub CreateDrawingStateBlock: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_DRAWING_STATE_DESCRIPTION, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub CreateWicBitmapRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT,
pub CreateHwndRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *const D2D1_HWND_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT,
pub CreateDxgiSurfaceRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT,
pub CreateDCRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§ReloadSystemMetrics: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetDesktopDpi: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32)
§CreateRectangleGeometry: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut *mut c_void) -> HRESULT
§CreateRoundedRectangleGeometry: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ROUNDED_RECT, _: *mut *mut c_void) -> HRESULT
§CreateEllipseGeometry: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ELLIPSE, _: *mut *mut c_void) -> HRESULT
§CreateGeometryGroup: unsafe extern "system" fn(_: *mut c_void, _: D2D1_FILL_MODE, _: *const *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT
§CreateTransformedGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const Matrix3x2, _: *mut *mut c_void) -> HRESULT
§CreatePathGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§CreateStrokeStyle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_STROKE_STYLE_PROPERTIES, _: *const f32, _: u32, _: *mut *mut c_void) -> HRESULT
§CreateDrawingStateBlock: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_DRAWING_STATE_DESCRIPTION, _: *mut c_void, _: *mut *mut c_void) -> HRESULT
§CreateWicBitmapRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT
§CreateHwndRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *const D2D1_HWND_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT
§CreateDxgiSurfaceRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT
§CreateDCRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl ID2D1Factory_Vtbl
impl ID2D1Factory_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ID2D1Factory_Vtblwhere
Identity: ID2D1Factory_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ID2D1Factory_Vtbl
impl RefUnwindSafe for ID2D1Factory_Vtbl
impl Send for ID2D1Factory_Vtbl
impl Sync for ID2D1Factory_Vtbl
impl Unpin for ID2D1Factory_Vtbl
impl UnwindSafe for ID2D1Factory_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