summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/paint.cpp
blob: 8f7a90e8f3fbd666eb8b198fc38af642e809bea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <stdio.h>
#include <stdlib.h>
#include <cairo.h>

#include "caskbench.h"

int
ca_setup_paint(caskbench_context_t *ctx)
{
  return 1;
}

void
ca_teardown_paint()
{
}

int
ca_test_paint(caskbench_context_t *ctx)
{
  randomize_color (ctx->cr);
  cairo_paint (ctx->cr);
  return 1;
}