OpenAmiga (52/964)

From:Daniel Adler
Date:5 Sep 2000 at 10:30:24
Subject:Re: AMIOPEN: Dev Questions

Hi Pat,
here's an answer to question 8

>-------------------------------------------------------------------
>008
>-------------------------------------------------------------------
>Q: How can pixels be directly written to a pixmap frame buffer?

1. Allocate memory for the given size of the pixmap frame buffer.
2. Open a specific pixmap instance and give it the pointer of your
allocated memory
3. Write to the memory, and call update on the pixmap-object

example:



so long,
plex
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html