Re: spurious text
- From: Damon Chaplin <damon karuna eclipse co uk>
- To: Richard Gipps <rgipps netspace net au>
- Cc: goocanvas-list gnome org
- Subject: Re: spurious text
- Date: Fri, 15 Aug 2008 13:36:30 +0100
On Fri, 2008-08-15 at 21:27 +1000, Richard Gipps wrote:
> Hi,
> I have created several of my own Canvas Items which are based very
> heavily on GooCanvasRectModel. I have used these items in a
> GooCanvasTable. I recently added some text to these canvas items using
> the "Toy" text API in Cairo and functions such as cairo_show_text().
> This worked well and would render as I expected. The problem comes when
> one moves the mouse over/into the table items containing the text. When
> this happens some spurious text is rendered outside the table area. This
> problem is best illustrated using the picture I have attached. The R1 to
> the far left is the spurious text. I have drawn rectangles around the
> canvas items for clarity.
>
> One can cover the canvas and expose it again and this text "disappears"
> but as soon as the mouse is moved over the canvas item the spurious text
> is drawn again.
>
> Anyone have any ideas?
It sounds like a problem positioning the text. Maybe in your code or in
GooCanvasTable.
If you want to send me a test app I'll have a look at it.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]