Vertical scan line instead of Horizontal?

Hi,

I’m developing a bitmap driver and I need the data rotated. Preferably I want to access the bitmap data one scan-line at a time, but vertically not horizontally.

Right now, I’m acquiring the full bitmap and doing a rotation of it before sending the data to the spooler.

What is actually needed, is the data to be sent to the spooler one band at a time as it’s processed vertically.

Is there anyway to get the driver to process scan line data in a vertical fashion instead of horizontally?

Basically rotate the image 90 degrees before processing.

Any help would be greatly appreciated.

Thanks,

Mike

I’m not really sure that there is any way to do that. A horizontal scan line representation is going to be that way in memory no matter what way you cut it. If you want to save memory, you could consider doing your 90-degree rotation in-place, but to get the scan lines adjusted the way you are describing…I don’t think that you can do that. Unless, of course, you want to rewrite all of your DrvXXX rendering routines to operate with a 90-degree rotation. And that would probably be a mess to do.