Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Windows Metafile
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====State records==== State records manage the graphics properties of the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5 State Record Types|pages=138|access-date=2020-01-28}}</ref> {| class="wikitable" |- valign="bottom" ! Name ! Description |- | META_ANIMATEPALETTE | Redefines entries in the logical palette that is defined in the playback device context with a specified Palette Object.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.1 META_ANIMATEPALETTE Record|pages=140|access-date=2020-01-28}}</ref> |- | META_EXCLUDECLIPRECT | Sets the clipping region that is defined in the playback device context to the existing clipping region minus a specified rectangle.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.2 META_EXCLUDECLIPRECT Record|pages=140β141|access-date=2020-01-28}}</ref> |- | META_INTERSECTCLIPRECT | Sets the clipping region that is defined in the playback device context to the intersection of the existing clipping region and a specified rectangle.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.3 META_INTERSECTCLIPRECT Record|pages=141β142|access-date=2020-01-28}}</ref> |- | META_MOVETO | Sets the output position in the playback device context to a specified point.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.1 META_MOVETO Record|pages=142|access-date=2020-01-28}}</ref> |- | META_OFFSETCLIPRGN | Moves the clipping region that is defined in the playback device context by specified offsets.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.4 META_OFFSETCLIPRGN Record|pages=142β143|access-date=2020-01-28}}</ref> |- | META_OFFSETVIEWPORTORG | Moves the viewport origin in the playback device context by specified horizontal and vertical offsets.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.5 META_OFFSETVIEWPORTORG Record|page=143|access-date=2020-01-28}}</ref> |- | META_OFFSETWINDOWORG | Moves the output window origin in the playback device context by specified horizontal and vertical offsets.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.6 META_OFFSETWINDOWORG Record|pages=131β132|access-date=2020-01-28}}</ref> |- | META_REALIZEPALETTE | Maps entries from the logical palette that is defined in the playback device context to the system palette.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.7 META_REALIZEPALETTE Record|pages=143β144|access-date=2020-01-28}}</ref> |- | META_RESIZEPALETTE | Redefines the size of the logical palette that is defined in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.8 META_RESIZEPALETTE Record|page=144|access-date=2020-01-28}}</ref> |- | META_RESTOREDC | Restores the playback device context from a previously saved device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.9 META_RESTOREDC Record|page=145|access-date=2020-01-28}}</ref> |- | META_SAVEDC | Saves the playback device context for later retrieval.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.10 META_SAVEDC Record|page=145|access-date=2020-01-28}}</ref> |- | META_SCALEVIEWPORTEXT | Scales the horizontal and vertical extents of the viewport that is defined in the playback device context using the ratios formed by specified multiplicands and divisors.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.11 META_SCALEVIEWPORTEXT Record|pages=145β146|access-date=2020-01-28}}</ref> |- | META_SCALEWINDOWEXT | Scales the horizontal and vertical extents of the output window that is defined in the playback device context using the ratios formed by specified multiplicands and divisors.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.12 META_SCALEWINDOWEXT Record|pages=146β147|access-date=2020-01-28}}</ref> |- | META_SETBKCOLOR | Sets the background color in the playback device context to a specified color.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.13 META_SETBKCOLOR Record|page=147|access-date=2020-01-28}}</ref> |- | META_SETBKMODE | Sets the background mix mode in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.14 META_SETBKMODE Record|pages=147β148|access-date=2020-01-28}}</ref> |- | META_SETLAYOUT | Defines the layout orientation in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.15 META_SETLAYOUT Record|page=148|access-date=2020-01-28}}</ref> |- | META_SETMAPMODE | Defines the mapping mode in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.16 META_SETMAPMODE Record|pages=148β149|access-date=2020-01-28}}</ref> |- | META_SETMAPPERFLAGS | Defines the algorithm that the font mapper uses when it maps logical fonts to physical fonts.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.17 META_SETMAPPERFLAGS Record|pages=131β132|access-date=2020-01-28}}</ref> |- | META_SETPALENTRIES | Defines RGB color values in a range of entries in the logical palette that is defined in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.18 META_ANIMATEPALETTE Record|page=149|access-date=2020-01-28}}</ref> |- | META_SETPOLYFILLMODE | Defines polygon fill mode in the playback device context for graphics operations that fill polygons.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.19 META_SETPALENTRIES Record|pages=149β150|access-date=2020-01-28}}</ref> |- | META_SETRELABS | Unused record.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.20 META_SETRELABS Record|page=150|access-date=2020-01-28}}</ref> |- | META_SETROP2 | Defines the foreground raster operation mixing mode in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.21 META_SETROP2 Record|page=151|access-date=2020-01-28}}</ref> |- | META_SETSTRETCHBLTMODE | Defines the bitmap stretching mode in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.1 META_SETSTRETCHBLTMODE Record|pages=151β152|access-date=2020-01-28}}</ref> |- | META_SETTEXTALIGN | Defines text-alignment values in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.22 META_SETTEXTALIGN Record|page=152|access-date=2020-01-28}}</ref> |- | META_SETTEXTCHAREXTRA | Defines inter-character spacing for text justification in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.1 META_SETTEXTCHAREXTRA Record|pages=152β153|access-date=2020-01-28}}</ref> |- | META_SETTEXTCOLOR | Defines the text foreground color in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.23 META_SETTEXTCOLOR Record|page=153|access-date=2020-01-28}}</ref> |- | META_SETTEXTJUSTIFICATION | Defines the amount of space to add to break characters in a string of justified text.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.24 META_SETTEXTJUSTIFICATION Record|pages=153β154|access-date=2020-01-28}}</ref> |- | META_SETVIEWPORTEXT | Defines the horizontal and vertical extents of the viewport in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.25 META_SETVIEWPORTEXT Record|page=154|access-date=2020-01-28}}</ref> |- | META_SETVIEWPORTORG | Defines the viewport origin in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.26 META_SETVIEWPORTORG Record|pages=154β155|access-date=2020-01-28}}</ref> |- | META_SETWINDOWEXT | Defines the horizontal and vertical extents of the output window in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.27 META_SETWINDOWEXT Record|page=155|access-date=2020-01-28}}</ref> |- | META_SETWINDOWORG | Defines the output window origin in the playback device context.<ref>{{citation|url=https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-WMF/%5bMS-WMF%5d.pdf|title=<nowiki>[MS-WMF]:</nowiki> Windows Metafile Format Specification|section=2.3.5.28 META_SETWINDOWORG Record|page=155|access-date=2020-01-28}}</ref> |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)