Commit eeb8d810 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wineps: Handle EMR_POLYBEZIER16 record in spool files.

parent 25c73309
......@@ -324,6 +324,23 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable,
}
return ret;
}
case EMR_POLYBEZIER16:
{
const EMRPOLYBEZIER16 *p = (const EMRPOLYBEZIER16 *)rec;
POINT *pts;
int i;
pts = malloc(sizeof(*pts) * p->cpts);
if (!pts) return 0;
for (i = 0; i < p->cpts; i++)
{
pts[i].x = p->apts[i].x;
pts[i].y = p->apts[i].y;
}
i = PSDRV_PolyBezier(&data->pdev->dev, pts, p->cpts);
free(pts);
return i;
}
case EMR_CREATEMONOBRUSH:
{
const EMRCREATEMONOBRUSH *p = (const EMRCREATEMONOBRUSH *)rec;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment