[gtk/glyphy2: 2/47] contour: Add some docs




commit 2103c960063e1a1c8895e859bfadf95b945af519
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Apr 2 17:01:14 2022 -0400

    contour: Add some docs

 gsk/gskcontourprivate.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gsk/gskcontourprivate.h b/gsk/gskcontourprivate.h
index 3bf233f3fe..5219eb448a 100644
--- a/gsk/gskcontourprivate.h
+++ b/gsk/gskcontourprivate.h
@@ -27,7 +27,11 @@
 
 G_BEGIN_DECLS
 
-typedef enum 
+/* A path is flat if it contains no cubic or conic segments.
+ * A path is closed if all its contours end with a GSK_PATH_CLOSE
+ * operation.
+ */
+typedef enum
 {
   GSK_PATH_FLAT,
   GSK_PATH_CLOSED


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