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
, short x1
, short y1
, short x2
, short y2
, int color
, int thickness
);
11 void Rect(HDC hdc
, short x1
, short y1
, short x2
, short y2
, int fg
, int bg
, int thickness
, int style
);
13 void Ellp(HDC hdc
, short x1
, short y1
, short x2
, short y2
, int fg
, int bg
, int thickness
, int style
);
15 void RRect(HDC hdc
, short x1
, short y1
, short x2
, short y2
, int fg
, int bg
, int thickness
, int style
);
17 void Poly(HDC hdc
, POINT
*lpPoints
, int nCount
, int fg
, int bg
, int thickness
, int style
, BOOL closed
);
19 void Bezier(HDC hdc
, POINT p1
, POINT p2
, POINT p3
, POINT p4
, int color
, int thickness
);
21 void Fill(HDC hdc
, int x
, int y
, int color
);
23 void Erase(HDC hdc
, short x1
, short y1
, short x2
, short y2
, int color
, int radius
);
25 void Replace(HDC hdc
, short x1
, short y1
, short x2
, short y2
, int fg
, int bg
, int radius
);
27 void Airbrush(HDC hdc
, short x
, short y
, int color
, int r
);
29 void Brush(HDC hdc
, short x1
, short y1
, short x2
, short y2
, int color
, int style
);
31 void RectSel(HDC hdc
, short x1
, short y1
, short x2
, short y2
);
33 void SelectionFrame(HDC hdc
, int x1
, int y1
, int x2
, int y2
);