36 XFORM xf = {0, 0, 0, 1.0, 0, 0};
42 -
MulDiv(
static_cast<int>(xf.
eM22 * point_size + 0.5),
47 if (
DPtoLP(hDestDC, &PSize, 1))
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
static const ULONG FS_ITALIC
static const ULONG FS_BOLD
HFONT MakeFont(IN HDC hDestDC, IN LPCSTR typeface_name, IN int point_size, IN const BYTE charset, IN const DWORD style)
static const ULONG FS_STRIKEOUT
static const ULONG FS_UNDERLINE
CHAR lfFaceName[LF_FACESIZE]
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
BOOL WINAPI DPtoLP(_In_ HDC hdc, _Inout_updates_(c) LPPOINT lppt, _In_ int c)
BOOL WINAPI GetWorldTransform(_In_ HDC, _Out_ LPXFORM)
#define CreateFontIndirect