gdiplus: Draw using actual point data for custom caps.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cd228c2815
commit
3d8bd66511
|
@ -1709,9 +1709,9 @@ static void draw_cap(GpGraphics *graphics, COLORREF color, GpLineCap cap, REAL s
|
|||
GdipTranslateMatrix(&matrix, x2, y2, MatrixOrderAppend);
|
||||
GdipTransformMatrixPoints(&matrix, custptf, count);
|
||||
|
||||
gdip_transform_points(graphics, WineCoordinateSpaceGdiDevice, CoordinateSpaceWorld, ptf, 3);
|
||||
gdip_transform_points(graphics, WineCoordinateSpaceGdiDevice, CoordinateSpaceWorld, custptf, count);
|
||||
|
||||
round_points(pt, ptf, 3);
|
||||
round_points(custpt, custptf, count);
|
||||
|
||||
for(i = 0; i < count; i++)
|
||||
tp[i] = convert_path_point_type(custom->pathdata.Types[i]);
|
||||
|
|
Loading…
Reference in New Issue