nanogui: Problem with overwriting text.


Previous by date: 5 Oct 2005 16:02:02 +0100 Re: cross compiling libwww, Jordan Crouse
Next by date: 5 Oct 2005 16:02:02 +0100 Re: cross compiling libwww, Greg Haerr
Previous in thread: 5 Oct 2005 16:02:02 +0100 Re: Problem with overwriting text., amareesh
Next in thread: 5 Oct 2005 16:02:02 +0100 Re: Problem with overwriting text., Aaron J. Grier

Subject: Re: [nanogui] Problem with overwriting text.
From: "Greg Haerr" ####@####.####
Date: 5 Oct 2005 16:02:02 +0100
Message-Id: <1b6901c5c9bc$0ca91790$6401a8c0@winXP>

: I followed instructions from u, still it dosent help until I write a
: sufficiently long empty string with GrSetGCUseBackground(gc, TRUE)
: before the actual text(to have a cleaning effect.)
: This workaround is an overhead.

Well, there's no workaround to having to draw background
pixels to erase text you want erased.  If you don't want to
use the GrSetGCUseBackground method, then you'll have
to use GrFillRect to clear the area before drawing text, and
then drawing text without the background.

Regards,

Greg


: Could you suggest any other quickfix??
:
: Thank You.
:
: With Regards,
:
: Amareesh
:
:
:
: On Mon, 2005-10-03 at 06:20, Greg Haerr wrote:
: > : when i overwrite text on a window , it is all garbled.
: > :
: > : Is there any alternative to killing and redrawing the window on which
: > : text is to be drawn?
: >
: > Likely there are many alternatives.  It sounds like your text drawing
: > doesn't have the background being drawn as well as the foreground.
: > Make sure you execute a GrSetGCBackground as well as
: > GrSetGCUseBackground(gc, TRUE);
: >
: > Regards,
: >
: > Greg
:
: The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)and
may contain confidential or privileged information. If you are not the
intended recipient, please notify the sender or
####@####.####
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
:
:


Previous by date: 5 Oct 2005 16:02:02 +0100 Re: cross compiling libwww, Jordan Crouse
Next by date: 5 Oct 2005 16:02:02 +0100 Re: cross compiling libwww, Greg Haerr
Previous in thread: 5 Oct 2005 16:02:02 +0100 Re: Problem with overwriting text., amareesh
Next in thread: 5 Oct 2005 16:02:02 +0100 Re: Problem with overwriting text., Aaron J. Grier


Powered by ezmlm-browse 0.20.