mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@6066 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7ff0f1c148
commit
bb737db5bd
1 changed files with 1 additions and 2 deletions
|
|
@ -237,7 +237,6 @@ void Draw::DrawImage(int x, int y, const Image& img)
|
|||
void Draw::DrawImage(int x, int y, const Image& img, const Rect& src, Color color)
|
||||
{
|
||||
if(IsNull(color)) return;
|
||||
Size sz = img.GetSize();
|
||||
DrawImageOp(x, y, src.Width(), src.Height(), img, src, color);
|
||||
}
|
||||
|
||||
|
|
@ -245,7 +244,7 @@ void Draw::DrawImage(int x, int y, const Image& img, Color color)
|
|||
{
|
||||
if(IsNull(color)) return;
|
||||
Size sz = img.GetSize();
|
||||
DrawImageOp(x, y, sz.cx, sz.cy, img, img.GetSize(), color);
|
||||
DrawImageOp(x, y, sz.cx, sz.cy, img, sz, color);
|
||||
}
|
||||
|
||||
void Draw::DrawData(int x, int y, int cx, int cy, const String& data, const char *type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue