On 21 November 2016 at 13:10, Nikolay Sivov nsivov@codeweavers.com wrote:
- ID2D1GeometrySink_BeginFigure(sink, p0, D2D1_FIGURE_BEGIN_FILLED);
- ID2D1GeometrySink_AddLine(sink, p1);
- ID2D1GeometrySink_EndFigure(sink, D2D1_FIGURE_END_CLOSED);
Strictly speaking D2D1_FIGURE_BEGIN_HOLLOW and D2D1_FIGURE_END_OPEN would be more appropriate here, but it shouldn't matter in practice.