[][src]Struct winapi::um::d2d1::ID2D1HwndRenderTarget

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

Fields

lpVtbl: *const ID2D1HwndRenderTargetVtbl

Methods

impl ID2D1HwndRenderTarget[src]

pub unsafe fn CheckWindowState(&self) -> D2D1_WINDOW_STATE[src]

pub unsafe fn Resize(&self, pixelSize: *const D2D1_SIZE_U) -> HRESULT[src]

pub unsafe fn GetHwnd(&self) -> HWND[src]

Methods from Deref<Target = ID2D1RenderTarget>

pub unsafe fn CreateBitmap(
    &self,
    size: D2D1_SIZE_U,
    srcData: *const c_void,
    pitch: UINT32,
    bitmapProperties: *const D2D1_BITMAP_PROPERTIES,
    bitmap: *mut *mut ID2D1Bitmap
) -> HRESULT
[src]

pub unsafe fn CreateBitmapFromWicBitmap(
    &self,
    wicBitmapSource: *mut IWICBitmapSource,
    bitmapProperties: *const D2D1_BITMAP_PROPERTIES,
    bitmap: *mut *mut ID2D1Bitmap
) -> HRESULT
[src]

pub unsafe fn CreateSharedBitmap(
    &self,
    riid: REFIID,
    data: *const c_void,
    bitmapProperties: *const D2D1_BITMAP_PROPERTIES,
    bitmap: *mut *mut ID2D1Bitmap
) -> HRESULT
[src]

pub unsafe fn CreateBitmapBrush(
    &self,
    bitmap: *mut ID2D1Bitmap,
    bitmapBrushProperties: *const D2D1_BITMAP_BRUSH_PROPERTIES,
    brushProperties: *const D2D1_BRUSH_PROPERTIES,
    bitmapBrush: *mut *mut ID2D1BitmapBrush
) -> HRESULT
[src]

pub unsafe fn CreateSolidColorBrush(
    &self,
    color: *const D2D1_COLOR_F,
    brushProperties: *const D2D1_BRUSH_PROPERTIES,
    solidColorBrush: *mut *mut ID2D1SolidColorBrush
) -> HRESULT
[src]

pub unsafe fn CreateGradientStopCollection(
    &self,
    gradientStops: *const D2D1_GRADIENT_STOP,
    gradientStopsCount: UINT32,
    colorInterpolationGamma: D2D1_GAMMA,
    extendMode: D2D1_EXTEND_MODE,
    gradientStopCollection: *mut *mut ID2D1GradientStopCollection
) -> HRESULT
[src]

pub unsafe fn CreateLinearGradientBrush(
    &self,
    linearGradientBrushProperties: *const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES,
    brushProperties: *const D2D1_BRUSH_PROPERTIES,
    gradientStopCollection: *mut ID2D1GradientStopCollection,
    linearGradientBrush: *mut *mut ID2D1LinearGradientBrush
) -> HRESULT
[src]

pub unsafe fn CreateRadialGradientBrush(
    &self,
    radialGradientBrushProperties: *const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES,
    brushProperties: *const D2D1_BRUSH_PROPERTIES,
    gradientStopCollection: *mut ID2D1GradientStopCollection,
    radialGradientBrush: *mut *mut ID2D1RadialGradientBrush
) -> HRESULT
[src]

pub unsafe fn CreateCompatibleRenderTarget(
    &self,
    desiredSize: *const D2D1_SIZE_F,
    desiredPixelSize: *const D2D1_SIZE_U,
    desiredFormat: *const D2D1_PIXEL_FORMAT,
    options: D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS,
    bitmapRenderTarget: *mut *mut ID2D1BitmapRenderTarget
) -> HRESULT
[src]

pub unsafe fn CreateLayer(
    &self,
    size: *const D2D1_SIZE_F,
    layer: *mut *mut ID2D1Layer
) -> HRESULT
[src]

pub unsafe fn CreateMesh(&self, mesh: *mut *mut ID2D1Mesh) -> HRESULT[src]

pub unsafe fn DrawLine(
    &self,
    point0: D2D1_POINT_2F,
    point1: D2D1_POINT_2F,
    brush: *mut ID2D1Brush,
    strokeWidth: FLOAT,
    strokeStype: *mut ID2D1StrokeStyle
)
[src]

pub unsafe fn DrawRectangle(
    &self,
    rect: *const D2D1_RECT_F,
    brush: *mut ID2D1Brush,
    strokeWidth: FLOAT,
    strokeStyle: *mut ID2D1StrokeStyle
)
[src]

pub unsafe fn FillRectangle(
    &self,
    rect: *const D2D1_RECT_F,
    brush: *mut ID2D1Brush
)
[src]

pub unsafe fn DrawRoundedRectangle(
    &self,
    roundedRect: *const D2D1_ROUNDED_RECT,
    brush: *mut ID2D1Brush,
    strokeWidth: FLOAT,
    strokeStyle: *mut ID2D1StrokeStyle
)
[src]

pub unsafe fn FillRoundedRectangle(
    &self,
    roundedRect: *const D2D1_ROUNDED_RECT,
    brush: *mut ID2D1Brush
)
[src]

pub unsafe fn DrawEllipse(
    &self,
    ellipse: *const D2D1_ELLIPSE,
    brush: *mut ID2D1Brush,
    strokeWidth: FLOAT,
    strokeStyle: *mut ID2D1StrokeStyle
)
[src]

pub unsafe fn FillEllipse(
    &self,
    ellipse: *const D2D1_ELLIPSE,
    brush: *mut ID2D1Brush
)
[src]

pub unsafe fn DrawGeometry(
    &self,
    geometry: *mut ID2D1Geometry,
    brush: *mut ID2D1Brush,
    strokeWidth: FLOAT,
    strokeStyle: *mut ID2D1StrokeStyle
)
[src]

pub unsafe fn FillGeometry(
    &self,
    geometry: *mut ID2D1Geometry,
    brush: *mut ID2D1Brush,
    opacityBrush: *mut ID2D1Brush
)
[src]

pub unsafe fn FillMesh(&self, mesh: *mut ID2D1Mesh, brush: *const ID2D1Brush)[src]

pub unsafe fn FillOpacityMask(
    &self,
    opacityMask: *mut ID2D1Bitmap,
    brush: *mut ID2D1Brush,
    content: D2D1_OPACITY_MASK_CONTENT,
    destinationRectangle: *const D2D1_RECT_F,
    sourceRectangle: *const D2D1_RECT_F
)
[src]

pub unsafe fn DrawBitmap(
    &self,
    bitmap: *mut ID2D1Bitmap,
    destinationRectangle: *const D2D1_RECT_F,
    opacity: FLOAT,
    interpolationMode: D2D1_BITMAP_INTERPOLATION_MODE,
    sourceRectangle: *const D2D1_RECT_F
)
[src]

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

pub unsafe fn DrawTextLayout(
    &self,
    origin: D2D1_POINT_2F,
    textLayout: *mut IDWriteTextLayout,
    defaultForegroundBrush: *mut ID2D1Brush,
    options: D2D1_DRAW_TEXT_OPTIONS
)
[src]

pub unsafe fn DrawGlyphRun(
    &self,
    baselineOrigin: D2D1_POINT_2F,
    glyphRun: *const DWRITE_GLYPH_RUN,
    foregroundBrush: *mut ID2D1Brush,
    measuringMode: DWRITE_MEASURING_MODE
)
[src]

pub unsafe fn SetTransform(&self, transform: *const D2D1_MATRIX_3X2_F)[src]

pub unsafe fn GetTransform(&self, transform: *mut D2D1_MATRIX_3X2_F)[src]

pub unsafe fn SetAntialiasMode(&self, antialiasMode: D2D1_ANTIALIAS_MODE)[src]

pub unsafe fn GetAntialiasMode(&self) -> D2D1_ANTIALIAS_MODE[src]

pub unsafe fn SetTextAntialiasMode(
    &self,
    textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE
)
[src]

pub unsafe fn GetTextAntialiasMode(&self) -> D2D1_TEXT_ANTIALIAS_MODE[src]

pub unsafe fn SetTextRenderingParams(
    &self,
    textRenderingParams: *mut IDWriteRenderingParams
)
[src]

pub unsafe fn GetTextRenderingParams(
    &self,
    textRenderingParams: *mut *mut IDWriteRenderingParams
)
[src]

pub unsafe fn SetTags(&self, tag1: D2D1_TAG, tag2: D2D1_TAG)[src]

pub unsafe fn GetTags(&self, tag1: *mut D2D1_TAG, tag2: *mut D2D1_TAG)[src]

pub unsafe fn PushLayer(
    &self,
    layerParameters: *const D2D1_LAYER_PARAMETERS,
    layer: *mut ID2D1Layer
)
[src]

pub unsafe fn PopLayer(&self)[src]

pub unsafe fn Flush(&self, tag1: *mut D2D1_TAG, tag2: *mut D2D1_TAG) -> HRESULT[src]

pub unsafe fn SaveDrawingState(
    &self,
    drawingStateBlock: *mut ID2D1DrawingStateBlock
)
[src]

pub unsafe fn RestoreDrawingState(
    &self,
    drawingStateBlock: *mut ID2D1DrawingStateBlock
)
[src]

pub unsafe fn PushAxisAlignedClip(
    &self,
    clipRect: *const D2D1_RECT_F,
    antialiasMode: D2D1_ANTIALIAS_MODE
)
[src]

pub unsafe fn PopAxisAlignedClip(&self)[src]

pub unsafe fn Clear(&self, clearColor: *const D2D1_COLOR_F)[src]

pub unsafe fn BeginDraw(&self)[src]

pub unsafe fn EndDraw(
    &self,
    tag1: *mut D2D1_TAG,
    tag2: *mut D2D1_TAG
) -> HRESULT
[src]

pub unsafe fn GetPixelFormat(&self) -> D2D1_PIXEL_FORMAT[src]

pub unsafe fn SetDpi(&self, dpiX: FLOAT, dpiY: FLOAT)[src]

pub unsafe fn GetDpi(&self, dpiX: *mut FLOAT, dpiY: *mut FLOAT)[src]

pub unsafe fn GetSize(&self) -> D2D1_SIZE_F[src]

pub unsafe fn GetPixelSize(&self) -> D2D1_SIZE_U[src]

pub unsafe fn GetMaximumBitmapSize(&self) -> UINT32[src]

pub unsafe fn IsSupported(
    &self,
    renderTargetProperties: *const D2D1_RENDER_TARGET_PROPERTIES
) -> BOOL
[src]

Trait Implementations

impl Interface for ID2D1HwndRenderTarget[src]

impl Deref for ID2D1HwndRenderTarget[src]

type Target = ID2D1RenderTarget

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]