Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
leaky_polygon.c File Reference
#include "cairo_test.h"

Go to the source code of this file.


#define WIDTH   21
#define HEIGHT   21


static void draw (cairo_t *cr, int width, int height)
int main (void)


cairo_test_t test

Define Documentation

#define HEIGHT   21

Definition at line 57 of file leaky_polygon.c.

#define WIDTH   21

Definition at line 56 of file leaky_polygon.c.

Function Documentation

static void draw ( cairo_t *  cr,
int  width,
int  height 
) [static]

Definition at line 66 of file leaky_polygon.c.

    cairo_scale (cr, 1.0/(1<<16), 1.0/(1<<16));

    cairo_move_to (cr, 131072,39321);
    cairo_line_to (cr, 1103072,1288088);
    cairo_line_to (cr, 1179648,1294990);
    cairo_close_path (cr);

    cairo_fill (cr);

Here is the caller graph for this function:

int main ( void  )

Definition at line 79 of file leaky_polygon.c.

    return cairo_test (&test, draw);

Here is the call graph for this function:

Variable Documentation

Initial value:
    "Exercises a corner case in the trapezoid rasterization in which pixels outside the trapezoids received a non-zero alpha",

Definition at line 59 of file leaky_polygon.c.