added drawScaled support
allow pixels.offset != 0