Back to index

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

Go to the source code of this file.


#define LINES   5
#define LINE_LENGTH   10
#define IMAGE_WIDTH   2 * LINE_LENGTH + 6
#define IMAGE_HEIGHT   ((LINES+4)*LINES)/2 + 2


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


cairo_test_t test

Define Documentation

#define IMAGE_HEIGHT   ((LINES+4)*LINES)/2 + 2

Definition at line 31 of file line_width.c.

Definition at line 30 of file line_width.c.

#define LINE_LENGTH   10

Definition at line 29 of file line_width.c.

#define LINES   5

Definition at line 28 of file line_width.c.

Function Documentation

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

Definition at line 40 of file line_width.c.

Here is the caller graph for this function:

int main ( void  )

Definition at line 60 of file line_width.c.

    return cairo_test (&test, draw);

Here is the call graph for this function:

Variable Documentation

Initial value:
    "Tests cairo_set_line_width",

Definition at line 33 of file line_width.c.