From 77e4d1b22efa86277afc5fbbe71049ca3ccd8ea9 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 2 Sep 2016 12:16:29 +0200 Subject: [PATCH] Improve documentation of `FT_Outline_Decompose'. --- include/freetype/ftoutln.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/freetype/ftoutln.h b/include/freetype/ftoutln.h index 6a6451207..06a3fa835 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,