directx-d ~master (2017-09-08T10:47:49Z)
Dub
Repo
ID2D1DeviceContext.DrawImage
directx
d2d1_1
ID2D1DeviceContext
<summary> Draws the output of the effect as an image. </summary>
void
DrawImage
(
ID2D1Image
image
,
const
(
D2D1_POINT_2F
)*
targetOffset
=
null
,
const
(
D2D1_RECT_F
)*
imageRectangle
=
null
,
D2D1_INTERPOLATION_MODE
interpolationMode
=
D2D1_INTERPOLATION_MODE_LINEAR
,
D2D1_COMPOSITE_MODE
compositeMode
=
D2D1_COMPOSITE_MODE_SOURCE_OVER
)
void
DrawImage
(
ID2D1Effect
effect
,
const
(
D2D1_POINT_2F
)*
targetOffset
=
null
,
const
(
D2D1_RECT_F
)*
imageRectangle
=
null
,
D2D1_INTERPOLATION_MODE
interpolationMode
=
D2D1_INTERPOLATION_MODE_LINEAR
,
D2D1_COMPOSITE_MODE
compositeMode
=
D2D1_COMPOSITE_MODE_SOURCE_OVER
)
interface
ID2D1DeviceContext
extern (
Windows
) final
void
DrawImage
(
ID2D1Effect
effect
,
const
(
D2D1_POINT_2F
)*
targetOffset
= null
,
const
(
D2D1_RECT_F
)*
imageRectangle
= null
,
D2D1_INTERPOLATION_MODE
interpolationMode
=
D2D1_INTERPOLATION_MODE_LINEAR
,
D2D1_COMPOSITE_MODE
compositeMode
=
D2D1_COMPOSITE_MODE_SOURCE_OVER
)
Meta
Source
See Implementation
directx
d2d1_1
ID2D1DeviceContext
functions
CreateBitmap
CreateBitmapFromDxgiSurface
CreateBitmapFromWicBitmap
CreateColorContext
CreateCommandList
CreateEffect
CreateGradientStopCollection
CreateImageBrush
DrawGdiMetafile
DrawGlyphRun
DrawImage
FillOpacityMask
GetDevice
GetEffectInvalidRectangleCount
GetEffectInvalidRectangles
GetEffectRequiredInputRectangles
GetGlyphRunWorldBounds
GetImageLocalBounds
GetImageWorldBounds
GetPrimitiveBlend
GetRenderingControls
GetTarget
GetUnitMode
InvalidateEffectInputRectangle
IsBufferPrecisionSupported
IsDxgiFormatSupported
PushLayer
SetPrimitiveBlend
SetRenderingControls
SetTarget
SetUnitMode
<summary> Draws the output of the effect as an image. </summary>