[−][src]Struct winapi::um::d2d1_2::ID2D1DeviceContext1
Fields
lpVtbl: *const ID2D1DeviceContext1Vtbl
Methods
impl ID2D1DeviceContext1
[src]
pub unsafe fn CreateFilledGeometryRealization(
&self,
geometry: *mut ID2D1Geometry,
flatteningTolerance: FLOAT,
geometryRealization: *mut *mut ID2D1GeometryRealization
) -> HRESULT
[src]
&self,
geometry: *mut ID2D1Geometry,
flatteningTolerance: FLOAT,
geometryRealization: *mut *mut ID2D1GeometryRealization
) -> HRESULT
pub unsafe fn CreateStrokedGeometryRealization(
&self,
geometry: *mut ID2D1Geometry,
flatteningTolerance: FLOAT,
strokeWidth: FLOAT,
strokeStyle: *mut ID2D1StrokeStyle,
geometryRealization: *mut *mut ID2D1GeometryRealization
) -> HRESULT
[src]
&self,
geometry: *mut ID2D1Geometry,
flatteningTolerance: FLOAT,
strokeWidth: FLOAT,
strokeStyle: *mut ID2D1StrokeStyle,
geometryRealization: *mut *mut ID2D1GeometryRealization
) -> HRESULT
pub unsafe fn DrawGeometryRealization(
&self,
geometryRealization: *mut ID2D1GeometryRealization,
brush: *mut ID2D1Brush
)
[src]
&self,
geometryRealization: *mut ID2D1GeometryRealization,
brush: *mut ID2D1Brush
)
Methods from Deref<Target = ID2D1DeviceContext>
pub unsafe fn CreateBitmap(
&self,
size: D2D1_SIZE_U,
sourceData: *const c_void,
pitch: UINT32,
bitmapProperties: *const D2D1_BITMAP_PROPERTIES1,
bitmap: *mut *mut ID2D1Bitmap1
) -> HRESULT
[src]
&self,
size: D2D1_SIZE_U,
sourceData: *const c_void,
pitch: UINT32,
bitmapProperties: *const D2D1_BITMAP_PROPERTIES1,
bitmap: *mut *mut ID2D1Bitmap1
) -> HRESULT
pub unsafe fn CreateBitmapFromWicBitmap(
&self,
wicBitmapSource: *const IWICBitmapSource,
bitmapProperties: *const D2D1_BITMAP_PROPERTIES1,
bitmap: *mut *mut ID2D1Bitmap1
) -> HRESULT
[src]
&self,
wicBitmapSource: *const IWICBitmapSource,
bitmapProperties: *const D2D1_BITMAP_PROPERTIES1,
bitmap: *mut *mut ID2D1Bitmap1
) -> HRESULT
pub unsafe fn CreateColorContext(
&self,
space: D2D1_COLOR_SPACE,
profile: *const BYTE,
profileSize: UINT32,
colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
[src]
&self,
space: D2D1_COLOR_SPACE,
profile: *const BYTE,
profileSize: UINT32,
colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
pub unsafe fn CreateColorContextFromFilename(
&self,
filename: PCWSTR,
colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
[src]
&self,
filename: PCWSTR,
colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
pub unsafe fn CreateColorContextFromWicColorContext(
&self,
wicColorContext: *const IWICColorContext,
colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
[src]
&self,
wicColorContext: *const IWICColorContext,
colorContext: *mut *mut ID2D1ColorContext
) -> HRESULT
pub unsafe fn CreateBitmapFromDxgiSurface(
&self,
surface: *const IDXGISurface,
bitmapProperties: *const D2D1_BITMAP_PROPERTIES1,
bitmap: *mut *mut ID2D1Bitmap1
) -> HRESULT
[src]
&self,
surface: *const IDXGISurface,
bitmapProperties: *const D2D1_BITMAP_PROPERTIES1,
bitmap: *mut *mut ID2D1Bitmap1
) -> HRESULT
pub unsafe fn CreateEffect(
&self,
effectId: REFCLSID,
effect: *mut *mut ID2D1Effect
) -> HRESULT
[src]
&self,
effectId: REFCLSID,
effect: *mut *mut ID2D1Effect
) -> HRESULT
pub unsafe fn CreateGradientStopCollection(
&self,
straightAlphaGradientStops: *const D2D1_GRADIENT_STOP,
straightAlphaGradientStopsCount: UINT32,
preInterpolationSpace: D2D1_COLOR_SPACE,
postInterpolationSpace: D2D1_COLOR_SPACE,
bufferPrecision: D2D1_BUFFER_PRECISION,
extendMode: D2D1_EXTEND_MODE,
colorInterpolationMode: D2D1_COLOR_INTERPOLATION_MODE,
gradientStopCollection1: *mut *mut ID2D1GradientStopCollection1
) -> HRESULT
[src]
&self,
straightAlphaGradientStops: *const D2D1_GRADIENT_STOP,
straightAlphaGradientStopsCount: UINT32,
preInterpolationSpace: D2D1_COLOR_SPACE,
postInterpolationSpace: D2D1_COLOR_SPACE,
bufferPrecision: D2D1_BUFFER_PRECISION,
extendMode: D2D1_EXTEND_MODE,
colorInterpolationMode: D2D1_COLOR_INTERPOLATION_MODE,
gradientStopCollection1: *mut *mut ID2D1GradientStopCollection1
) -> HRESULT
pub unsafe fn CreateImageBrush(
&self,
image: *const ID2D1Image,
imageBrushProperties: *const D2D1_IMAGE_BRUSH_PROPERTIES,
brushProperties: *const D2D1_BRUSH_PROPERTIES,
imageBrush: *mut *mut ID2D1ImageBrush
) -> HRESULT
[src]
&self,
image: *const ID2D1Image,
imageBrushProperties: *const D2D1_IMAGE_BRUSH_PROPERTIES,
brushProperties: *const D2D1_BRUSH_PROPERTIES,
imageBrush: *mut *mut ID2D1ImageBrush
) -> HRESULT
pub unsafe fn CreateBitmapBrush(
&self,
bitmap: *const ID2D1Bitmap,
bitmapBrushProperties: *const D2D1_BITMAP_BRUSH_PROPERTIES1,
brushProperties: *const D2D1_BRUSH_PROPERTIES,
bitmapBrush: *mut *mut ID2D1BitmapBrush1
) -> HRESULT
[src]
&self,
bitmap: *const ID2D1Bitmap,
bitmapBrushProperties: *const D2D1_BITMAP_BRUSH_PROPERTIES1,
brushProperties: *const D2D1_BRUSH_PROPERTIES,
bitmapBrush: *mut *mut ID2D1BitmapBrush1
) -> HRESULT
pub unsafe fn CreateCommandList(
&self,
commandList: *mut *mut ID2D1CommandList
) -> HRESULT
[src]
&self,
commandList: *mut *mut ID2D1CommandList
) -> HRESULT
pub unsafe fn IsDxgiFormatSupported(&self, format: DXGI_FORMAT) -> BOOL
[src]
pub unsafe fn IsBufferPrecisionSupported(
&self,
bufferPrecision: D2D1_BUFFER_PRECISION
) -> BOOL
[src]
&self,
bufferPrecision: D2D1_BUFFER_PRECISION
) -> BOOL
pub unsafe fn GetImageLocalBounds(
&self,
image: *const ID2D1Image,
localBounds: *mut D2D1_RECT_F
) -> HRESULT
[src]
&self,
image: *const ID2D1Image,
localBounds: *mut D2D1_RECT_F
) -> HRESULT
pub unsafe fn GetImageWorldBounds(
&self,
image: *const ID2D1Image,
worldBounds: *mut D2D1_RECT_F
) -> HRESULT
[src]
&self,
image: *const ID2D1Image,
worldBounds: *mut D2D1_RECT_F
) -> HRESULT
pub unsafe fn GetGlyphRunWorldBounds(
&self,
baselineOrigin: D2D1_POINT_2F,
glyphRun: *const DWRITE_GLYPH_RUN,
measuringMode: DWRITE_MEASURING_MODE,
bounds: *mut D2D1_RECT_F
) -> HRESULT
[src]
&self,
baselineOrigin: D2D1_POINT_2F,
glyphRun: *const DWRITE_GLYPH_RUN,
measuringMode: DWRITE_MEASURING_MODE,
bounds: *mut D2D1_RECT_F
) -> HRESULT
pub unsafe fn GetDevice(&self, device: *mut *mut ID2D1Device)
[src]
pub unsafe fn SetTarget(&self, image: *const ID2D1Image)
[src]
pub unsafe fn GetTarget(&self, image: *mut *mut ID2D1Image)
[src]
pub unsafe fn SetRenderingControls(
&self,
renderingControls: *const D2D1_RENDERING_CONTROLS
)
[src]
&self,
renderingControls: *const D2D1_RENDERING_CONTROLS
)
pub unsafe fn GetRenderingControls(
&self,
renderingControls: *mut D2D1_RENDERING_CONTROLS
)
[src]
&self,
renderingControls: *mut D2D1_RENDERING_CONTROLS
)
pub unsafe fn SetPrimitiveBlend(&self, primitiveBlend: D2D1_PRIMITIVE_BLEND)
[src]
pub unsafe fn GetPrimitiveBlend(&self) -> D2D1_PRIMITIVE_BLEND
[src]
pub unsafe fn SetUnitMode(&self, unitMode: D2D1_UNIT_MODE)
[src]
pub unsafe fn GetUnitMode(&self) -> D2D1_UNIT_MODE
[src]
pub unsafe fn DrawGlyphRun(
&self,
baselineOrigin: D2D1_POINT_2F,
glyphRun: *const DWRITE_GLYPH_RUN,
glyphRunDescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
foregroundBrush: *const ID2D1Brush,
measuringMode: DWRITE_MEASURING_MODE
)
[src]
&self,
baselineOrigin: D2D1_POINT_2F,
glyphRun: *const DWRITE_GLYPH_RUN,
glyphRunDescription: *const DWRITE_GLYPH_RUN_DESCRIPTION,
foregroundBrush: *const ID2D1Brush,
measuringMode: DWRITE_MEASURING_MODE
)
pub unsafe fn DrawImage(
&self,
image: *const ID2D1Image,
targetOffset: *const D2D1_POINT_2F,
imageRectangle: *const D2D1_RECT_F,
interpolationMode: D2D1_INTERPOLATION_MODE,
compositeMode: D2D1_COMPOSITE_MODE
)
[src]
&self,
image: *const ID2D1Image,
targetOffset: *const D2D1_POINT_2F,
imageRectangle: *const D2D1_RECT_F,
interpolationMode: D2D1_INTERPOLATION_MODE,
compositeMode: D2D1_COMPOSITE_MODE
)
pub unsafe fn DrawGdiMetafile(
&self,
gdiMetafile: *const ID2D1GdiMetafile,
targetOffset: *const D2D1_POINT_2F
)
[src]
&self,
gdiMetafile: *const ID2D1GdiMetafile,
targetOffset: *const D2D1_POINT_2F
)
pub unsafe fn DrawBitmap(
&self,
bitmap: *const ID2D1Bitmap,
destinationRectangle: *const D2D1_RECT_F,
opacity: FLOAT,
interpolationMode: D2D1_INTERPOLATION_MODE,
sourceRectangle: *const D2D1_RECT_F,
perspectiveTransform: *const D2D1_MATRIX_4X4_F
)
[src]
&self,
bitmap: *const ID2D1Bitmap,
destinationRectangle: *const D2D1_RECT_F,
opacity: FLOAT,
interpolationMode: D2D1_INTERPOLATION_MODE,
sourceRectangle: *const D2D1_RECT_F,
perspectiveTransform: *const D2D1_MATRIX_4X4_F
)
pub unsafe fn PushLayer(
&self,
layerParameters: *const D2D1_LAYER_PARAMETERS1,
layer: *const ID2D1Layer
)
[src]
&self,
layerParameters: *const D2D1_LAYER_PARAMETERS1,
layer: *const ID2D1Layer
)
pub unsafe fn InvalidateEffectInputRectangle(
&self,
effect: *const ID2D1Effect,
input: UINT32,
inputRectangle: *const D2D1_RECT_F
) -> HRESULT
[src]
&self,
effect: *const ID2D1Effect,
input: UINT32,
inputRectangle: *const D2D1_RECT_F
) -> HRESULT
pub unsafe fn GetEffectInvalidRectangleCount(
&self,
effect: *const ID2D1Effect,
rectangleCount: *mut UINT32
) -> HRESULT
[src]
&self,
effect: *const ID2D1Effect,
rectangleCount: *mut UINT32
) -> HRESULT
pub unsafe fn GetEffectInvalidRectangles(
&self,
effect: *const ID2D1Effect,
rectangles: *mut D2D1_RECT_F,
rectanglesCount: UINT32
) -> HRESULT
[src]
&self,
effect: *const ID2D1Effect,
rectangles: *mut D2D1_RECT_F,
rectanglesCount: UINT32
) -> HRESULT
pub unsafe fn GetEffectRequiredInputRectangles(
&self,
renderEffect: *const ID2D1Effect,
renderImageRectangle: *const D2D1_RECT_F,
inputDescriptions: *const D2D1_EFFECT_INPUT_DESCRIPTION,
requiredInputRects: *mut D2D1_RECT_F,
inputCount: UINT32
) -> HRESULT
[src]
&self,
renderEffect: *const ID2D1Effect,
renderImageRectangle: *const D2D1_RECT_F,
inputDescriptions: *const D2D1_EFFECT_INPUT_DESCRIPTION,
requiredInputRects: *mut D2D1_RECT_F,
inputCount: UINT32
) -> HRESULT
pub unsafe fn FillOpacityMask(
&self,
opacityMask: *const ID2D1Bitmap,
brush: *const ID2D1Brush,
destinationRectangle: *const D2D1_RECT_F,
sourceRectangle: *const D2D1_RECT_F
)
[src]
&self,
opacityMask: *const ID2D1Bitmap,
brush: *const ID2D1Brush,
destinationRectangle: *const D2D1_RECT_F,
sourceRectangle: *const D2D1_RECT_F
)
Trait Implementations
impl Interface for ID2D1DeviceContext1
[src]
impl Deref for ID2D1DeviceContext1
[src]
type Target = ID2D1DeviceContext
The resulting type after dereferencing.
fn deref(&self) -> &ID2D1DeviceContext
[src]
Auto Trait Implementations
impl !Send for ID2D1DeviceContext1
impl !Sync for ID2D1DeviceContext1
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,