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 2D 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 2D graphics list, use MgraControlList().
Specifies the identifier of the 2D graphics context for which to set the font scale. This parameter must be set to one of the following values:
For specifying the 2D graphics context
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies that the default 2D graphics context of the current MIL application is used. Note that there is a different default 2D graphics context for each thread. (summarize)Specifies that the default 2D graphics context of the current MIL application is used. (more details...) |
||||||||||||||||||||||||||||||||||||||
MIL 2D graphics context identifier |
Specifies a valid 2D graphics context identifier, which you have allocated using MgraAlloc(). |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |