nanogui: Clearing a certain area of a window
Subject:
Clearing a certain area of a window
From:
tj ####@####.####
Date:
1 Oct 2005 00:02:52 +0100
Message-Id: <433DC458.2040605@comcast.net>
Is it possible to clear only a certain rectangular area of a window
instead of having to use GrClearWindow()? I have used GrFillRect() when
the background is solid, but what about when the background is a pixmap,
using GrSetBackgroundPixmap()?
You could GrCopyArea() from the original pixmap to the window, but what
is the background is tiled, stretched, etc?
Be whole lot quicker if it's a small area compared to the entire window.
Especially on a several 100Mhz embedded processor.
tj