test: Huge means more than MAX_INT

Cairo makes it possible to create gradients whose extreme objects are
defined with double precision coordinates, but it internally
represents them with 24.8 fixed point precision.

This shows that coordinates that don't fit the valid range are
mishandled and don't even trigger an error status.
This commit is contained in:
Andrea Canciani 2010-12-16 23:07:30 +01:00
parent 38dce5d144
commit 6472864b2c
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
#include "cairo-test.h"
/* set this to 0.1 to make this test work */
#define FACTOR 10
#define FACTOR 1.e6
/* XXX poppler-cairo doesn't handle gradients very well... */

View file

@ -29,7 +29,7 @@
#include "cairo-test.h"
/* set this to 0.1 to make this test work */
#define FACTOR 10
#define FACTOR 1.e6
/* XXX poppler-cairo doesn't handle gradients very well... */