#[repr(C)]
pub struct ID2D1RenderTarget_Vtbl {
Show 54 fields pub base__: ID2D1Resource_Vtbl, pub CreateBitmap: unsafe extern "system" fn(_: *mut c_void, _: D2D_SIZE_U, _: *const c_void, _: u32, _: *const D2D1_BITMAP_PROPERTIES, _: *mut *mut c_void) -> HRESULT, pub CreateBitmapFromWicBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES, _: *mut *mut c_void) -> HRESULT, pub CreateSharedBitmap: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES, _: *mut *mut c_void) -> HRESULT, pub CreateBitmapBrush: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT, pub CreateSolidColorBrush: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT, pub CreateGradientStopCollection: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_GRADIENT_STOP, _: u32, _: D2D1_GAMMA, _: D2D1_EXTEND_MODE, _: *mut *mut c_void) -> HRESULT, pub CreateLinearGradientBrush: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateRadialGradientBrush: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreateCompatibleRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_SIZE_F, _: *const D2D_SIZE_U, _: *const D2D1_PIXEL_FORMAT, _: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, _: *mut *mut c_void) -> HRESULT, pub CreateLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_SIZE_F, _: *mut *mut c_void) -> HRESULT, pub CreateMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub DrawLine: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: D2D_POINT_2F, _: *mut c_void, _: f32, _: *mut c_void), pub DrawRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: f32, _: *mut c_void), pub FillRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void), pub DrawRoundedRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ROUNDED_RECT, _: *mut c_void, _: f32, _: *mut c_void), pub FillRoundedRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ROUNDED_RECT, _: *mut c_void), pub DrawEllipse: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ELLIPSE, _: *mut c_void, _: f32, _: *mut c_void), pub FillEllipse: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ELLIPSE, _: *mut c_void), pub DrawGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: f32, _: *mut c_void), pub FillGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void), pub FillMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void), pub FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: D2D1_OPACITY_MASK_CONTENT, _: *const D2D_RECT_F, _: *const D2D_RECT_F), pub DrawBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: f32, _: D2D1_BITMAP_INTERPOLATION_MODE, _: *const D2D_RECT_F), pub DrawText: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: D2D1_DRAW_TEXT_OPTIONS, _: DWRITE_MEASURING_MODE), pub DrawTextLayout: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *mut c_void, _: *mut c_void, _: D2D1_DRAW_TEXT_OPTIONS), pub DrawGlyphRun: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: *mut c_void, _: DWRITE_MEASURING_MODE), pub SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2), pub GetTransform: unsafe extern "system" fn(_: *mut c_void, _: *mut Matrix3x2), pub SetAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_ANTIALIAS_MODE), pub GetAntialiasMode: unsafe extern "system" fn(_: *mut c_void) -> D2D1_ANTIALIAS_MODE, pub SetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_TEXT_ANTIALIAS_MODE), pub GetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void) -> D2D1_TEXT_ANTIALIAS_MODE, pub SetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub GetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void), pub SetTags: unsafe extern "system" fn(_: *mut c_void, _: u64, _: u64), pub GetTags: unsafe extern "system" fn(_: *mut c_void, _: *mut u64, _: *mut u64), pub PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS, _: *mut c_void), pub PopLayer: unsafe extern "system" fn(_: *mut c_void), pub Flush: unsafe extern "system" fn(_: *mut c_void, _: *mut u64, _: *mut u64) -> HRESULT, pub SaveDrawingState: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub RestoreDrawingState: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void), pub PushAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: D2D1_ANTIALIAS_MODE), pub PopAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void), pub Clear: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F), pub BeginDraw: unsafe extern "system" fn(_: *mut c_void), pub EndDraw: unsafe extern "system" fn(_: *mut c_void, _: *mut u64, _: *mut u64) -> HRESULT, pub GetPixelFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D1_PIXEL_FORMAT), pub SetDpi: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32), pub GetDpi: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32), pub GetSize: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D_SIZE_F), pub GetPixelSize: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D_SIZE_U), pub GetMaximumBitmapSize: unsafe extern "system" fn(_: *mut c_void) -> u32, pub IsSupported: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES) -> BOOL,
}

Fields§

§base__: ID2D1Resource_Vtbl§CreateBitmap: unsafe extern "system" fn(_: *mut c_void, _: D2D_SIZE_U, _: *const c_void, _: u32, _: *const D2D1_BITMAP_PROPERTIES, _: *mut *mut c_void) -> HRESULT§CreateBitmapFromWicBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES, _: *mut *mut c_void) -> HRESULT§CreateSharedBitmap: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut c_void, _: *const D2D1_BITMAP_PROPERTIES, _: *mut *mut c_void) -> HRESULT§CreateBitmapBrush: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D1_BITMAP_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT§CreateSolidColorBrush: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F, _: *const D2D1_BRUSH_PROPERTIES, _: *mut *mut c_void) -> HRESULT§CreateGradientStopCollection: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_GRADIENT_STOP, _: u32, _: D2D1_GAMMA, _: D2D1_EXTEND_MODE, _: *mut *mut c_void) -> HRESULT§CreateLinearGradientBrush: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateRadialGradientBrush: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES, _: *const D2D1_BRUSH_PROPERTIES, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreateCompatibleRenderTarget: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_SIZE_F, _: *const D2D_SIZE_U, _: *const D2D1_PIXEL_FORMAT, _: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, _: *mut *mut c_void) -> HRESULT§CreateLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_SIZE_F, _: *mut *mut c_void) -> HRESULT§CreateMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§DrawLine: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: D2D_POINT_2F, _: *mut c_void, _: f32, _: *mut c_void)§DrawRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: f32, _: *mut c_void)§FillRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void)§DrawRoundedRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ROUNDED_RECT, _: *mut c_void, _: f32, _: *mut c_void)§FillRoundedRectangle: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ROUNDED_RECT, _: *mut c_void)§DrawEllipse: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ELLIPSE, _: *mut c_void, _: f32, _: *mut c_void)§FillEllipse: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_ELLIPSE, _: *mut c_void)§DrawGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: f32, _: *mut c_void)§FillGeometry: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void)§FillMesh: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void)§FillOpacityMask: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: D2D1_OPACITY_MASK_CONTENT, _: *const D2D_RECT_F, _: *const D2D_RECT_F)§DrawBitmap: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const D2D_RECT_F, _: f32, _: D2D1_BITMAP_INTERPOLATION_MODE, _: *const D2D_RECT_F)§DrawText: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut c_void, _: *const D2D_RECT_F, _: *mut c_void, _: D2D1_DRAW_TEXT_OPTIONS, _: DWRITE_MEASURING_MODE)§DrawTextLayout: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *mut c_void, _: *mut c_void, _: D2D1_DRAW_TEXT_OPTIONS)§DrawGlyphRun: unsafe extern "system" fn(_: *mut c_void, _: D2D_POINT_2F, _: *const DWRITE_GLYPH_RUN, _: *mut c_void, _: DWRITE_MEASURING_MODE)§SetTransform: unsafe extern "system" fn(_: *mut c_void, _: *const Matrix3x2)§GetTransform: unsafe extern "system" fn(_: *mut c_void, _: *mut Matrix3x2)§SetAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_ANTIALIAS_MODE)§GetAntialiasMode: unsafe extern "system" fn(_: *mut c_void) -> D2D1_ANTIALIAS_MODE§SetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void, _: D2D1_TEXT_ANTIALIAS_MODE)§GetTextAntialiasMode: unsafe extern "system" fn(_: *mut c_void) -> D2D1_TEXT_ANTIALIAS_MODE§SetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§GetTextRenderingParams: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void)§SetTags: unsafe extern "system" fn(_: *mut c_void, _: u64, _: u64)§GetTags: unsafe extern "system" fn(_: *mut c_void, _: *mut u64, _: *mut u64)§PushLayer: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_LAYER_PARAMETERS, _: *mut c_void)§PopLayer: unsafe extern "system" fn(_: *mut c_void)§Flush: unsafe extern "system" fn(_: *mut c_void, _: *mut u64, _: *mut u64) -> HRESULT§SaveDrawingState: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§RestoreDrawingState: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void)§PushAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_RECT_F, _: D2D1_ANTIALIAS_MODE)§PopAxisAlignedClip: unsafe extern "system" fn(_: *mut c_void)§Clear: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_COLOR_F)§BeginDraw: unsafe extern "system" fn(_: *mut c_void)§EndDraw: unsafe extern "system" fn(_: *mut c_void, _: *mut u64, _: *mut u64) -> HRESULT§GetPixelFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D1_PIXEL_FORMAT)§SetDpi: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32)§GetDpi: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32)§GetSize: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D_SIZE_F)§GetPixelSize: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D_SIZE_U)§GetMaximumBitmapSize: unsafe extern "system" fn(_: *mut c_void) -> u32§IsSupported: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_RENDER_TARGET_PROPERTIES) -> BOOL

Implementations§

§

impl ID2D1RenderTarget_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: ID2D1RenderTarget_Impl, const OFFSET: isize>( ) -> ID2D1RenderTarget_Vtbl

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.