[fpc-pascal]Graph Unit

Olaf Leidinger leidola at newcon.de
Sat Feb 16 00:07:27 CET 2002


Am 14 Feb 2002 11:02:26 +0100 schrieb Andreas K. Foerster:
> 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 }
> 

Well, I tested it on Windows 2000 but it didn't work. The drawing was
very visible (if you know what I mean). Are these functions perhaps
simply dummy-functions on windows?

Ciao,

Olaf





More information about the fpc-pascal mailing list