Hi,
What is the best way (quickest) to initialize a newly created pixmap
with colors coming from an int array ?
using XDrawPixel for each point is slow. is there not a better way ?
pierre
Printable View
Hi,
What is the best way (quickest) to initialize a newly created pixmap
with colors coming from an int array ?
using XDrawPixel for each point is slow. is there not a better way ?
pierre
In comp.windows.x, craouette
<pierre.saunier@ppmodeler.com>
wrote
on 28 Jan 2007 14:42:29 -0800
<1170024149.652497.150380@j27g2000cwj.googlegroups.com>:[color=blue]
> Hi,
>
> What is the best way (quickest) to initialize a newly created pixmap
> with colors coming from an int array ?
> using XDrawPixel for each point is slow. is there not a better way ?
>
>
> pierre
>[/color]
You might consider using XImage calls.
--
#191, [email]ewill3@earthlink.net[/email]
Windows. When it absolutely, positively, has to crash.
--
Posted via a free Usenet account from [url]http://www.teranews.com[/url]