An Exercise In Cairo Operators

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
Objective: given an image, render it as though it were made up of
separate R, G and B elements of a given size and shape, arranged in a
regular grid.

Solution: <http://default-cube.deviantart.com/art/Shadow-Mask-533143786>

Source code:
<https://github.com/ldo/qahirah_examples/blob/master/shadow_mask>

The key to the solution was working entirely in opaque colours: alpha
transparency was irrelevant to this application.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.