[comp.windows.x] Create/Copy of pixmaps

jgraham@crc.skl.dnd.ca (Jay Graham) (03/23/91)

Can I somehow create a pixmap with a background of something like "NONE"
so that when I do an XCopyArea only foreground pixels will be copied?

Hoping for help,

Jay Graham
Software Kinetics Ltd.,
Ottawa, Ontario, Canada,
jgraham@crc.skl.dnd.ca

mouse@lightning.mcrcim.mcgill.EDU (der Mouse) (03/24/91)

> Can I somehow create a pixmap with a background of something like
> "NONE" so that when I do an XCopyArea only foreground pixels will be
> copied?

No.  You have to play games with masks or funny GC functions or
colormaps (to name three workarounds which may or may not be useful
depending on what you're trying to do.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu