word poffset = (word) page->data + y*(page->width/4) + x/4;\r
byte *data = *bmp->plane;//+bmp->offset;\r
word bmpOffset = (word) data + ry * bmp->width + rx;\r
- word width = rw/4;\r
- word height = rh/4;\r
+ word width = rw;\r
+ word height = rh;\r
byte plane = 1 << ((byte) x & 0x03);\r
word scanCount = width/4 + (width%4 ? 1 :0);\r
word nextPageRow = page->width/4 - scanCount;\r
word poffset = (word)page->data + y*(page->width/4) + x/4;\r
byte *data = *bmp->plane;//+bmp->offset;\r
word bmpOffset = (word) data + ry * bmp->width + rx;\r
- word width = rw/4;\r
- word height = rh/4;\r
+ word width = rw;\r
+ word height = rh;\r
byte plane = 1 << ((byte) x & 0x03);\r
word scanCount = width/4 + (width%4 ? 1 :0);\r
word nextPageRow = page->width/4 - scanCount;\r