gdiplus: Return success saving path to metafile.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
70afb4ecd0
commit
2176348998
|
@ -2937,7 +2937,7 @@ GpStatus METAFILE_DrawPath(GpMetafile *metafile, GpPen *pen, GpPath *path)
|
||||||
draw_path_record->PenId = pen_id;
|
draw_path_record->PenId = pen_id;
|
||||||
|
|
||||||
METAFILE_WriteRecords(metafile);
|
METAFILE_WriteRecords(metafile);
|
||||||
return NotImplemented;
|
return Ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GpStatus METAFILE_AddBrushObject(GpMetafile *metafile, GpBrush *brush, DWORD *id)
|
static GpStatus METAFILE_AddBrushObject(GpMetafile *metafile, GpBrush *brush, DWORD *id)
|
||||||
|
|
|
@ -2651,7 +2651,7 @@ static void test_drawpath(void)
|
||||||
expect(Ok, stat);
|
expect(Ok, stat);
|
||||||
|
|
||||||
stat = GdipDrawPath(graphics, pen, path);
|
stat = GdipDrawPath(graphics, pen, path);
|
||||||
todo_wine expect(Ok, stat);
|
expect(Ok, stat);
|
||||||
|
|
||||||
stat = GdipDeletePen(pen);
|
stat = GdipDeletePen(pen);
|
||||||
expect(Ok, stat);
|
expect(Ok, stat);
|
||||||
|
|
Loading…
Reference in New Issue