Module: wine Branch: master Commit: 53acff5efb31c3f124213004ae32dc8e41b8772b URL: https://gitlab.winehq.org/wine/wine/-/commit/53acff5efb31c3f124213004ae32dc8...
Author: Piotr Caban piotr@codeweavers.com Date: Thu Mar 23 18:29:42 2023 +0100
wineps: Handle EMR_ARC record in spool files.
---
dlls/wineps.drv/printproc.c | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/dlls/wineps.drv/printproc.c b/dlls/wineps.drv/printproc.c index 9a3de67489e..13846423a4d 100644 --- a/dlls/wineps.drv/printproc.c +++ b/dlls/wineps.drv/printproc.c @@ -225,6 +225,14 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable, p->rclBox.top, p->rclBox.right, p->rclBox.bottom, p->szlCorner.cx, p->szlCorner.cy); } + case EMR_ARC: + { + const EMRARC *p = (const EMRARC *)rec; + + return PSDRV_Arc(&data->pdev->dev, p->rclBox.left, p->rclBox.top, + p->rclBox.right, p->rclBox.bottom, p->ptlStart.x, + p->ptlStart.y, p->ptlEnd.x, p->ptlEnd.y); + } case EMR_LINETO: { const EMRLINETO *line = (const EMRLINETO *)rec;