Re: region to bitmap conversion functions
- From: Alexander Larsson <alla lysator liu se>
- To: Ron Steinke <rsteinke merilon elfhame net>
- Cc: gtk-devel-list gnome org
- Subject: Re: region to bitmap conversion functions
- Date: Fri, 1 Dec 2000 09:38:14 +0100 (CET)
On Thu, 30 Nov 2000, Ron Steinke wrote:
> I have uploaded a patch (gtk-rsteinke-001130-0.patch.gz) to ftp.gtk.org
> containing functions for converting GdkBitmap to/from GdkRegion. This patch
> contains the new functions:
>
> GdkRegion* gdk_region_create_from_bitmap
> (GdkBitmap *bitmap,
> gint *width,
> gint *height);
> GdkBitmap* gdk_bitmap_create_from_region
> (GdkRegion *region,
> gint width,
> gint height);
Did you have a specific reason for doing this? I ask, because they will
very nice to have when implementing shaped windows in GtkFB, almost like
they were made for that.
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]