For: Uwe Rathmann (Pixmap printing)
Brought to you by:
rathmann
From: Ries v. T. <ri...@fr...> - 2001-12-10 10:52:49
|
Hi Uwe, I just saw your question in the mailing list archives. I created such a function for my own use because windows have some printing problems and I need to print to a pixmap. (rotated text is printed wrong) The function is declared is this: void painter(QPainter *paint, const QwtColorFilter &cfilter); So you can supply a QPainter and it will print on anything you like in any resolution! The code is taken from the printer function so currently there is a lot of code overhead but this was the queqtest way to to, I would not suggest to add this to CVS because of that but it's was quickly and ugly done. Contact me at ri...@fr... or on the list ofcource. |