nanogui: Clearing a certain area of a window


Previous by date: 1 Oct 2005 00:02:52 +0100 Re: TRUECOLOR 565, Greg Haerr
Next by date: 1 Oct 2005 00:02:52 +0100 Re: Clearing a certain area of a window, Greg Haerr
Previous in thread:
Next in thread: 1 Oct 2005 00:02:52 +0100 Re: Clearing a certain area of a window, Greg Haerr

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




Previous by date: 1 Oct 2005 00:02:52 +0100 Re: TRUECOLOR 565, Greg Haerr
Next by date: 1 Oct 2005 00:02:52 +0100 Re: Clearing a certain area of a window, Greg Haerr
Previous in thread:
Next in thread: 1 Oct 2005 00:02:52 +0100 Re: Clearing a certain area of a window, Greg Haerr


Powered by ezmlm-browse 0.20.