Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creating an ID2D1GradientStopCollection requires at least one gradient stop.
Possible Causes
The application called ID2D1RenderTarget::CreateGradientStopCollection, but specified a gradient stop count of 0.
Possible Fixes
When creating an ID2D1GradientStopCollection, the application should specify at least one gradient stop with its color and position. See ID2D1RenderTarget::CreateGradientStopCollection for an example.