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

wineps: Add support for EMR_EXTCREATEPEN record playback.

parent 59f72abf
......@@ -2309,6 +2309,7 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable,
case OBJ_PEN: return PSDRV_SelectPen(data->ctx, obj, NULL) != NULL;
case OBJ_BRUSH: return PSDRV_SelectBrush(data->ctx, obj, pattern) != NULL;
case OBJ_FONT: return PSDRV_SelectFont(data->ctx, obj, &aa_flags) != NULL;
case OBJ_EXTPEN: return PSDRV_SelectPen(data->ctx, obj, NULL) != NULL;
default:
FIXME("unhandled object type %ld\n", GetObjectType(obj));
return 1;
......@@ -2843,6 +2844,7 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable,
case EMR_SELECTCLIPPATH:
case EMR_EXTSELECTCLIPRGN:
case EMR_EXTCREATEFONTINDIRECTW:
case EMR_EXTCREATEPEN:
case EMR_SETLAYOUT:
return PlayEnhMetaFileRecord(data->ctx->hdc, htable, rec, handle_count);
default:
......
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