2009-05-12 14:15:48 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: PAINT for ReactOS
|
|
|
|
* LICENSE: LGPL
|
2009-10-21 15:44:31 +00:00
|
|
|
* FILE: base/applications/paint/drawing.h
|
2009-05-12 14:15:48 +00:00
|
|
|
* PURPOSE: The drawing functions used by the tools
|
|
|
|
* PROGRAMMERS: Benedikt Freisen
|
|
|
|
*/
|
|
|
|
|
|
|
|
void Line(HDC hdc, short x1, short y1, short x2, short y2, int color, int thickness);
|
|
|
|
|
2009-07-10 18:21:27 +00:00
|
|
|
void Rect(HDC hdc, short x1, short y1, short x2, short y2, int fg, int bg, int thickness, int style);
|
2009-05-12 14:15:48 +00:00
|
|
|
|
2009-07-10 18:21:27 +00:00
|
|
|
void Ellp(HDC hdc, short x1, short y1, short x2, short y2, int fg, int bg, int thickness, int style);
|
2009-05-12 14:15:48 +00:00
|
|
|
|
2009-07-10 18:21:27 +00:00
|
|
|
void RRect(HDC hdc, short x1, short y1, short x2, short y2, int fg, int bg, int thickness, int style);
|
|
|
|
|
|
|
|
void Poly(HDC hdc, POINT *lpPoints, int nCount, int fg, int bg, int thickness, int style, BOOL closed);
|
|
|
|
|
|
|
|
void Bezier(HDC hdc, POINT p1, POINT p2, POINT p3, POINT p4, int color, int thickness);
|
2009-05-12 14:15:48 +00:00
|
|
|
|
|
|
|
void Fill(HDC hdc, int x, int y, int color);
|
|
|
|
|
|
|
|
void Erase(HDC hdc, short x1, short y1, short x2, short y2, int color, int radius);
|
|
|
|
|
2009-07-10 18:21:27 +00:00
|
|
|
void Replace(HDC hdc, short x1, short y1, short x2, short y2, int fg, int bg, int radius);
|
|
|
|
|
2009-05-12 14:15:48 +00:00
|
|
|
void Airbrush(HDC hdc, short x, short y, int color, int r);
|
|
|
|
|
|
|
|
void Brush(HDC hdc, short x1, short y1, short x2, short y2, int color, int style);
|
|
|
|
|
|
|
|
void RectSel(HDC hdc, short x1, short y1, short x2, short y2);
|
|
|
|
|
|
|
|
void SelectionFrame(HDC hdc, int x1, int y1, int x2, int y2);
|