diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 00:54:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:51:39 +0800 |
commit | a6a004b8f52688ca6e01c0f1340d42cfaf9239e1 (patch) | |
tree | c51a0b629dfc43c70a8f524e82610837f00635e8 /libgnomecanvas/gnome-canvas-shape-private.h | |
parent | a68d0f50da7a9d5cd9f33b8a95aa23b58e7edea8 (diff) | |
download | gsoc2013-evolution-a6a004b8f52688ca6e01c0f1340d42cfaf9239e1.tar gsoc2013-evolution-a6a004b8f52688ca6e01c0f1340d42cfaf9239e1.tar.gz gsoc2013-evolution-a6a004b8f52688ca6e01c0f1340d42cfaf9239e1.tar.bz2 gsoc2013-evolution-a6a004b8f52688ca6e01c0f1340d42cfaf9239e1.tar.lz gsoc2013-evolution-a6a004b8f52688ca6e01c0f1340d42cfaf9239e1.tar.xz gsoc2013-evolution-a6a004b8f52688ca6e01c0f1340d42cfaf9239e1.tar.zst gsoc2013-evolution-a6a004b8f52688ca6e01c0f1340d42cfaf9239e1.zip |
Merge GnomeCanvasShape into GnomeCanvasRect.
GnomeCanvasRect is the only subclass of GnomeCanvasShape,
and passing Cairo paths around doesn't seem to work well.
Diffstat (limited to 'libgnomecanvas/gnome-canvas-shape-private.h')
-rw-r--r-- | libgnomecanvas/gnome-canvas-shape-private.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/libgnomecanvas/gnome-canvas-shape-private.h b/libgnomecanvas/gnome-canvas-shape-private.h deleted file mode 100644 index 4be04f6ec5..0000000000 --- a/libgnomecanvas/gnome-canvas-shape-private.h +++ /dev/null @@ -1,46 +0,0 @@ -#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 |