On Mon, Jun 30, 2003 at 11:30:58AM +0100, Sam Mason wrote:
> I couldn't comment on the right place to put them - but translucent
> primitives could be easily incorporated into the X framework.  

My suggestion would be an extended graphics context attributes structure
XGCValuesExt and new versions of the functions that use this: XCreateGCExt,
XChangeGCExt and so on. This way no extra drawing APIs would be needed for 
translucent drawing, AA fonts and whatever and e.g. converting apps to 
use blurred fonts would be trivial (just set an extended GC attribute)
unless they expect drawing new text with another colour to erase old. 
Similarly I would add support for window translucency by introducing an
XSetWindowAttributesExt structure and related functions.

-- 
Tuomo

Reply via email to