[fpc-pascal]Graph Unit

Andreas K. Foerster Andreas at AKFoerster.de
Thu Feb 14 11:02:26 CET 2002


On Wed, Feb 13, 2002 at 08:27:35PM +0100, Olaf Leidinger wrote:

> Is there an example of bitmap-handling in the graph unit. I'd like to
> use them as a kind of off-screen sourfaces (e.g. for drawing onto them).

If you want to make "off-screen" drawing, have a look at the procedures
SetActivePage and SetVisualPage.

Example:

SetVisualPage(0); SetActivePage(1);
{... draw draw draw - invisible}
SetVisualPage(1); { there it is }

-- 
Tschuess
	Andreas




More information about the fpc-pascal mailing list