Re: lua pixmap drawing api in preparation for arbitrary shaped wiboxes

2009-06-15 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Uli Schlachter wrote: Julien Danjou wrote: At 1243673434 time_t, Uli Schlachter wrote: Looking at the current image lua API, I kinda doubt that it's worth to use this for generating a 1bit pixmap. Plus, if a window is resized you pretty much

Re: lua pixmap drawing api in preparation for arbitrary shaped wiboxes

2009-06-15 Thread Maarten Maathuis
Personally this sounds like a case for using xrender composite, src (square) mask (8bits alpha pixmap) - dst (rounded, smooth?). The reason cairo doesn't support 1 bit is because no hw from this century will support it. Just use 8bits. I think the SRC operator is appropriate in this case. The

Re: lua pixmap drawing api in preparation for arbitrary shaped wiboxes

2009-06-15 Thread Maarten Maathuis
Oh, so you are not manually responsible for making the right shape? Just to be clear, xrender composite (the act of blending images together) is not the same as the composite extention. And the first works fine without the a compositing manager. Maarten. -- To unsubscribe, send mail to