9fans archive / 2000 / 09 / 76 /    prev next

From: okamoto@gra...
Subject: [9fans] pasting pre-defined bitmap image
Date: Thu, 7 Sep 2000 16:20:41 0900

In the 8½, we've used to make a rectangle by balloc(), and
then fill the rectange by a pre-defined patterns, and then
write it on to a window using this pre-defined rectangle
(ie., tiling pattern etc.).

allocimage() of the new release allocates the image onto
the display.  In the present case, this is not proper, instead,
we want just allocate the pattern in memory, and to use it
as the cursor shape (not at the cursor position).

How I can do it on the new release graphic system?

Kenji