developing new draw

git-svn-id: svn://ultimatepp.org/upp/trunk@1372 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-07-06 20:31:00 +00:00
parent aa30f86a8c
commit fa47b4615a
74 changed files with 3278 additions and 3431 deletions

View file

@ -102,7 +102,7 @@ void Draw::DrawDataOp(int x, int y, int cx, int cy, const String& data, const ch
One<DataDrawer> dd = DataDrawer::Create(id);
if(dd) {
dd->Open(data, cx, cy);
if((cx > 2048 || cy > 2048) && dynamic_cast<SystemDraw *>(this)) {
if((cx > 2048 || cy > 2048) && GetInfo() & DATABANDS) {
int yy = 0;
while(yy < cy) {
int ccy = min(cy - yy, 32);