Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
ftstroke.h File Reference
#include <freetype/ftoutln.h>
#include <freetype/ftglyph.h>

Go to the source code of this file.

Typedefs

typedef typedefFT_BEGIN_HEADER struct FT_StrokerRec_ * FT_Stroker
 
typedef enum FT_Stroker_LineJoin_ FT_Stroker_LineJoin
 
typedef enum FT_Stroker_LineCap_ FT_Stroker_LineCap
 
typedef enum FT_StrokerBorder_ FT_StrokerBorder
 

Enumerations

enum  FT_Stroker_LineJoin_ {
  FT_STROKER_LINEJOIN_ROUND = 0 , FT_STROKER_LINEJOIN_BEVEL = 1 , FT_STROKER_LINEJOIN_MITER_VARIABLE = 2 , FT_STROKER_LINEJOIN_MITER = FT_STROKER_LINEJOIN_MITER_VARIABLE ,
  FT_STROKER_LINEJOIN_MITER_FIXED = 3
}
 
enum  FT_Stroker_LineCap_ { FT_STROKER_LINECAP_BUTT = 0 , FT_STROKER_LINECAP_ROUND , FT_STROKER_LINECAP_SQUARE }
 
enum  FT_StrokerBorder_ { FT_STROKER_BORDER_LEFT = 0 , FT_STROKER_BORDER_RIGHT }
 

Functions

 FT_Outline_GetInsideBorder (FT_Outline *outline)
 
 FT_Outline_GetOutsideBorder (FT_Outline *outline)
 
 FT_Stroker_New (FT_Library library, FT_Stroker *astroker)
 
 FT_Stroker_Set (FT_Stroker stroker, FT_Fixed radius, FT_Stroker_LineCap line_cap, FT_Stroker_LineJoin line_join, FT_Fixed miter_limit)
 
 FT_Stroker_Rewind (FT_Stroker stroker)
 
 FT_Stroker_ParseOutline (FT_Stroker stroker, FT_Outline *outline, FT_Bool opened)
 
 FT_Stroker_BeginSubPath (FT_Stroker stroker, FT_Vector *to, FT_Bool open)
 
 FT_Stroker_EndSubPath (FT_Stroker stroker)
 
 FT_Stroker_LineTo (FT_Stroker stroker, FT_Vector *to)
 
 FT_Stroker_ConicTo (FT_Stroker stroker, FT_Vector *control, FT_Vector *to)
 
 FT_Stroker_CubicTo (FT_Stroker stroker, FT_Vector *control1, FT_Vector *control2, FT_Vector *to)
 
 FT_Stroker_GetBorderCounts (FT_Stroker stroker, FT_StrokerBorder border, FT_UInt *anum_points, FT_UInt *anum_contours)
 
 FT_Stroker_ExportBorder (FT_Stroker stroker, FT_StrokerBorder border, FT_Outline *outline)
 
 FT_Stroker_GetCounts (FT_Stroker stroker, FT_UInt *anum_points, FT_UInt *anum_contours)
 
 FT_Stroker_Export (FT_Stroker stroker, FT_Outline *outline)
 
 FT_Stroker_Done (FT_Stroker stroker)
 
 FT_Glyph_Stroke (FT_Glyph *pglyph, FT_Stroker stroker, FT_Bool destroy)
 
 FT_Glyph_StrokeBorder (FT_Glyph *pglyph, FT_Stroker stroker, FT_Bool inside, FT_Bool destroy)
 

Typedef Documentation

◆ FT_Stroker

typedef typedefFT_BEGIN_HEADER struct FT_StrokerRec_* FT_Stroker

Definition at line 91 of file ftstroke.h.

◆ FT_Stroker_LineCap

◆ FT_Stroker_LineJoin

◆ FT_StrokerBorder

Enumeration Type Documentation

◆ FT_Stroker_LineCap_

Enumerator
FT_STROKER_LINECAP_BUTT 
FT_STROKER_LINECAP_ROUND 
FT_STROKER_LINECAP_SQUARE 

Definition at line 165 of file ftstroke.h.

166 {
170
@ FT_STROKER_LINECAP_ROUND
Definition ftstroke.h:168
@ FT_STROKER_LINECAP_BUTT
Definition ftstroke.h:167
@ FT_STROKER_LINECAP_SQUARE
Definition ftstroke.h:169
enum FT_Stroker_LineCap_ FT_Stroker_LineCap

◆ FT_Stroker_LineJoin_

Enumerator
FT_STROKER_LINEJOIN_ROUND 
FT_STROKER_LINEJOIN_BEVEL 
FT_STROKER_LINEJOIN_MITER_VARIABLE 
FT_STROKER_LINEJOIN_MITER 
FT_STROKER_LINEJOIN_MITER_FIXED 

Definition at line 134 of file ftstroke.h.

135 {
141
@ FT_STROKER_LINEJOIN_MITER
Definition ftstroke.h:139
@ FT_STROKER_LINEJOIN_MITER_FIXED
Definition ftstroke.h:140
@ FT_STROKER_LINEJOIN_BEVEL
Definition ftstroke.h:137
@ FT_STROKER_LINEJOIN_MITER_VARIABLE
Definition ftstroke.h:138
@ FT_STROKER_LINEJOIN_ROUND
Definition ftstroke.h:136
enum FT_Stroker_LineJoin_ FT_Stroker_LineJoin

◆ FT_StrokerBorder_

Enumerator
FT_STROKER_BORDER_LEFT 
FT_STROKER_BORDER_RIGHT 

Definition at line 199 of file ftstroke.h.

200 {
203
@ FT_STROKER_BORDER_RIGHT
Definition ftstroke.h:202
@ FT_STROKER_BORDER_LEFT
Definition ftstroke.h:201
enum FT_StrokerBorder_ FT_StrokerBorder

Function Documentation

◆ FT_Glyph_Stroke()

FT_Glyph_Stroke ( FT_Glyph * pglyph,
FT_Stroker stroker,
FT_Bool destroy )

◆ FT_Glyph_StrokeBorder()

FT_Glyph_StrokeBorder ( FT_Glyph * pglyph,
FT_Stroker stroker,
FT_Bool inside,
FT_Bool destroy )

◆ FT_Outline_GetInsideBorder()

FT_Outline_GetInsideBorder ( FT_Outline * outline)

◆ FT_Outline_GetOutsideBorder()

FT_Outline_GetOutsideBorder ( FT_Outline * outline)

◆ FT_Stroker_BeginSubPath()

FT_Stroker_BeginSubPath ( FT_Stroker stroker,
FT_Vector * to,
FT_Bool open )

◆ FT_Stroker_ConicTo()

FT_Stroker_ConicTo ( FT_Stroker stroker,
FT_Vector * control,
FT_Vector * to )

◆ FT_Stroker_CubicTo()

FT_Stroker_CubicTo ( FT_Stroker stroker,
FT_Vector * control1,
FT_Vector * control2,
FT_Vector * to )

◆ FT_Stroker_Done()

FT_Stroker_Done ( FT_Stroker stroker)

◆ FT_Stroker_EndSubPath()

FT_Stroker_EndSubPath ( FT_Stroker stroker)

◆ FT_Stroker_Export()

FT_Stroker_Export ( FT_Stroker stroker,
FT_Outline * outline )

◆ FT_Stroker_ExportBorder()

FT_Stroker_ExportBorder ( FT_Stroker stroker,
FT_StrokerBorder border,
FT_Outline * outline )

◆ FT_Stroker_GetBorderCounts()

FT_Stroker_GetBorderCounts ( FT_Stroker stroker,
FT_StrokerBorder border,
FT_UInt * anum_points,
FT_UInt * anum_contours )

◆ FT_Stroker_GetCounts()

FT_Stroker_GetCounts ( FT_Stroker stroker,
FT_UInt * anum_points,
FT_UInt * anum_contours )

◆ FT_Stroker_LineTo()

FT_Stroker_LineTo ( FT_Stroker stroker,
FT_Vector * to )

◆ FT_Stroker_New()

FT_Stroker_New ( FT_Library library,
FT_Stroker * astroker )

◆ FT_Stroker_ParseOutline()

FT_Stroker_ParseOutline ( FT_Stroker stroker,
FT_Outline * outline,
FT_Bool opened )

◆ FT_Stroker_Rewind()

FT_Stroker_Rewind ( FT_Stroker stroker)

◆ FT_Stroker_Set()

FT_Stroker_Set ( FT_Stroker stroker,
FT_Fixed radius,
FT_Stroker_LineCap line_cap,
FT_Stroker_LineJoin line_join,
FT_Fixed miter_limit )