65 return (
abs(
x1 -
x0) <= cxThreshold) && (
abs(
y1 -
y0) <= cyThreshold);
335 rgbColor =
RGB(255, 255, 255);
660 if (
pointSP == 0 && !bDoubleClick)
668 draw(bLeftButton,
x,
y, bDoubleClick);
FORCEINLINE VOID SetPixel(_In_ ULONG Left, _In_ ULONG Top, _In_ UCHAR Color)
BOOL zoomTo(int newZoom, int mouseX, int mouseY)
void updateLast(LONG x, LONG y)
BOOL nearlyEqualPoints(INT x0, INT y0, INT x1, INT y1)
void regularize(LONG x0, LONG y0, LONG &x1, LONG &y1)
void roundTo8Directions(LONG x0, LONG y0, LONG &x1, LONG &y1)
void updateStartAndLast(LONG x, LONG y)
DWORD GetPixel(LPDIRECTDRAWSURFACE7 Surface, UINT x, UINT y)
void ForceRefreshSelectionContents()
BOOL GetEditRect(LPRECT prc) const
void InvalidateEditRect()
HWND Create(HWND hwndParent)
void ValidateEditRect(LPCRECT prc OPTIONAL)
void ResetToPrevious(void)
void Undo(BOOL bClearRedo=FALSE)
COLORREF GetBgColor() const
void SetFgColor(COLORREF newColor)
void SetBgColor(COLORREF newColor)
COLORREF GetFgColor() const
LONG GetDestRectTop() const
void PushToPtStack(LONG x, LONG y)
void CalculateBoundingBoxAndContents(HDC hDCImage)
LONG GetDestRectHeight() const
LONG GetDestRectLeft() const
void CalculateContents(HDC hDCImage)
void SetSrcRectSizeToZero()
LONG GetDestRectWidth() const
void DrawFramePoly(HDC hDCImage)
void SetSrcAndDestRectFromPoints(const POINT &ptFrom, const POINT &ptTo)
void GetRect(LPRECT prc) const
BOOL IsSrcRectSizeNonzero() const
void RectSel(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2)
void Bezier(HDC hdc, POINT p1, POINT p2, POINT p3, POINT p4, COLORREF color, int thickness)
void Ellp(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, int style)
void Poly(HDC hdc, POINT *lpPoints, int nCount, COLORREF fg, COLORREF bg, int thickness, int style, BOOL closed, BOOL inverted)
void RRect(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, int style)
void Replace(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LONG radius)
void Erase(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG radius)
void Airbrush(HDC hdc, LONG x, LONG y, COLORREF color, LONG r)
void Fill(HDC hdc, LONG x, LONG y, COLORREF color)
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
CSelectionWindow selectionWindow
RegistrySettings registrySettings
SelectionModel selectionModel
CTextEditWindow textEditWindow
PaletteModel paletteModel
void OnButtonDown(BOOL bLeftButton, LONG x, LONG y, BOOL bDoubleClick)
void OnMouseMove(BOOL bLeftButton, LONG x, LONG y)
void OnButtonUp(BOOL bLeftButton, LONG x, LONG y)
void UpdatePoint(LONG x, LONG y)
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG y1
_In_ ULONG _In_ ULONG rgb
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG x1
#define SW_SHOWNOACTIVATE
SHORT WINAPI GetAsyncKeyState(_In_ int)
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
BOOL WINAPI IsWindowVisible(_In_ HWND)
int WINAPI GetSystemMetrics(_In_ int)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)