131 scale = static_cast<double>(
143 HFONT hOldFont = static_cast<HFONT>(
166 unsigned char* pTypes =
new unsigned char[num_points];
170 int num_got =
GetPath(
hDC, pPEnds, pTypes, num_points);
180 pPEnds[
iPoint].
x = static_cast<LONG>(
183 pPEnds[
iPoint].
y = static_cast<LONG>(
const char * WndClassName
BOOL WINAPI TranslateMessage(_In_ const MSG *)
#define TBS_ENABLESELRANGE
HDC WINAPI GetDC(_In_opt_ HWND)
GLenum GLenum GLenum GLenum GLenum scale
TW_UINT32 TW_UINT16 TW_UINT16 MSG
BOOL WINAPI EndPath(_In_ HDC)
BOOL WINAPI UpdateWindow(_In_ HWND)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
BOOL WINAPI LineTo(_In_ HDC, _In_ int, _In_ int)
GLint GLint GLint GLint GLint x
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
BOOL WINAPI MoveToEx(_In_ HDC, _In_ int, _In_ int, _Out_opt_ LPPOINT)
int WINAPI SetBkMode(_In_ HDC, _In_ int)
BOOL WINAPI PolyBezierTo(_In_ HDC hdc, _In_reads_(cpt) const POINT *apt, _In_ DWORD cpt)
BOOL WINAPI StrokeAndFillPath(_In_ HDC)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
HFONT MakeFont(IN HDC hDestDC, IN LPCSTR typeface_name, IN int point_size, IN const BYTE charset, IN const DWORD style)
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
int WINAPI GetPath(_In_ HDC hdc, _Out_writes_opt_(cpt) LPPOINT apt, _Out_writes_opt_(cpt) LPBYTE aj, int cpt)
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR, int nCmdShow)
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
#define TBM_SETTHUMBLENGTH
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam, LPARAM LParam)
GLint GLint GLint GLint GLint GLint y
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
BOOL WINAPI BeginPath(_In_ HDC hdc)
#define WS_OVERLAPPEDWINDOW
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)