blob: 4be04f6ec59533f6520a135df4c277e3049580f2 (
plain) (
blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#ifndef GNOME_CANVAS_SHAPE_PRIVATE_H
#define GNOME_CANVAS_SHAPE_PRIVATE_H
/* Bpath item type for GnomeCanvas widget
*
* GnomeCanvas is basically a port of the Tk toolkit's most excellent canvas widget. Tk is
* copyrighted by the Regents of the University of California, Sun Microsystems, and other parties.
*
* Copyright (C) 1998,1999 The Free Software Foundation
*
* Authors: Federico Mena <federico@nuclecu.unam.mx>
* Raph Levien <raph@acm.org>
* Lauris Kaplinski <lauris@ariman.ee>
*/
#include <gdk/gdk.h>
#include <libgnomecanvas/gnome-canvas.h>
G_BEGIN_DECLS
struct _GnomeCanvasShapePriv {
cairo_path_t *path; /* Our bezier path representation */
gdouble scale; /* CTM scaling (for pen) */
guint fill_set : 1; /* Is fill color set? */
guint outline_set : 1; /* Is outline color set? */
gdouble line_width; /* Width of outline, in user coords */
guint32 fill_rgba; /* Fill color, RGBA */
guint32 outline_rgba; /* Outline color, RGBA */
cairo_line_cap_t cap; /* Cap style for line */
cairo_line_join_t join; /* Join style for line */
cairo_fill_rule_t wind; /* Winding rule */
gdouble miterlimit; /* Miter limit */
guint n_dash; /* Number of elements in dashing pattern */
double *dash; /* Dashing pattern */
double dash_offset; /* Dashing offset */
};
G_END_DECLS
#endif
|