PATH:
usr
/
share
/
doc
/
libwmf-devel-0.2.8.4
/
caolan
<head> <title>META_SETMAPMODE</title> </head> <body link="#CC0000" alink="#FF3300" vlink="#330099" text="#000000" bgcolor="#ffffff" background="pics/weave.jpg"> <h1>NAME</h1> META_SETMAPMODE <h1>NEAREST API CALL</h1> <pre>#include <windows.h> INT32 SetMapMode ( HDC32 hdc, INT32 mode ); </pre> <h1>DESCRIPTION</h1> <TABLE BORDER > <TR> <TD>U16</TD> <TD>Value</TD> </TR> <TR> <TD>0</TD> <TD>MapMode</TD> </TR> </TABLE> SetMapMode sets the mapping mode to one of MM_TEXT, MM_LOMETRIC,MM_HIMETRIC, MM_LOENGLISH,MM_HIENGLISH,MM_TWIPS,MM_ISOTROPIC,MM_ANISOTROPIC<br> Set <a href="mapmode.html">this doc</a> for explanation<p> Id like to point out here, that some wmf files do not set a mapping mode at all, and while the referenced doc here puts MM_TEXT as the default mapping mode, in practice when no map mode is set <b>and</b> the wmf isn't a placeable wmf, i.e. there is no information at all about the desired size of the wmf, then this is a problem because <br> <ul> <li>wmfs exist which expect to be played in MM_TEXT mode where each unit is a pixel and<br> <li>wmfs exist which expect to be played in MM_TWIPS mode where each unit is 1/1440 or an inch.<br> </ul> and neither set a MAPMODE. (grrr) so arbitrarily i put non-placeable wmf files that have no MAPMODE set into MM_TEXT mode if they are < 400 x 400 and into the other mode if they are not. <p><a href="support.html">back</a> </body>
[-] PaintRgn.html
[edit]
[-] ora-clp.html
[edit]
[-] SetWindowOrg.html
[edit]
[-] IntersectClipRect.html
[edit]
[-] support2.html
[edit]
[-] template.html
[edit]
[-] OffsetViewportOrg.html
[edit]
[-] MoveTo.html
[edit]
[-] Chord.html
[edit]
[-] SetStretchBltMode.html
[edit]
[-] SetROP2.html
[edit]
[-] SelectObject.html
[edit]
[-] LineTo.html
[edit]
[-] msmeta03.gif
[edit]
[-] DibBitBlt.html
[edit]
[-] DibCreatePatternBrush.html
[edit]
[-] msmeta04.gif
[edit]
[-] esc.html
[edit]
[+]
..
[-] msmeta01.gif
[edit]
[-] Arc.html
[edit]
[-] unknown.html
[edit]
[-] mapmode.html
[edit]
[-] ExtTextOut.html
[edit]
[-] SetTextColor.html
[edit]
[-] ScaleWindowExt.html
[edit]
[-] TextOut.html
[edit]
[-] SetTextJustification.html
[edit]
[-] 2.html
[edit]
[-] SaveDC.html
[edit]
[-] index.html
[edit]
[-] msmeta02.gif
[edit]
[-] DeleteObject.html
[edit]
[-] ora-wmf.html
[edit]
[-] SetWindowExt.html
[edit]
[-] SetMapMode.html
[edit]
[-] Pie.html
[edit]
[-] FrameRgn.html
[edit]
[-] BitBlt.html
[edit]
[-] CreatePenIndirect.html
[edit]
[-] SetBkMode.html
[edit]
[-] Polygon.html
[edit]
[-] SetTextCharacterExtra.html
[edit]
[-] SetTextAlign.html
[edit]
[-] Bmpfrmat.html
[edit]
[-] Polyline.html
[edit]
[-] dibs.html
[edit]
[-] SetPixel.html
[edit]
[-] InvertRgn.html
[edit]
[-] StretchDib.html
[edit]
[-] rop.html
[edit]
[-] CreateRegion.html
[edit]
[-] SetBkColor.html
[edit]
[-] ExtFloodFill.html
[edit]
[-] OffsetWindowOrg.html
[edit]
[-] PolyPolygon.html
[edit]
[-] SetViewportExt.html
[edit]
[-] ExcludeClipRect.html
[edit]
[-] FloodFill.html
[edit]
[-] FillRgn.html
[edit]
[-] CreateBrushIndirect.html
[edit]
[-] DibStretchBlt.html
[edit]
[-] OffsetClipRgn.html
[edit]
[-] SetMapperFlags.html
[edit]
[-] SetPolyFillMode.html
[edit]
[-] RestoreDC.html
[edit]
[-] SelectClipRgn.html
[edit]
[-] PatBlt.html
[edit]
[-] ScaleViewportExt.html
[edit]
[+]
pics
[-] Ellipse.html
[edit]
[-] SetDIBitsToDevice.html
[edit]
[-] support.html
[edit]
[-] SetViewportOrg.html
[edit]
[-] Rectangle.html
[edit]
[-] RoundRect.html
[edit]