mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 19:52:48 +00:00
winedump/emf: Add EMR_SETMITERLIMIT record dumping.
This commit is contained in:
parent
fea9bb7523
commit
372c43868b
|
@ -174,7 +174,6 @@ unsigned long dump_emfrecord(const char *pfx, unsigned long offset)
|
|||
EMRCASE(EMR_ARCTO);
|
||||
EMRCASE(EMR_POLYDRAW);
|
||||
EMRCASE(EMR_SETARCDIRECTION);
|
||||
EMRCASE(EMR_SETMITERLIMIT);
|
||||
EMRCASE(EMR_BEGINPATH);
|
||||
EMRCASE(EMR_ENDPATH);
|
||||
EMRCASE(EMR_CLOSEFIGURE);
|
||||
|
@ -186,6 +185,15 @@ unsigned long dump_emfrecord(const char *pfx, unsigned long offset)
|
|||
EMRCASE(EMR_SELECTCLIPPATH);
|
||||
EMRCASE(EMR_ABORTPATH);
|
||||
|
||||
case EMR_SETMITERLIMIT:
|
||||
{
|
||||
const EMRSETMITERLIMIT *record = PRD(offset, sizeof(*record));
|
||||
|
||||
printf("%s%-20s %08x\n", pfx, "EMR_SETMITERLIMIT", length);
|
||||
printf("%s miter limit %u\n", pfx, *(unsigned int *)&record->eMiterLimit);
|
||||
break;
|
||||
}
|
||||
|
||||
case EMR_GDICOMMENT:
|
||||
{
|
||||
printf("%s%-20s %08x\n", pfx, "EMR_GDICOMMENT", length);
|
||||
|
|
Loading…
Reference in a new issue