Hi folks, hi Benoit, just a question about drawing and printing... While other graphic elements start at upper-left corner, fonts start at lower-left. This is true for qt4 drawing as well as for Cairo drawing as far as I could see.
This is confusing when you are not aware, for the page starts at upper-left with 0,0 too. So when you print a text at 0,0 you will see nothing, the text is above the border. And you have to take the font height into account whenever positioning text. In Gambas2, font positioning still started at upper-left, so when re-writing old code, I always have to tackle with this problem. But maybe I just haven't understood the deeper sense behind this? :-) Thanks for your insight Rolf ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user