|
From: Malcolm W. <Mal...@cs...> - 2005-10-07 15:18:10
|
Hi people,
Does anyone know anything about Graphics.UI.WXCore.Draw.getTextExtent?
It does not work as I expected from the documentation. If the string
you pass in has multiple lines, then it seems to calculate the height
as if there was only one line. The width is correct though.
Maybe related to this, drawText only draws the first line of the
string as well.
And another question: how do I change the colour of drawn text?
Adding options like
[ penColor := ... ]
[ brushColor := ... ]
doesn't seem to have any effect.
This is all using GHC-6.2.2 on a Mac, with wxHaskell-0.9, and (I
presume) wxMac.
Regards,
Malcolm
|