#[repr(C)]pub struct ID2D1DeviceContext2Vtbl {
pub parent: ID2D1DeviceContext1Vtbl,
pub CreateInk: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, startPoint: *const D2D1_INK_POINT, ink: *mut *mut ID2D1Ink) -> HRESULT,
pub CreateInkStyle: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, inkStyleProperties: *const D2D1_INK_STYLE_PROPERTIES, inkStyle: *mut *mut ID2D1InkStyle) -> HRESULT,
pub CreateGradientMesh: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, patches: *const D2D1_GRADIENT_MESH_PATCH, patchesCount: UINT32, gradientMesh: *mut *mut ID2D1GradientMesh) -> HRESULT,
pub CreateImageSourceFromWic: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, wicBitmapSource: *mut IWICBitmapSource, loadingOptions: D2D1_IMAGE_SOURCE_LOADING_OPTIONS, alphaMode: D2D1_ALPHA_MODE, imageSource: *mut *mut ID2D1ImageSourceFromWic) -> HRESULT,
pub CreateLookupTable3D: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, precision: D2D1_BUFFER_PRECISION, extents: *const UINT32, data: *const BYTE, dataCount: UINT32, strides: *const UINT32, lookupTable: *mut *mut ID2D1LookupTable3D) -> HRESULT,
pub CreateImageSourceFromDxgi: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, surfaces: *const *mut IDXGISurface, surfaceCount: UINT32, colorSpace: DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS, imageSource: *mut *mut ID2D1ImageSource) -> HRESULT,
pub GetGradientMeshWorldBounds: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, gradientMesh: *mut ID2D1GradientMesh, pBounds: *mut D2D1_RECT_F) -> HRESULT,
pub DrawInk: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, ink: *mut ID2D1Ink, brush: *mut ID2D1Brush, inkStyle: *mut ID2D1InkStyle),
pub DrawGradientMesh: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, gradientMesh: *mut ID2D1GradientMesh),
pub DrawGdiMetafile: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, gdiMetafile: *mut ID2D1GdiMetafile, destinationRectangle: *const D2D1_RECT_F, sourceRectangle: *const D2D1_RECT_F),
pub CreateTransformedImageSource: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, imageSource: *mut ID2D1ImageSource, properties: *const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES, transformedImageSource: *mut *mut ID2D1TransformedImageSource) -> HRESULT,
}
Fields§
§parent: ID2D1DeviceContext1Vtbl
§CreateInk: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, startPoint: *const D2D1_INK_POINT, ink: *mut *mut ID2D1Ink) -> HRESULT
§CreateInkStyle: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, inkStyleProperties: *const D2D1_INK_STYLE_PROPERTIES, inkStyle: *mut *mut ID2D1InkStyle) -> HRESULT
§CreateGradientMesh: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, patches: *const D2D1_GRADIENT_MESH_PATCH, patchesCount: UINT32, gradientMesh: *mut *mut ID2D1GradientMesh) -> HRESULT
§CreateImageSourceFromWic: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, wicBitmapSource: *mut IWICBitmapSource, loadingOptions: D2D1_IMAGE_SOURCE_LOADING_OPTIONS, alphaMode: D2D1_ALPHA_MODE, imageSource: *mut *mut ID2D1ImageSourceFromWic) -> HRESULT
§CreateLookupTable3D: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, precision: D2D1_BUFFER_PRECISION, extents: *const UINT32, data: *const BYTE, dataCount: UINT32, strides: *const UINT32, lookupTable: *mut *mut ID2D1LookupTable3D) -> HRESULT
§CreateImageSourceFromDxgi: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, surfaces: *const *mut IDXGISurface, surfaceCount: UINT32, colorSpace: DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS, imageSource: *mut *mut ID2D1ImageSource) -> HRESULT
§GetGradientMeshWorldBounds: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, gradientMesh: *mut ID2D1GradientMesh, pBounds: *mut D2D1_RECT_F) -> HRESULT
§DrawInk: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, ink: *mut ID2D1Ink, brush: *mut ID2D1Brush, inkStyle: *mut ID2D1InkStyle)
§DrawGradientMesh: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, gradientMesh: *mut ID2D1GradientMesh)
§DrawGdiMetafile: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, gdiMetafile: *mut ID2D1GdiMetafile, destinationRectangle: *const D2D1_RECT_F, sourceRectangle: *const D2D1_RECT_F)
§CreateTransformedImageSource: unsafe extern "system" fn(This: *mut ID2D1DeviceContext2, imageSource: *mut ID2D1ImageSource, properties: *const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES, transformedImageSource: *mut *mut ID2D1TransformedImageSource) -> HRESULT
Auto Trait Implementations§
impl Freeze for ID2D1DeviceContext2Vtbl
impl RefUnwindSafe for ID2D1DeviceContext2Vtbl
impl Send for ID2D1DeviceContext2Vtbl
impl Sync for ID2D1DeviceContext2Vtbl
impl Unpin for ID2D1DeviceContext2Vtbl
impl UnwindSafe for ID2D1DeviceContext2Vtbl
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