forked from minhngoc25a/freetype2
Makes some helper functions `static'.
This commit is contained in:
parent
705320b72d
commit
168a8f8fe0
|
@ -134,7 +134,7 @@
|
||||||
FT_ULong length;
|
FT_ULong length;
|
||||||
} Svg_doc;
|
} Svg_doc;
|
||||||
|
|
||||||
Svg_doc
|
static Svg_doc
|
||||||
extract_svg_doc( FT_Byte* stream )
|
extract_svg_doc( FT_Byte* stream )
|
||||||
{
|
{
|
||||||
Svg_doc doc;
|
Svg_doc doc;
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
return doc;
|
return doc;
|
||||||
}
|
}
|
||||||
|
|
||||||
FT_Int
|
static FT_Int
|
||||||
compare_svg_doc( Svg_doc doc,
|
compare_svg_doc( Svg_doc doc,
|
||||||
FT_UInt glyph_index )
|
FT_UInt glyph_index )
|
||||||
{
|
{
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
FT_Error
|
static FT_Error
|
||||||
find_doc( FT_Byte* stream,
|
find_doc( FT_Byte* stream,
|
||||||
FT_UShort num_entries,
|
FT_UShort num_entries,
|
||||||
FT_UInt glyph_index,
|
FT_UInt glyph_index,
|
||||||
|
@ -249,7 +249,7 @@
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
FT_LOCAL_DEF(FT_Error)
|
FT_LOCAL_DEF( FT_Error )
|
||||||
tt_face_load_svg_doc( FT_GlyphSlot glyph,
|
tt_face_load_svg_doc( FT_GlyphSlot glyph,
|
||||||
FT_UInt glyph_index )
|
FT_UInt glyph_index )
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,7 +29,7 @@ FT_BEGIN_HEADER
|
||||||
FT_LOCAL( void )
|
FT_LOCAL( void )
|
||||||
tt_face_free_svg( TT_Face face );
|
tt_face_free_svg( TT_Face face );
|
||||||
|
|
||||||
FT_LOCAL(FT_Error)
|
FT_LOCAL( FT_Error )
|
||||||
tt_face_load_svg_doc( FT_GlyphSlot glyph,
|
tt_face_load_svg_doc( FT_GlyphSlot glyph,
|
||||||
FT_UInt glyph_index );
|
FT_UInt glyph_index );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue