32#define _USE_MATH_DEFINES
47#define MAX_LONG_PATH 512
49#define WM_TOOLSMODELTOOLCHANGED (WM_APP + 0)
50#define WM_TOOLSMODELSETTINGSCHANGED (WM_APP + 1)
51#define WM_TOOLSMODELZOOMCHANGED (WM_APP + 2)
52#define WM_PALETTEMODELCOLORCHANGED (WM_APP + 3)
76#define DEG2RAD(degree) (((degree) * M_PI) / 180)
77#define RAD2DEG(radian) ((LONG)(((radian) * 180) / M_PI))
80#define CHECKED_IF(bChecked) \
81 ((bChecked) ? (MF_CHECKED | MF_BYCOMMAND) : (MF_UNCHECKED | MF_BYCOMMAND))
84#define ENABLED_IF(bEnabled) \
85 ((bEnabled) ? (MF_ENABLED | MF_BYCOMMAND) : (MF_GRAYED | MF_BYCOMMAND))
void getBoundaryOfPtStack(RECT &rcBoundary, INT cPoints, const POINT *pPoints)
CAttributesDialog attributesDialog
CMiniatureWindow miniature
RegistrySettings registrySettings
BOOL g_askBeforeEnlarging
CPaletteWindow paletteWindow
WCHAR g_szFileName[MAX_LONG_PATH]
CFullscreenWindow fullscreenWindow
CStretchSkewDialog stretchSkewDialog
SelectionModel selectionModel
BOOL nearlyEqualPoints(INT x0, INT y0, INT x1, INT y1)
CToolBox toolBoxContainer
BOOL OpenMailer(HWND hWnd, LPCWSTR pszPathName)
CCanvasWindow canvasWindow
void ShowOutOfMemory(void)
CTextEditWindow textEditWindow
PaletteModel paletteModel
CToolSettingsWindow toolSettingsWindow
CMirrorRotateDialog mirrorRotateDialog
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1