summaryrefslogtreecommitdiff
path: root/test/clip-draw-unbounded.c
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2010-12-31 13:01:50 +0100
committerAndrea Canciani <ranma42@gmail.com>2011-01-02 18:31:35 +0100
commitada6057b8ccab133909b127850c41abb3216a842 (patch)
tree267517ab8c8ac2552ee4dbcc6d3b2c72db6bec94 /test/clip-draw-unbounded.c
parentb4aa01f72f98d71bded5f6fa3eaf3d12ad30eb2c (diff)
test: New radial-gradient tests
The old radial gradient tests were actually drawing the same gradients with different operators (OVER/SOURCE) and operations (paint/mask). It is possible to refactor them to share the gradient construction code. This makes it easy to change the gradient shape in all of them to test more interesting combinations. Instead of testing 16 generic positions we are now testing just 7 cases, which correspond to every possible combination of the relative size and position of the two circles defining the gradient. In particular we are now testing a constant radius gradient and gradients with tangent circles.
Diffstat (limited to 'test/clip-draw-unbounded.c')
0 files changed, 0 insertions, 0 deletions