minor Painter fix

git-svn-id: svn://ultimatepp.org/upp/trunk@764 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-01-16 16:43:17 +00:00
parent 669af7763f
commit 50bbadddbc

View file

@ -66,6 +66,7 @@ void Painter::DrawRectOp(int x, int y, int cx, int cy, Color color)
void Painter::DrawImageOp(int x, int y, int cx, int cy, const Image& img, const Rect& src, Color color)
{
// Color and src support!!!
RectPath(x, y, cx, cy);
Fill(img, Translate2D(x, y));
}
@ -79,7 +80,7 @@ void Painter::DrawLineOp(int x1, int y1, int x2, int y2, int width, Color color)
}
void Painter::DrawPolyPolylineOp(const Point *vertices, int vertex_count, const int *counts,
int count_count, int width, Color color, Color doxor)
int count_count, int width, Color color, Color doxor)
{
}