summaryrefslogtreecommitdiff
path: root/test/mesh-pattern-conical.c
Commit message (Collapse)AuthorAgeFilesLines
* test: Space out keywords for clarityBryce W. Harrington2013-09-131-1/+1
| | | | | | | | | As another nitpick, a comma alone is legal for separating keywords, but most tests use a comma and a space. Update the few tests that don't, to make this consistent. Signed-off-by: Bryce Harrington <b.harrington@samsung.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
* mesh: Rename cairo_pattern_mesh_* functions to cairo_mesh_pattern_*Andrea Canciani2011-02-071-8/+8
| | | | | | | | | This is consistent with the naming of most cairo types/functions (example: cairo_foo_surface_*). The substitution in the code has been performed using: sed -i 's/cairo_pattern_mesh_/cairo_mesh_pattern_/' <files>
* test: Add tests for mesh patternsAdrian Johnson2011-01-011-0/+135
mesh-pattern tests a mesh pattern with non-opaque two overlapping patches. mesh-pattern-accuracy tests the accuracy of the color computed in each point of a patch. It can point out defects in rasterizers which rely on mesh subdivision only use the mesh shape instead of both shape and color to decide when the tensor-product patches can be approximated with Gouraud-shaded triangles. mesh-pattern-conical is an example of how a conical gradient can be approximated with a mesh pattern. mesh-pattern-control-points tests a mesh pattern with control points in non-default position to verify that their position affects the color as expected. mesh-pattern-fold tests a mesh pattern with a patch which folds along both sides. mesh-pattern-overlap tests a mesh pattern with a patch which folds along just one side. mesh-pattern-transformed tests a mesh pattern with non-identity transform matrix.