directx-d v0.14.1 (2022-11-15T10:12:44Z)
Dub
Repo
ID2D1DeviceContext.DrawImage
directx
d2d1_1
ID2D1DeviceContext
Undocumented in source. Be warned that the author may not have intended to support it.
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)
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)
interface
ID2D1DeviceContext
extern (
Windows
) final
void
DrawImage
(
ID2D1Image
image
,
D2D1_POINT_2F
targetOffset
,
const
D2D1_RECT_F
imageRectangle
,
D2D1_INTERPOLATION_MODE
interpolationMode
=
D2D1_INTERPOLATION_MODE_LINEAR
,
D2D1_COMPOSITE_MODE
compositeMode
=
D2D1_COMPOSITE_MODE_SOURCE_OVER
)
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