<br><div class="gmail_quote">Hi all,<br><br>Following the question I asked here : <a href="http://lists.freedesktop.org/archives/cairo/2012-November/023716.html" target="_blank">http://lists.freedesktop.org/archives/cairo/2012-November/023716.html</a>, I tried to make an example to illustrate :<br>

- several layers flattening with transparency<br>- direct data buffer manipulation<br><br>As far I know, there is no example to do that (<a href="http://cairographics.org/samples/" target="_blank">http://cairographics.org/samples/</a> ?), so feel free to made it available if you think it could help someone.<br>

<br>$ gcc -Wall -I/usr/include/cairo -o DirectBufferManipulation DirectBufferManipulation.c -lcairo &&  ./DirectBufferManipulation<br><br>or<br><br>$ gcc -Wall `pkg-config --cflags cairo` -o DirectBufferManipulation DirectBufferManipulation.c `pkg-config --libs cairo` &&  ./DirectBufferManipulation<br>

<br>See you,<br><br>Steve<br><br><img alt="Images intégrées 3" src="cid:ii_13ad50b6f3ff6c79"><br>
</div><br>