wmperry(a)aventail.com (William M. Perry) wrote:
What is the difference in these calls?
I assume you mean XDrawImageString, not XDrawStringImage ?
XDrawImageString fills the destination with the GC background and then paints
the texte with the GC foreground. On the contrary, XDrawString uses the text
(rendered accordingto the GC) as an additional mask. That's the way you would
create a shaped window with a transparent text for instance.
--
/ / _ _ Didier Verna
http://www.inf.enst.fr/~verna/
- / / - / / /_/ / EPITA / LRDE mailto:didier@lrde.epita.fr
/_/ / /_/ / /__ / 14-16 rue Voltaire Tel. +33 (1) 44 08 01 77
94276 Kremlin-Bicêtre cedex Fax. +33 (1) 44 08 01 99