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

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

Fields

lpVtbl: *const ID2D1DeviceContext5Vtbl

Methods

impl ID2D1DeviceContext5[src]

pub unsafe fn CreateSvgDocument(
    &self,
    inputXmlStream: *mut IStream,
    viewportSize: D2D1_SIZE_F,
    svgDocument: *mut *mut ID2D1SvgDocument
) -> HRESULT
[src]

pub unsafe fn DrawSvgDocument(&self, svgDocument: *mut ID2D1SvgDocument)[src]

pub unsafe fn CreateColorContextFromDxgiColorSpace(
    &self,
    colorSpace: DXGI_COLOR_SPACE_TYPE,
    colorContext: *mut *mut ID2D1ColorContext1
) -> HRESULT
[src]

pub unsafe fn CreateColorContextFromSimpleColorProfile(
    &self,
    simpleProfile: *const D2D1_SIMPLE_COLOR_PROFILE,
    colorContext: *mut *mut ID2D1ColorContext1
) -> HRESULT
[src]

Methods from Deref<Target = ID2D1DeviceContext4>

pub unsafe fn CreateSvgGlyphStyle(
    &self,
    svgGlyphStyle: *mut *mut ID2D1SvgGlyphStyle
) -> HRESULT
[src]

pub unsafe fn DrawText(
    &self,
    string: *const WCHAR,
    stringLength: UINT32,
    textFormat: *mut IDWriteTextFormat,
    layoutRect: *const D2D1_RECT_F,
    defaultFillBrush: *mut ID2D1Brush,
    svgGlyphStyle: *mut ID2D1SvgGlyphStyle,
    colorPaletteIndex: UINT32,
    options: D2D1_DRAW_TEXT_OPTIONS,
    measuringMode: DWRITE_MEASURING_MODE
)
[src]

pub unsafe fn DrawTextLayout(
    &self,
    origin: D2D1_POINT_2F,
    textLayout: *mut IDWriteTextLayout,
    defaultFillBrush: *mut ID2D1Brush,
    svgGlyphStyle: *mut ID2D1SvgGlyphStyle,
    colorPaletteIndex: UINT32,
    options: D2D1_DRAW_TEXT_OPTIONS
)
[src]

pub unsafe fn DrawColorBitmapGlyphRun(
    &self,
    glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS,
    baselineOrigin: D2D1_POINT_2F,
    glyphRun: *const DWRITE_GLYPH_RUN,
    measuringMode: DWRITE_MEASURING_MODE,
    bitmapSnapOption: D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION
)
[src]

pub unsafe fn DrawSvgGlyphRun(
    &self,
    baselineOrigin: D2D1_POINT_2F,
    glyphRun: *const DWRITE_GLYPH_RUN,
    defaultFillBrush: *mut ID2D1Brush,
    svgGlyphStyle: *mut ID2D1SvgGlyphStyle,
    colorPaletteIndex: UINT32,
    measuringMode: DWRITE_MEASURING_MODE
)
[src]

pub unsafe fn GetColorBitmapGlyphImage(
    &self,
    glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS,
    glyphOrigin: D2D1_POINT_2F,
    fontFace: *mut IDWriteFontFace,
    fontEmSize: FLOAT,
    glyphIndex: UINT16,
    isSideways: BOOL,
    worldTransform: *const D2D1_MATRIX_3X2_F,
    dpiX: FLOAT,
    dpiY: FLOAT,
    glyphTransform: *mut D2D1_MATRIX_3X2_F,
    glyphImage: *mut *mut ID2D1Image
) -> HRESULT
[src]

pub unsafe fn GetSvgGlyphImage(
    &self,
    glyphImageFormat: DWRITE_GLYPH_IMAGE_FORMATS,
    glyphOrigin: D2D1_POINT_2F,
    fontFace: *mut IDWriteFontFace,
    fontEmSize: FLOAT,
    glyphIndex: UINT16,
    isSideways: BOOL,
    worldTransform: *const D2D1_MATRIX_3X2_F,
    defaultFillBrush: *mut ID2D1Brush,
    svgGlyphStyle: *mut ID2D1SvgGlyphStyle,
    colorPaletteIndex: UINT32,
    glyphTransform: *mut D2D1_MATRIX_3X2_F,
    glyphImage: *mut *mut ID2D1CommandList
) -> HRESULT
[src]

Trait Implementations

impl Interface for ID2D1DeviceContext5[src]

impl Deref for ID2D1DeviceContext5[src]

type Target = ID2D1DeviceContext4

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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