mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-03 10:10:34 +01:00
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:
parent
38dce5d144
commit
6472864b2c
2 changed files with 2 additions and 2 deletions
|
|
@ -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... */
|
||||
|
||||
|
|
|
|||
|
|
@ -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... */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue