[librsvg/rustification] rsvg-path: Update some obsolete comments



commit 2123dbf1b48b150616148253d7a5c771f1754874
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Oct 28 08:42:58 2016 -0500

    rsvg-path: Update some obsolete comments

 rsvg-path.c |   18 ++++++++----------
 rsvg-path.h |    4 +++-
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/rsvg-path.c b/rsvg-path.c
index ee32ee6..eda05b1 100644
--- a/rsvg-path.c
+++ b/rsvg-path.c
@@ -5,6 +5,7 @@
  
    Copyright (C) 2000 Eazel, Inc.
    Copyright © 2011 Christian Persch
+   Copyright (C) 2016 Federico Mena Quintero <federico gnome org>
   
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public License as
@@ -21,12 +22,11 @@
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
   
-   Author: Raph Levien <raph artofcode com>
-           F. Wang <fred wang free fr> - fix drawing of arc
+   Authors: Raph Levien <raph artofcode com>
+            F. Wang <fred wang free fr> - fix drawing of arc
+            Federico Mena Quintero <federico gnome org>
 */
 
-/* This is adapted from svg-path in Gill. */
-
 #include "config.h"
 #include "rsvg-path.h"
 
@@ -37,13 +37,11 @@
 
 #include "rsvg-private.h"
 
-/* This module parses an SVG path element into an cairo_path_t.
-
-   At present, there is no support for <marker> or any other contextual
-   information from the SVG file. The API will need to change rather
-   significantly to support these.
+/* This module provides a general-purpose RsvgPathBuilder to build Cairo paths
+   gradually.  It also provides a high-level utility function to parses an SVG path element
+   into an cairo_path_t.
 
-   Reference: SVG working draft 3 March 2000, section 8.
+   Reference: https://www.w3.org/TR/SVG/paths.html#PathDataBNF
 */
 
 typedef struct _RSVGParsePathCtx RSVGParsePathCtx;
diff --git a/rsvg-path.h b/rsvg-path.h
index 4d151f0..a0bf3b3 100644
--- a/rsvg-path.h
+++ b/rsvg-path.h
@@ -5,6 +5,7 @@
 
    Copyright (C) 2000 Eazel, Inc.
    Copyright (C) 2002 Dom Lachowicz <cinamod hotmail com>
+   Copyright (C) 2016 Federico Mena Quintero <federico gnome org>
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public License as
@@ -21,7 +22,8 @@
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
 
-   Author: Raph Levien <raph artofcode com>
+   Authors: Raph Levien <raph artofcode com>
+            Federico Mena Quintero <federico gnome org>
 */
 
 #ifndef RSVG_PATH_H


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