freetype2-0.2.0: Haskell bindings for FreeType 2 library

Safe HaskellNone
LanguageHaskell98

FreeType.Support.Glyph

Contents

Description

Please refer to the Support API > Glyph Stroker chapter of the reference.

Internal: FreeType.Support.Glyph.Internal.

Synopsis

FT_Stroker

type FT_Stroker = Ptr FT_StrokerRec Source #

FT_Stroker_LineJoin

pattern FT_STROKER_LINEJOIN_ROUND :: (Eq a, Num a) => a Source #

pattern FT_STROKER_LINEJOIN_BEVEL :: (Eq a, Num a) => a Source #

pattern FT_STROKER_LINEJOIN_MITER :: (Eq a, Num a) => a Source #

FT_Stroker_LineCap

pattern FT_STROKER_LINECAP_BUTT :: (Eq a, Num a) => a Source #

pattern FT_STROKER_LINECAP_ROUND :: (Eq a, Num a) => a Source #

pattern FT_STROKER_LINECAP_SQUARE :: (Eq a, Num a) => a Source #

FT_StrokerBorder

pattern FT_STROKER_BORDER_LEFT :: (Eq a, Num a) => a Source #

pattern FT_STROKER_BORDER_RIGHT :: (Eq a, Num a) => a Source #

FT_Outline_GetInsideBorder

FT_Outline_GetOutsideBorder

FT_Glyph_Stroke

ft_Glyph_Stroke Source #

Arguments

:: FT_Glyph

glyph

-> FT_Stroker

stroker

-> Bool

destroy

-> IO FT_Glyph 

FT_Glyph_StrokeBorder

ft_Glyph_StrokeBorder Source #

Arguments

:: FT_Glyph

glyph

-> FT_Stroker

stroker

-> Bool

inside

-> Bool

destroy

-> IO FT_Glyph 

FT_Stroker_New

ft_Stroker_New Source #

Arguments

:: FT_Library

library

-> IO FT_Stroker

stroker

ft_Stroker_With Source #

Arguments

:: FT_Library

library

-> (FT_Stroker -> IO a) 
-> IO a 

bracket over ft_Stroker_New and ft_Stroker_Done.

The provided FT_Stroker should not be used after this function terminates.

FT_Stroker_Set

ft_Stroker_Set Source #

Arguments

:: FT_Stroker

stroker

-> FT_Fixed

radius

-> FT_Stroker_LineCap

line_cap

-> FT_Stroker_LineJoin

line_join

-> FT_Fixed

miter_limit

-> IO () 

FT_Stroker_Rewind

ft_Stroker_Rewind Source #

Arguments

:: FT_Stroker

stroker

-> IO () 

FT_Stroker_ParseOutline

ft_Stroker_ParseOutline Source #

Arguments

:: FT_Stroker

stroker

-> Ptr FT_Outline

outline

-> Bool

opened

-> IO () 

FT_Stroker_Done

FT_Stroker_BeginSubPath

ft_Stroker_BeginSubPath Source #

Arguments

:: FT_Stroker

stroker

-> FT_Vector

to

-> Bool

open

-> IO () 

FT_Stroker_EndSubPath

ft_Stroker_EndSubPath Source #

Arguments

:: FT_Stroker

stroker

-> IO () 

FT_Stroker_LineTo

ft_Stroker_LineTo Source #

Arguments

:: FT_Stroker

stroker

-> FT_Vector

to

-> IO () 

FT_Stroker_ConicTo

ft_Stroker_ConicTo Source #

Arguments

:: FT_Stroker

stroker

-> FT_Vector

control

-> FT_Vector

to

-> IO () 

FT_Stroker_CubicTo

ft_Stroker_CubicTo Source #

Arguments

:: FT_Stroker

stroker

-> FT_Vector

control1

-> FT_Vector

control2

-> FT_Vector

to

-> IO () 

FT_Stroker_GetBorderCounts

ft_Stroker_GetBorderCounts Source #

Arguments

:: FT_Stroker

stroker

-> FT_StrokerBorder

border

-> IO (FT_UInt, FT_UInt)

(num_points, num_contours)

FT_Stroker_ExportBorder

FT_Stroker_GetCounts

ft_Stroker_GetCounts Source #

Arguments

:: FT_Stroker

stroker

-> IO (FT_UInt, FT_UInt)

(num_points, num_contours)

FT_Stroker_Export

ft_Stroker_Export Source #

Arguments

:: FT_Stroker

stroker

-> Ptr FT_Outline

outline

-> IO ()