summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/cairo/src/cairo-private.h
blob: 33b049678e11bd6894f8a811f058714910a45773 (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
25
26
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef CAIRO_PRIVATE_H
#define CAIRO_PRIVATE_H

#include "cairo-reference-count-private.h"
#include "cairo-gstate-private.h"
#include "cairo-path-fixed-private.h"

struct _cairo {
    cairo_reference_count_t ref_count;

    cairo_status_t status;

    cairo_user_data_array_t user_data;

    cairo_gstate_t *gstate;
    cairo_gstate_t  gstate_tail[2];
    cairo_gstate_t *gstate_freelist;

    cairo_path_fixed_t path[1];
};

#endif /* CAIRO_PRIVATE_H */