2 * PROJECT: PAINT for ReactOS
4 * FILE: base/applications/paint/drawing.h
5 * PURPOSE: The drawing functions used by the tools
6 * PROGRAMMERS: Benedikt Freisen
9 void Line(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
, COLORREF color
, int thickness
);
11 void Rect(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
, COLORREF fg
, COLORREF bg
, int thickness
, int style
);
13 void Ellp(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
, COLORREF fg
, COLORREF bg
, int thickness
, int style
);
15 void RRect(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
, COLORREF fg
, COLORREF bg
, int thickness
, int style
);
17 void Poly(HDC hdc
, POINT
*lpPoints
, int nCount
, COLORREF fg
, COLORREF bg
, int thickness
, int style
, BOOL closed
);
19 void Bezier(HDC hdc
, POINT p1
, POINT p2
, POINT p3
, POINT p4
, COLORREF color
, int thickness
);
21 void Fill(HDC hdc
, LONG x
, LONG y
, COLORREF color
);
23 void Erase(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
, COLORREF color
, LONG radius
);
25 void Replace(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
, COLORREF fg
, COLORREF bg
, LONG radius
);
27 void Airbrush(HDC hdc
, LONG x
, LONG y
, COLORREF color
, LONG r
);
29 void Brush(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
, COLORREF color
, COLORREF style
);
31 void RectSel(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
);
33 void SelectionFrame(HDC hdc
, LONG x1
, LONG y1
, LONG x2
, LONG y2
);