[][src]Struct winapi::um::d2d1_3::ID2D1DeviceContext2

#[repr(C)]
pub struct ID2D1DeviceContext2 { pub lpVtbl: *const ID2D1DeviceContext2Vtbl, }

Fields

lpVtbl: *const ID2D1DeviceContext2Vtbl

Methods

impl ID2D1DeviceContext2[src]

pub unsafe fn CreateInk(
    &self,
    startPoint: *const D2D1_INK_POINT,
    ink: *mut *mut ID2D1Ink
) -> HRESULT
[src]

pub unsafe fn CreateInkStyle(
    &self,
    inkStyleProperties: *const D2D1_INK_STYLE_PROPERTIES,
    inkStyle: *mut *mut ID2D1InkStyle
) -> HRESULT
[src]

pub unsafe fn CreateGradientMesh(
    &self,
    patches: *const D2D1_GRADIENT_MESH_PATCH,
    patchesCount: UINT32,
    gradientMesh: *mut *mut ID2D1GradientMesh
) -> HRESULT
[src]

pub unsafe fn CreateImageSourceFromWic(
    &self,
    wicBitmapSource: *mut IWICBitmapSource,
    loadingOptions: D2D1_IMAGE_SOURCE_LOADING_OPTIONS,
    alphaMode: D2D1_ALPHA_MODE,
    imageSource: *mut *mut ID2D1ImageSourceFromWic
) -> HRESULT
[src]

pub unsafe fn CreateLookupTable3D(
    &self,
    precision: D2D1_BUFFER_PRECISION,
    extents: *const UINT32,
    data: *const BYTE,
    dataCount: UINT32,
    strides: *const UINT32,
    lookupTable: *mut *mut ID2D1LookupTable3D
) -> HRESULT
[src]

pub unsafe fn CreateImageSourceFromDxgi(
    &self,
    surfaces: *const *mut IDXGISurface,
    surfaceCount: UINT32,
    colorSpace: DXGI_COLOR_SPACE_TYPE,
    options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS,
    imageSource: *mut *mut ID2D1ImageSource
) -> HRESULT
[src]

pub unsafe fn GetGradientMeshWorldBounds(
    &self,
    gradientMesh: *mut ID2D1GradientMesh,
    pBounds: *mut D2D1_RECT_F
) -> HRESULT
[src]

pub unsafe fn DrawInk(
    &self,
    ink: *mut ID2D1Ink,
    brush: *mut ID2D1Brush,
    inkStyle: *mut ID2D1InkStyle
)
[src]

pub unsafe fn DrawGradientMesh(&self, gradientMesh: *mut ID2D1GradientMesh)[src]

pub unsafe fn DrawGdiMetafile(
    &self,
    gdiMetafile: *mut ID2D1GdiMetafile,
    destinationRectangle: *const D2D1_RECT_F,
    sourceRectangle: *const D2D1_RECT_F
)
[src]

pub unsafe fn CreateTransformedImageSource(
    &self,
    imageSource: *mut ID2D1ImageSource,
    properties: *const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES,
    transformedImageSource: *mut *mut ID2D1TransformedImageSource
) -> HRESULT
[src]

Methods from Deref<Target = ID2D1DeviceContext1>

pub unsafe fn CreateFilledGeometryRealization(
    &self,
    geometry: *mut ID2D1Geometry,
    flatteningTolerance: FLOAT,
    geometryRealization: *mut *mut ID2D1GeometryRealization
) -> HRESULT
[src]

pub unsafe fn CreateStrokedGeometryRealization(
    &self,
    geometry: *mut ID2D1Geometry,
    flatteningTolerance: FLOAT,
    strokeWidth: FLOAT,
    strokeStyle: *mut ID2D1StrokeStyle,
    geometryRealization: *mut *mut ID2D1GeometryRealization
) -> HRESULT
[src]

pub unsafe fn DrawGeometryRealization(
    &self,
    geometryRealization: *mut ID2D1GeometryRealization,
    brush: *mut ID2D1Brush
)
[src]

Trait Implementations

impl Interface for ID2D1DeviceContext2[src]

impl Deref for ID2D1DeviceContext2[src]

type Target = ID2D1DeviceContext1

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]