nanogui: non-rectangular window drawing problem
Subject:
Re: [nanogui] non-rectangular window drawing problem
From:
"Greg Haerr" ####@####.####
Date:
25 May 2004 21:36:54 +0100
Message-Id: <11ca01c44299$537da830$b600a8c0@censoft.com>
: The problem is that the lower window's graphics do not show through the
: circle's bounding rectangle. It is the background color, monochrome
: display. I write text around the circle on the bottom window,but the
: text within the circle's bounding rectangle is "covered" up.
Yes, this is a known imperfection/race condition having to do
with a non-complete implementation for non-square windows.
In order to make this work perfectly, you might have to have
your circular window find it's absolute position on the screen, and then
execute a GrClearWindow(GR_ROOT_WINDOW_ID,...) for
the absolute coordinates for each window from the root window
up to your window to be re-displayed... Otherwise, the server
currently may or may not properly display the underlying window
background beneath your window's bounding box.
Regards,
Greg