directx-d v0.14.1 (2022-11-15T10:12:44Z)
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, const(D2D1_RECT_F)* imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
void
DrawImage
(ID2D1Effect effect, const(D2D1_POINT_2F)* targetOffset, const(D2D1_RECT_F)* imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
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
)
void
DrawImage
(ID2D1Image image, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
void
DrawImage
(ID2D1Effect effect, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
void
DrawImage
(ID2D1Image image, D2D1_POINT_2F targetOffset, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
void
DrawImage
(ID2D1Effect effect, D2D1_POINT_2F targetOffset, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
void
DrawImage
(ID2D1Image image, D2D1_POINT_2F targetOffset, D2D1_RECT_F imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
void
DrawImage
(ID2D1Effect effect, D2D1_POINT_2F targetOffset, D2D1_RECT_F imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode)
Meta
Source
See Implementation
directx
d2d1_1
ID2D1DeviceContext
functions
CreateBitmap
CreateBitmapBrush
CreateBitmapFromDxgiSurface
CreateBitmapFromWicBitmap
CreateColorContext
CreateColorContextFromFilename
CreateColorContextFromWicColorContext
CreateCommandList
CreateEffect
CreateGradientStopCollection
CreateImageBrush
DrawBitmap
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>