How to draw a GdkPixmap with mask onto a drawing area?
- From: learfox furry ao net
- To: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: How to draw a GdkPixmap with mask onto a drawing area?
- Date: Fri, 26 Jan 2001 16:10:50 -0800 (PST)
As the topic states!
I have a GdkPixmap and a GdkBitmap, the pair are a pixmap and mask.
I want to use GDK drawing functions to draw the pixmap onto a GtkDrawing
area but I want to take into account the mask.
Do I need to test the mask each pixel at a time and copy each pixel one by
one? Or is there a more convient way? (without using shaped windows)
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]