Draw: SDraw now using PaintOnly when possible

git-svn-id: svn://ultimatepp.org/upp/trunk@6845 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-02-01 16:35:48 +00:00
parent 3a96ffc381
commit ec60e904eb
5 changed files with 38 additions and 10 deletions

View file

@ -4,7 +4,7 @@ NAMESPACE_UPP
void SDraw::PutImage(Point p, const Image& img, const Rect& src, Color color)
{
PutImage(p, CachedSetColorKeepAlpha(img, color), src);
PutImage(p, CachedSetColorKeepAlphaPaintOnly(img, color), src);
}
void SDraw::SysDrawImageOp(int x, int y, const Image& img, const Rect& src, Color color)