Tuesday, 9 November 2010
Papering over the cracks
PageFormat, Paper: bah! Slowing down here thanks to my lack of grasp of the printing system. OK so double precision co-ordinates throughout thanks to G2D - need to work that back into the screen co-ords handling but portrait and landscape are throwing me atm. So the user selects landscape, I should just pass the PageFormat to print() and that should be it but no, something screwy going on with the Imageable co-ordinates being wildly out when landscape, especially weird when there's no borders on the paper / printer combo. More severe looking at required!