[wxPython-users] Adding text to LineShapes in OGL
Robin Dunn
robin at alldunn.com
Wed May 2 13:59:46 PDT 2007
simon kagwe wrote:
> Hi all,
> I have tried to set text on lineshapes and I'm able to do it. Problem is
> that the text has an annoying white background such that it covers up
> most of my shapes on the canvas. Does anyone know of how I can set the
> background to be transparent?
You can probably do this by deriving a class from LineShape and
overriding DrawRegion and/or EraseRegion to handle drawing the text how
you want it done.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list