Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d43758b2
Commit
d43758b2
authored
Apr 17, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Print names for all known EMF records.
parent
15c0bcb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
98 additions
and
1 deletion
+98
-1
emf.c
tools/winedump/emf.c
+98
-1
No files found.
tools/winedump/emf.c
View file @
d43758b2
...
...
@@ -62,32 +62,129 @@ static int dump_emfrecord(void)
switch
(
type
)
{
EMRCASE
(
EMR_HEADER
);
EMRCASE
(
EMR_POLYBEZIER
);
EMRCASE
(
EMR_POLYGON
);
EMRCASE
(
EMR_POLYLINE
);
EMRCASE
(
EMR_POLYBEZIERTO
);
EMRCASE
(
EMR_POLYLINETO
);
EMRCASE
(
EMR_POLYPOLYLINE
);
EMRCASE
(
EMR_POLYPOLYGON
);
EMRCASE
(
EMR_SETWINDOWEXTEX
);
EMRCASE
(
EMR_SETWINDOWORGEX
);
EMRCASE
(
EMR_SETVIEWPORTEXTEX
);
EMRCASE
(
EMR_SETVIEWPORTORGEX
);
EMRCASE
(
EMR_SETBRUSHORGEX
);
EMRCASE
(
EMR_EOF
);
EMRCASE
(
EMR_SETPIXELV
);
EMRCASE
(
EMR_SETMAPPERFLAGS
);
EMRCASE
(
EMR_SETMAPMODE
);
EMRCASE
(
EMR_SETBKMODE
);
EMRCASE
(
EMR_SETPOLYFILLMODE
);
EMRCASE
(
EMR_SETROP2
);
EMRCASE
(
EMR_SETSTRETCHBLTMODE
);
EMRCASE
(
EMR_SETTEXTALIGN
);
EMRCASE
(
EMR_SETCOLORADJUSTMENT
);
EMRCASE
(
EMR_SETTEXTCOLOR
);
EMRCASE
(
EMR_SETBKCOLOR
);
EMRCASE
(
EMR_OFFSETCLIPRGN
);
EMRCASE
(
EMR_MOVETOEX
);
EMRCASE
(
EMR_SETMETARGN
);
EMRCASE
(
EMR_EXCLUDECLIPRECT
);
EMRCASE
(
EMR_INTERSECTCLIPRECT
);
EMRCASE
(
EMR_SCALEVIEWPORTEXTEX
);
EMRCASE
(
EMR_SCALEWINDOWEXTEX
);
EMRCASE
(
EMR_SAVEDC
);
EMRCASE
(
EMR_RESTOREDC
);
EMRCASE
(
EMR_SETWORLDTRANSFORM
);
EMRCASE
(
EMR_MODIFYWORLDTRANSFORM
);
EMRCASE
(
EMR_SELECTOBJECT
);
EMRCASE
(
EMR_CREATEPEN
);
EMRCASE
(
EMR_CREATEBRUSHINDIRECT
);
EMRCASE
(
EMR_DELETEOBJECT
);
EMRCASE
(
EMR_ANGLEARC
);
EMRCASE
(
EMR_ELLIPSE
);
EMRCASE
(
EMR_RECTANGLE
);
EMRCASE
(
EMR_ROUNDRECT
);
EMRCASE
(
EMR_ARC
);
EMRCASE
(
EMR_CHORD
);
EMRCASE
(
EMR_PIE
);
EMRCASE
(
EMR_SELECTPALETTE
);
EMRCASE
(
EMR_CREATEPALETTE
);
EMRCASE
(
EMR_SETPALETTEENTRIES
);
EMRCASE
(
EMR_RESIZEPALETTE
);
EMRCASE
(
EMR_REALIZEPALETTE
);
EMRCASE
(
EMR_EXTFLOODFILL
);
EMRCASE
(
EMR_LINETO
);
EMRCASE
(
EMR_ARCTO
);
EMRCASE
(
EMR_POLYDRAW
);
EMRCASE
(
EMR_SETARCDIRECTION
);
EMRCASE
(
EMR_SETMITERLIMIT
);
EMRCASE
(
EMR_BEGINPATH
);
EMRCASE
(
EMR_ENDPATH
);
EMRCASE
(
EMR_CLOSEFIGURE
);
EMRCASE
(
EMR_FILLPATH
);
EMRCASE
(
EMR_STROKEANDFILLPATH
);
EMRCASE
(
EMR_STROKEPATH
);
EMRCASE
(
EMR_FLATTENPATH
);
EMRCASE
(
EMR_WIDENPATH
);
EMRCASE
(
EMR_SELECTCLIPPATH
);
EMRCASE
(
EMR_ABORTPATH
);
EMRCASE
(
EMR_GDICOMMENT
);
EMRCASE
(
EMR_FILLRGN
);
EMRCASE
(
EMR_FRAMERGN
);
EMRCASE
(
EMR_INVERTRGN
);
EMRCASE
(
EMR_PAINTRGN
);
EMRCASE
(
EMR_EXTSELECTCLIPRGN
);
EMRCASE
(
EMR_BITBLT
);
EMRCASE
(
EMR_STRETCHBLT
);
EMRCASE
(
EMR_MASKBLT
);
EMRCASE
(
EMR_PLGBLT
);
EMRCASE
(
EMR_SETDIBITSTODEVICE
);
EMRCASE
(
EMR_STRETCHDIBITS
);
EMRCASE
(
EMR_EXTCREATEFONTINDIRECTW
);
EMRCASE
(
EMR_EXTTEXTOUTA
);
EMRCASE
(
EMR_EXTTEXTOUTW
);
EMRCASE
(
EMR_POLYBEZIER16
);
EMRCASE
(
EMR_POLYGON16
);
EMRCASE
(
EMR_POLYLINE16
);
EMRCASE
(
EMR_POLYBEZIERTO16
);
EMRCASE
(
EMR_POLYLINETO16
);
EMRCASE
(
EMR_POLYPOLYLINE16
);
EMRCASE
(
EMR_POLYPOLYGON16
);
EMRCASE
(
EMR_POLYDRAW16
);
EMRCASE
(
EMR_CREATEMONOBRUSH
);
EMRCASE
(
EMR_CREATEDIBPATTERNBRUSHPT
);
EMRCASE
(
EMR_EXTCREATEPEN
);
EMRCASE
(
EMR_POLYTEXTOUTA
);
EMRCASE
(
EMR_POLYTEXTOUTW
);
EMRCASE
(
EMR_SETICMMODE
);
EMRCASE
(
EMR_CREATECOLORSPACE
);
EMRCASE
(
EMR_SETCOLORSPACE
);
EMRCASE
(
EMR_DELETECOLORSPACE
);
EMRCASE
(
EMR_GLSRECORD
);
EMRCASE
(
EMR_GLSBOUNDEDRECORD
);
EMRCASE
(
EMR_PIXELFORMAT
);
EMRCASE
(
EMR_DRAWESCAPE
);
EMRCASE
(
EMR_EXTESCAPE
);
EMRCASE
(
EMR_STARTDOC
);
EMRCASE
(
EMR_SMALLTEXTOUT
);
EMRCASE
(
EMR_FORCEUFIMAPPING
);
EMRCASE
(
EMR_NAMEDESCAPE
);
EMRCASE
(
EMR_COLORCORRECTPALETTE
);
EMRCASE
(
EMR_SETICMPROFILEA
);
EMRCASE
(
EMR_SETICMPROFILEW
);
EMRCASE
(
EMR_ALPHABLEND
);
EMRCASE
(
EMR_SETLAYOUT
);
EMRCASE
(
EMR_TRANSPARENTBLT
);
EMRCASE
(
EMR_RESERVED_117
);
EMRCASE
(
EMR_GRADIENTFILL
);
EMRCASE
(
EMR_SETLINKEDUFI
);
EMRCASE
(
EMR_SETTEXTJUSTIFICATION
);
EMRCASE
(
EMR_COLORMATCHTOTARGETW
);
EMRCASE
(
EMR_CREATECOLORSPACEW
);
default:
printf
(
"%
08x %08x
\n
"
,
type
,
length
);
printf
(
"%
u %08x
\n
"
,
type
,
length
);
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment