Commit 77e4d1b22efa86277afc5fbbe71049ca3ccd8ea9

Werner Lemberg 2016-09-02T12:16:29

Improve documentation of `FT_Outline_Decompose'.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/freetype/ftoutln.h b/include/freetype/ftoutln.h
index 6a64512..06a3fa8 100644
--- a/include/freetype/ftoutln.h
+++ b/include/freetype/ftoutln.h
@@ -115,6 +115,10 @@ FT_BEGIN_HEADER
   /*    outline for stroking purposes (otherwise it would result in a      */
   /*    visible dot when round caps are used).                             */
   /*                                                                       */
+  /*    Similarly, the function returns success for an empty outline also  */
+  /*    (doing nothing, this is, not calling any emitter); if necessary,   */
+  /*    you should filter this out, too.                                   */
+  /*                                                                       */
   FT_EXPORT( FT_Error )
   FT_Outline_Decompose( FT_Outline*              outline,
                         const FT_Outline_Funcs*  func_interface,