Re: Converting pixmaps to bitmaps.



I am well aware of this fact, but this doesn't answer my question :)  I am
writing the linux implementation of EiffelVision 2 and our preferred
functionality is to have multifunction pixmaps (EV_PIXMAP's) that the user
can use anywhere applicable.  If a user creates an EV_PIXMAP, from say, a
PNG file, they may then manipulate this EV_PIXMAP and even use it as a
cursor.  If I had a 24bit pixmap, how can I convert it to a 1 bit pixmap
which may then be set as a cursor?

Thanks for your time.

Ian King
----- Original Message -----
From: "Havoc Pennington" <hp redhat com>
To: "Ian King" <king eiffel com>
Cc: <gtk-list gnome org>
Sent: Monday, April 30, 2001 3:41 PM
Subject: Re: Converting pixmaps to bitmaps.


>
> "Ian King" <king eiffel com> writes:
> > Is there anyway that I can convert a pixmap in to a bitmap that can be
used
> > for cursors?
> >
>
> A bitmap is just a pixmap with depth 1, it isn't really a separate
> datatype.
>
> Havoc
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]