Re: [gtk-list] Re: clip origin, and **clip mask origion** ??
- From: Havoc Pennington <rhp zirx pair com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: clip origin, and **clip mask origion** ??
- Date: Fri, 14 May 1999 14:43:49 -0400 (EDT)
On Fri, 14 May 1999, Travis Loyd wrote:
> I was thinking that a bitmap is just a pixmap with 2 different colors so I
You're right that a bitmap is just a pixmap with depth 1.
> If I could even figure out how to copy out of the bitmap to a pixmap my
> 75x75 square I could then use the gdk_draw_pixmap using the new pixmap to
> create the mask I need and could then use with the origional copy.
>
1. create a pixmap with depth 1 (i.e. a bitmap - gdk_bitmap_new()).
2. use gdk_draw_pixmap() to copy a region of your large bitmap into
the new bitmap.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]