[goffice] 2009-07-18 Jean Brefort <jean brefort normalesup org>



commit 604909f364df921e1a1c437d4d24ad5206bc3793
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sat Jul 18 08:51:31 2009 +0200

    2009-07-18  Jean Brefort  <jean brefort normalesup org>
    
    	* goffice/utils/go-marker.c: add a left half bar marker.
    	* goffice/utils/go-marker.h: ditto.

 ChangeLog                 |    5 +++++
 goffice/utils/go-marker.c |    4 +++-
 goffice/utils/go-marker.h |    1 +
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a33ad32..43b67f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-18  Jean Brefort  <jean brefort normalesup org>
+
+	* goffice/utils/go-marker.c: add a left half bar marker.
+	* goffice/utils/go-marker.h: ditto.
+
 2009-07-15  Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
 
 	Remove duplicated declaration.
diff --git a/goffice/utils/go-marker.c b/goffice/utils/go-marker.c
index a59c2ef..a56e355 100644
--- a/goffice/utils/go-marker.c
+++ b/goffice/utils/go-marker.c
@@ -58,6 +58,7 @@ static char const bar_path[] =			"M-1 -0.2 L 1 -0.2 L 1 0.2 L -1 0.2 z";
 static char const half_bar_path[] = 		"M0,-0.2 L1,-0.2 1,0.2 0,0.2 z";
 static char const butterfly_path[] =		"M-1,-1 L-1,1 0,0 1,1 1,-1 0,0 z";
 static char const hourglass_path[] =		"M-1,-1 L1,-1 0,0 1,1 -1,1 0,0 z";
+static char const left_half_bar_path[] =	"M0,-0.2 L-1,-0.2 -1,0.2 0,0.2 z";
 
 typedef struct
 {
@@ -85,7 +86,8 @@ static MarkerShape const marker_shapes[GO_MARKER_MAX] = {
     MAKE_MARKER_SHAPE   ( N_("bar"), 		"bar",            bar_path),
     MAKE_MARKER_SHAPE   ( N_("half bar"),	"half-bar",       half_bar_path),
     MAKE_MARKER_SHAPE   ( N_("butterfly"),	"butterfly",      butterfly_path),
-    MAKE_MARKER_SHAPE   ( N_("hourglass"),	"hourglass",      hourglass_path)
+    MAKE_MARKER_SHAPE   ( N_("hourglass"),	"hourglass",      hourglass_path),
+    MAKE_MARKER_SHAPE   ( N_("left half bar"),	"lefthalf-bar",	  left_half_bar_path)
 };
 
 static GObjectClass *marker_parent_klass;
diff --git a/goffice/utils/go-marker.h b/goffice/utils/go-marker.h
index 2734dfb..de1f735 100644
--- a/goffice/utils/go-marker.h
+++ b/goffice/utils/go-marker.h
@@ -46,6 +46,7 @@ typedef enum {
 	GO_MARKER_HALF_BAR,
 	GO_MARKER_BUTTERFLY,
 	GO_MARKER_HOURGLASS,
+	GO_MARKER_LEFT_HALF_BAR,
 	GO_MARKER_MAX
 } GOMarkerShape;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]