Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
WNT_FontMapEntry.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_WNT_FontMapEntry.hxx>
#include <WNT_LogFont.hxx>
#include <Aspect_Handle.hxx>
#include <Quantity_Factor.hxx>
#include <Quantity_PlaneAngle.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_CString.hxx>
#include <WNT_Dword.hxx>
#include <Standard_Address.hxx>
#include <Standard_Boolean.hxx>
#include <WNT_FontMapEntry.lxx>

Data Structures

class  WNT_FontMapEntry
 Defines correspondence between FontMapEntry from
Aspect and Windows NT font handle. Also, provides
some optimizations due to rotation, italics & underlining
of fonts. Each font can be reffered by its name which
is a character string. The format of the string takes
after format of font name of X window system but there
are some differences. The font name string format is:
"h-w-e-o-wgt-i-u-so-cs-op-cp-q-pf-face".
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| | | | | | | | | | | | | |
| | | | | | | | | | | | | +- name of the typeface
| | | | | | | | | | | | | (Courier, Arial ...)
| | | | | | | | | | | | +- pitch and family
| | | | | | | | | | | +- quality
| | | | | | | | | | +- clip precision
| | | | | | | | | +- out precision
| | | | | | | | +- character set
| | | | | | | +- strike out
| | | | | | +- underline
| | | | | +- italic
| | | | +- weight
| | | +- orientation
| | +- escapement
| +- width
+- height
Wildcarding is allowed by specifying '*' sign. This means
a default value for parameter.
Example: "13-8-*-*-400-*-*-*-255-1-2-*-25-courier".
For more detail information see Microsoft Windows manual.
Warning: Windows can output rotated text only if the selected for
drawing font is True Type.
More...