void FT_Stroker_Set(FT_Stroker Dessinateur, FT_Fixed Rayon, FT_Stroker_LineCap TerminaisonLigne, FT_Stroker_LineJoin JointureLigne, FT_Fixed Limite);
Le résultat est 0 en cas de succès.
#include <ft2build.h>
#include <freetype/ftoutln.h>
#include <freetype/ftstroke.h>
FT_Library Bibliotheque;
FT_Face Face;
FT_Glyph Glyphe;
FT_Stroker Dessinateur;
...
if (FT_Stroker_New(Bibliotheque, &Dessinateur))
{
...
}
...
FT_Stroker_Set(Dessinateur, 16, FT_STROKER_LINECAP_ROUND, FT_STROKER_LINEJOIN_ROUND, 0);
...
if (FT_Stroker_Done(Dessinateur))
{
...
}
...