diff options
Diffstat (limited to 'include/freetype/ftstroke.h')
-rw-r--r-- | include/freetype/ftstroke.h | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/include/freetype/ftstroke.h b/include/freetype/ftstroke.h index a498e4a..f0de716 100644 --- a/include/freetype/ftstroke.h +++ b/include/freetype/ftstroke.h @@ -198,8 +198,8 @@ FT_BEGIN_HEADER * The border index. @FT_STROKER_BORDER_RIGHT for empty or invalid * outlines. */ - FT_EXPORT( FT_StrokerBorder ) - FT_Outline_GetInsideBorder( FT_Outline* outline ); + FT_EXPORT(FT_StrokerBorder) + FT_Outline_GetInsideBorder(FT_Outline* outline); /************************************************************** @@ -219,8 +219,8 @@ FT_BEGIN_HEADER * The border index. @FT_STROKER_BORDER_LEFT for empty or invalid * outlines. */ - FT_EXPORT( FT_StrokerBorder ) - FT_Outline_GetOutsideBorder( FT_Outline* outline ); + FT_EXPORT(FT_StrokerBorder) + FT_Outline_GetOutsideBorder(FT_Outline* outline); /************************************************************** @@ -242,9 +242,9 @@ FT_BEGIN_HEADER * @return: * FreeType error code. 0~means success. */ - FT_EXPORT( FT_Error ) - FT_Stroker_New( FT_Library library, - FT_Stroker *astroker ); + FT_EXPORT(FT_Error) + FT_Stroker_New(FT_Library library, + FT_Stroker *astroker); /************************************************************** @@ -277,12 +277,12 @@ FT_BEGIN_HEADER * The radius is expressed in the same units as the outline * coordinates. */ - FT_EXPORT( void ) - FT_Stroker_Set( FT_Stroker stroker, + FT_EXPORT(void) + FT_Stroker_Set(FT_Stroker stroker, FT_Fixed radius, FT_Stroker_LineCap line_cap, FT_Stroker_LineJoin line_join, - FT_Fixed miter_limit ); + FT_Fixed miter_limit); /************************************************************** @@ -300,8 +300,8 @@ FT_BEGIN_HEADER * stroker :: * The target stroker handle. */ - FT_EXPORT( void ) - FT_Stroker_Rewind( FT_Stroker stroker ); + FT_EXPORT(void) + FT_Stroker_Rewind(FT_Stroker stroker); /************************************************************** @@ -337,10 +337,10 @@ FT_BEGIN_HEADER * * This function calls @FT_Stroker_Rewind automatically. */ - FT_EXPORT( FT_Error ) - FT_Stroker_ParseOutline( FT_Stroker stroker, + FT_EXPORT(FT_Error) + FT_Stroker_ParseOutline(FT_Stroker stroker, FT_Outline* outline, - FT_Bool opened ); + FT_Bool opened); /************************************************************** @@ -368,10 +368,10 @@ FT_BEGIN_HEADER * This function is useful when you need to stroke a path that is * not stored as an @FT_Outline object. */ - FT_EXPORT( FT_Error ) - FT_Stroker_BeginSubPath( FT_Stroker stroker, + FT_EXPORT(FT_Error) + FT_Stroker_BeginSubPath(FT_Stroker stroker, FT_Vector* to, - FT_Bool open ); + FT_Bool open); /************************************************************** @@ -394,8 +394,8 @@ FT_BEGIN_HEADER * If the subpath was not `opened', this function `draws' a * single line segment to the start position when needed. */ - FT_EXPORT( FT_Error ) - FT_Stroker_EndSubPath( FT_Stroker stroker ); + FT_EXPORT(FT_Error) + FT_Stroker_EndSubPath(FT_Stroker stroker); /************************************************************** @@ -421,9 +421,9 @@ FT_BEGIN_HEADER * You should call this function between @FT_Stroker_BeginSubPath and * @FT_Stroker_EndSubPath. */ - FT_EXPORT( FT_Error ) - FT_Stroker_LineTo( FT_Stroker stroker, - FT_Vector* to ); + FT_EXPORT(FT_Error) + FT_Stroker_LineTo(FT_Stroker stroker, + FT_Vector* to); /************************************************************** @@ -452,10 +452,10 @@ FT_BEGIN_HEADER * You should call this function between @FT_Stroker_BeginSubPath and * @FT_Stroker_EndSubPath. */ - FT_EXPORT( FT_Error ) - FT_Stroker_ConicTo( FT_Stroker stroker, + FT_EXPORT(FT_Error) + FT_Stroker_ConicTo(FT_Stroker stroker, FT_Vector* control, - FT_Vector* to ); + FT_Vector* to); /************************************************************** @@ -487,11 +487,11 @@ FT_BEGIN_HEADER * You should call this function between @FT_Stroker_BeginSubPath and * @FT_Stroker_EndSubPath. */ - FT_EXPORT( FT_Error ) - FT_Stroker_CubicTo( FT_Stroker stroker, + FT_EXPORT(FT_Error) + FT_Stroker_CubicTo(FT_Stroker stroker, FT_Vector* control1, FT_Vector* control2, - FT_Vector* to ); + FT_Vector* to); /************************************************************** @@ -533,11 +533,11 @@ FT_BEGIN_HEADER * Use the function @FT_Stroker_GetCounts instead if you want to * retrieve the counts associated to both borders. */ - FT_EXPORT( FT_Error ) - FT_Stroker_GetBorderCounts( FT_Stroker stroker, + FT_EXPORT(FT_Error) + FT_Stroker_GetBorderCounts(FT_Stroker stroker, FT_StrokerBorder border, FT_UInt *anum_points, - FT_UInt *anum_contours ); + FT_UInt *anum_contours); /************************************************************** @@ -579,10 +579,10 @@ FT_BEGIN_HEADER * Use the function @FT_Stroker_Export instead if you want to * retrieve all borders at once. */ - FT_EXPORT( void ) - FT_Stroker_ExportBorder( FT_Stroker stroker, + FT_EXPORT(void) + FT_Stroker_ExportBorder(FT_Stroker stroker, FT_StrokerBorder border, - FT_Outline* outline ); + FT_Outline* outline); /************************************************************** @@ -610,10 +610,10 @@ FT_BEGIN_HEADER * @return: * FreeType error code. 0~means success. */ - FT_EXPORT( FT_Error ) - FT_Stroker_GetCounts( FT_Stroker stroker, + FT_EXPORT(FT_Error) + FT_Stroker_GetCounts(FT_Stroker stroker, FT_UInt *anum_points, - FT_UInt *anum_contours ); + FT_UInt *anum_contours); /************************************************************** @@ -636,9 +636,9 @@ FT_BEGIN_HEADER * outline :: * The target outline handle. */ - FT_EXPORT( void ) - FT_Stroker_Export( FT_Stroker stroker, - FT_Outline* outline ); + FT_EXPORT(void) + FT_Stroker_Export(FT_Stroker stroker, + FT_Outline* outline); /************************************************************** @@ -653,8 +653,8 @@ FT_BEGIN_HEADER * stroker :: * A stroker handle. Can be NULL. */ - FT_EXPORT( void ) - FT_Stroker_Done( FT_Stroker stroker ); + FT_EXPORT(void) + FT_Stroker_Done(FT_Stroker stroker); /************************************************************** @@ -688,10 +688,10 @@ FT_BEGIN_HEADER * may need to manually adjust horizontal and vertical advance amounts * to account for this added size. */ - FT_EXPORT( FT_Error ) - FT_Glyph_Stroke( FT_Glyph *pglyph, + FT_EXPORT(FT_Error) + FT_Glyph_Stroke(FT_Glyph *pglyph, FT_Stroker stroker, - FT_Bool destroy ); + FT_Bool destroy); /************************************************************** @@ -730,11 +730,11 @@ FT_BEGIN_HEADER * may need to manually adjust horizontal and vertical advance amounts * to account for this added size. */ - FT_EXPORT( FT_Error ) - FT_Glyph_StrokeBorder( FT_Glyph *pglyph, + FT_EXPORT(FT_Error) + FT_Glyph_StrokeBorder(FT_Glyph *pglyph, FT_Stroker stroker, FT_Bool inside, - FT_Bool destroy ); + FT_Bool destroy); /* */ |