directx-d v0.14.1 (2022-11-15T10:12:44Z)
Dub
Repo
ID2D1DeviceContext.CreateGradientStopCollection
directx
d2d1_1
ID2D1DeviceContext
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
HRESULT
CreateGradientStopCollection
(const(D2D1_GRADIENT_STOP)* straightAlphaGradientStops, UINT32 straightAlphaGradientStopsCount, D2D1_COLOR_SPACE preInterpolationSpace, D2D1_COLOR_SPACE postInterpolationSpace, D2D1_BUFFER_PRECISION bufferPrecision, D2D1_EXTEND_MODE extendMode, D2D1_COLOR_INTERPOLATION_MODE colorInterpolationMode, ID2D1GradientStopCollection1* gradientStopCollection1)
HRESULT
CreateGradientStopCollection
(const(D2D1_GRADIENT_STOP)* gradientStops, UINT32 gradientStopsCount, D2D1_GAMMA colorInterpolationGamma, D2D1_EXTEND_MODE extendMode, ID2D1GradientStopCollection* gradientStopCollection)
interface
ID2D1DeviceContext
extern (
Windows
)
HRESULT
CreateGradientStopCollection
(
const
(
D2D1_GRADIENT_STOP
)*
gradientStops
,
UINT32
gradientStopsCount
,
D2D1_GAMMA
colorInterpolationGamma
,
D2D1_EXTEND_MODE
extendMode
,
ID2D1GradientStopCollection
*
gradientStopCollection
)
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