21
21
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
23
* Authors: Carl D. Worth <cworth@cworth.org>
24
* Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
24
* Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
27
27
#include "cairo-test.h"
33
33
static cairo_test_draw_function_t draw;
35
static const cairo_test_t test = {
38
38
"\nLong lines are not drawn due to the limitations of the internal 16.16 fixed-point coordinates",
46
46
double red, green, blue;
47
47
} lines[LINE_NBR] = {
48
{ 100.0, 1.0, 0.0, 0.0 },
49
{ 10000.0, 0.0, 1.0, 0.0 },
50
{ 100000.0, 0.0, 0.0, 1.0 },
51
{ 1000000.0, 1.0, 1.0, 0.0 },
52
{ 10000000.0, 0.0, 1.0, 1.0 },
53
{100000000.0, 1.0, 0.0, 1.0 }
48
{ 100.0, 1.0, 0.0, 0.0 },
49
{ 10000.0, 0.0, 1.0, 0.0 },
50
{ 100000.0, 0.0, 0.0, 1.0 },
51
{ 1000000.0, 1.0, 1.0, 0.0 },
52
{ 10000000.0, 0.0, 1.0, 1.0 },
53
{ 100000000.0, 1.0, 0.0, 1.0 }
56
56
static cairo_test_status_t