| typedef unsigned long MGD::PIXEL |
| enum MGD::ARROWTYPE |
Definition at line 36 of file mg2enums.h.
| enum MGD::BASELINE |
Definition at line 113 of file mg2enums.h.
Definition at line 180 of file mg2enums.h.
| enum MGD::CAPABILITY |
Definition at line 98 of file mg2enums.h.
| enum MGD::COMPONENT |
Definition at line 206 of file mg2enums.h.
| enum MGD::DEPTHTEST |
Definition at line 73 of file mg2enums.h.
| enum MGD::EMBEDPERMISSION |
| EMBEDPERMISSION_All | |
| EMBEDPERMISSION_Restricted | |
| EMBEDPERMISSION_PreviewPrint | |
| EMBEDPERMISSION_Editable | |
| EMBEDPERMISSION_NoSubset |
Definition at line 141 of file mg2enums.h.
| enum MGD::FONTTYPE |
| enum MGD::ICONFLAGS |
Definition at line 160 of file mg2enums.h.
| INTERFACETEXTSTYLE_Normal | |
| INTERFACETEXTSTYLE_Bold | |
| INTERFACETEXTSTYLE_Italic | |
| INTERFACETEXTSTYLE_Fixed |
Definition at line 151 of file mg2enums.h.
| enum MGD::LINECAP |
Definition at line 79 of file mg2enums.h.
| enum MGD::LINEJOIN |
| enum MGD::PIXELFUNC |
XXX How much of this is actually used? I don't think it's really even implemented except perhaps in the X implementation SetPixelFunc is used in etext.c, but sets GXinvert and GXxor, not these constants.
mdview sets it to PIXELFUNC_Copy, which is the default anyway.
Definition at line 48 of file mg2enums.h.
| enum MGD::POLYSHAPE |
| POLYSHAPE_Complex | Polygon may or may not be convex. |
| POLYSHAPE_NonConvex | Polygon is known to be non-convex. |
| POLYSHAPE_Convex | Polygon is convex (doesn't double back on itself). |
Definition at line 92 of file mg2enums.h.
| enum MGD::SHAPECLOSE |
Definition at line 67 of file mg2enums.h.
Flags for DrawXxxxStyleSample().
Definition at line 129 of file mg2enums.h.
| enum MGD::TEXTBORDER |
Definition at line 121 of file mg2enums.h.
| enum MGD::TTFNAMEID |
These constants are defined by the TrueType spec and are used for TextGetTTFName().
Definition at line 193 of file mg2enums.h.
| MGD::DEFINE_ENUM_OPERATORS | ( | ICONFLAGS | ) |
| MGD::DEFINE_ENUM_OPERATORS | ( | INTERFACETEXTSTYLE | ) |
| MGD::DEFINE_ENUM_OPERATORS | ( | EMBEDPERMISSION | ) |
| MGD::DEFINE_ENUM_OPERATORS | ( | STYLESAMPLEFLAGS | ) |
| MGD::DEFINE_ENUM_OPERATORS | ( | BASELINE | ) |
| MGD::DEFINE_ENUM_OPERATORS | ( | CAPABILITY | ) |
| ERRVALUE MGD::DlgGetScalableFont | ( | MDLGPARENT | dlgparent, | |
| MISTRING & | FontName, | |||
| const MISTRING & | PromptStr = TEXTID__None, |
|||
| bool | TrueTypeOnly = true | |||
| ) |
| dlgparent | Parent for dialog |
| FontName | Font name passed/returned |
| PromptStr | Prompt for dialog, TEXTID__None for default |
| TrueTypeOnly | Only allow selection of TrueType fonts |
| void MGD::GetDefaultFontName | ( | MISTRING & | name | ) |
| int MGD::TextGetFontByFamily | ( | MISTRING & | fontname, | |
| const MIUNICODE * | family, | |||
| UINT32 | StyleFlags, | |||
| UINT32 * | pStyleFlags, | |||
| INIHANDLE | ini = 0 | |||
| ) |
| fontname | Font name returned (eg: "times.ttf" ) |
| family | Family name requested |
| StyleFlags | FONTSTYLE_Flags requested |
| pStyleFlags | FONTSTYLE_Flags found (closest match) |
| ini | Open tntproc.ini if calling this in a loop |
| int MGD::TextGetFontByFullName | ( | MISTRING & | fontname, | |
| const MIUNICODE * | realname, | |||
| UINT32 | StyleFlags, | |||
| UINT32 * | pStyleFlags, | |||
| INIHANDLE | ini = 0 | |||
| ) |
| fontname | Font name returned (eg: "times.ttf" ) |
| realname | real name requested |
| StyleFlags | FONTSTYLE_Flags requested |
| pStyleFlags | FONTSTYLE_Flags found (closest match) |
| ini | Open tntproc.ini if calling this in a loop |
| int MGD::TextGetFontByName | ( | MISTRING & | fontname, | |
| const MIUNICODE * | family, | |||
| UINT32 | StyleFlags, | |||
| UINT32 * | pStyleFlags, | |||
| INIHANDLE | ini = 0 | |||
| ) |
Get embedded TrueType font family name for a font based on its ttf file name.
Note: This function is in the MGD namespace
| fontname | Font name returned (eg: "times.ttf" ) |
| family | Family name requested |
| StyleFlags | FONTSTYLE_Flags requested |
| pStyleFlags | FONTSTYLE_Flags found (closest match) |
| ini | Open tntproc.ini if calling this in a loop |
| int MGD::TextGetFontByName | ( | INIHANDLE | ini, | |
| MIUNICODE * | fontname, | |||
| MIUNICODE * | family, | |||
| UINT32 | StyleFlags, | |||
| UINT32 * | pStyleFlags | |||
| ) |
Get embedded TrueType font family name for a font based on its ttf file name.
Note: This function is in the MGD namespace
| ini | Open tntproc.ini if calling this in a loop |
| fontname | Font name returned (eg: "times.ttf" ) |
| family | Family name requested |
| StyleFlags | FONTSTYLE_Flags requested |
| pStyleFlags | FONTSTYLE_Flags found (closest match) |
Get font information for specified font handle.
Note: This function is in the MGD namespace
| fhandle | Font "handle" |
| font | Font information returned |
Return font name for specified font handle.
Note: This function is in the MGD namespace
| fonthandle | Font "handle" |
| fontname | String to contain font name |
Return font name for specified font handle.
Note: This function is in the MGD namespace
| fonthandle | Font "handle" |
| fontname | String to contain font name |
| ERRVALUE MGD::TextGetTTFName | ( | INIHANDLE | ini, | |
| const MIUNICODE * | fontname, | |||
| MGD::TTFNAMEID | nameid, | |||
| MISTRING & | name, | |||
| UINT32 * | pStyleFlags | |||
| ) |
Note: This function is in the MGD namespace.
| ini | Open tntproc.ini if calling this in a loop |
| fontname | Full path or just "times.ttf" |
| nameid | TTFNAMEID_Xxxx |
| pStyleFlags | FONTSTYLE_Flags returned |
1.5.2