X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ffreetype.hh;h=e4009ba072eee154f0050dcd1b91e371061e0e3b;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=16dcac17f46679753d436c80e0fd1a3dd5883d33;hpb=2c22efe5a46a37065b10c3f51c5d7db00d07d318;p=lilypond.git diff --git a/lily/include/freetype.hh b/lily/include/freetype.hh index 16dcac17f4..e4009ba072 100644 --- a/lily/include/freetype.hh +++ b/lily/include/freetype.hh @@ -1,23 +1,40 @@ /* - freetype.hh -- declare Freetype global settings. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2004--2015 Han-Wen Nienhuys - (c) 2004--2005 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef FREETYPE_HH #define FREETYPE_HH +// This include file loads the header file macros for FreeType. #include #include FT_FREETYPE_H -#include "string.hh" +#include "std-string.hh" +#include "box.hh" void init_freetype (); extern FT_Library freetype2_library; -FT_Face open_ft_face (String str); +string freetype_error_string (FT_Error code); -#endif /* FREETYPE_HH */ +SCM box_to_scheme_lines (Box b); +Box ly_FT_get_unscaled_indexed_char_dimensions (FT_Face const &face, size_t signed_idx); +Box ly_FT_get_glyph_outline_bbox (FT_Face const &face, size_t signed_idx); +SCM ly_FT_get_glyph_outline (FT_Face const &face, size_t signed_idx); +#endif /* FREETYPE_HH */