[PATCH] d2d1: Implement DrawLine() over DrawGeometry() for a linear path

Henri Verbeet hverbeet at gmail.com
Tue Nov 22 09:29:34 CST 2016


On 21 November 2016 at 13:10, Nikolay Sivov <nsivov at 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.



More information about the wine-devel mailing list