Luca Cappa schrieb: >> The y position corresponds to the baseline of the font. T > > I expect you to correct me again :)
No, I have to correct myself. As you observed the y position corresponds roughly to the upper left corner of the text box. The baseline of the font is positioned half of the cell height plus 30% of the font size in user units below, i.e. y_baseline = y + 0.5 * cellheight + 0.3 * fontsize Sorry for the confusion. Regards, Ulrich P.S.: I consider to change the coordinate system in a future version of wxPdfDocument to make the behaviour of several methods more logical and transparent. ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users