I believe getFulltextextent will do what I need. However, let me try to give an example of what I want to do: Say, you have pan = Navcanvas.navcanvas(...) handle = pan.Canvas.AddScaledText(...., "test", ..., font) Now, I wanted to have a function which should give me the dimensions of the text that I just placed. Something like this: result = pan.TextExtent(handle, font) and result would have the dimensions of the "test" in screen ( or canvas) coordinates.
Now, I believe I can get around this by using wx.ClientDC and placing the text on the ClientDC object and then calling the GetFullTextExtent. I hope this is a bit more clear and I did not confuse you more. On Tue, Sep 9, 2008 at 9:08 AM, Christopher Barker <[EMAIL PROTECTED]>wrote: > Can Baran wrote: > > Thanks to both of you. I believe I have all the information I need. > > great. > > I'm still curious what it is you are trying to do, though. > > -Chris > > -- > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > [EMAIL PROTECTED] > _______________________________________________ > FloatCanvas mailing list > [email protected] > http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas >
_______________________________________________ FloatCanvas mailing list [email protected] http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
