|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| Windows 95: int == 16 bits
|
|
|
SetMapperFlags
The SetMapperFlags function alters the algorithm the font mapper uses when it maps logical fonts
to physical fonts.
DWORD SetMapperFlags(
HDC hdc,
| // handle of device context
| DWORD dwFlag
| // font-mapper flag
| );
|
|
Parameters
hdc
Identifies the device context that contains the font-mapper flag.
dwFlag
Specifies whether the font mapper should attempt to match a font's aspect
ratio to the current device's aspect ratio. If bit zero is set, the mapper selects
only matching fonts.
Return Values
If the function succeeds, the return value is the previous value of the
font-mapper flag.
If the function fails, the return value is GDI_ERROR. To get extended error
information, call GetLastError.
Remarks
If the dwFlag parameter is set and no matching fonts exist, Windows chooses a new aspect
ratio and retrieves a font that matches this ratio.
The remaining bits of the dwFlag parameter must be zero.
See Also
GetAspectRatioFilterEx
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|