reactos/base/applications/paint/drawing.h
Timo Kreuzer 6afbc8f483 Hopefully create a branch and not destroy the svn repository.
svn path=/branches/reactos-yarotows/; revision=45219
2010-01-23 23:25:04 +00:00

34 lines
1.3 KiB
C

/*
* PROJECT: PAINT for ReactOS
* LICENSE: LGPL
* FILE: base/applications/paint/drawing.h
* 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);
void Rect(HDC hdc, short x1, short y1, short x2, short y2, int fg, int bg, int thickness, int style);
void Ellp(HDC hdc, short x1, short y1, short x2, short y2, int fg, int bg, int thickness, int style);
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);
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);
void Replace(HDC hdc, short x1, short y1, short x2, short y2, int fg, int bg, int radius);
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);