MIL_ID ContextGraId, | //in |
MIL_DOUBLE XFontScale, | //in |
MIL_DOUBLE YFontScale | //in |
This function sets both the vertical and horizontal scaling factor settings of the specified graphics context for use with subsequent MgraText() function calls. These settings only apply to bitmap fonts. When using TrueType fonts, use MgraControl() with M_FONT_SIZE to set the font size.
To change the font scale for graphics already added to a graphics list, use MgraControlList().
Specifies the identifier of the graphics context for which to set the font scale. This parameter must be set to one of the following values:
For specifying the graphics
context
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the default graphics context of the current MIL application is used. (more details...) |
||||||||||||||||||||||||||||||||||||||
MIL graphics context identifier |
Specifies a valid graphics context identifier, which you have allocated using MgraAlloc(). |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |