X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ffreetype.hh;h=28d2cdac55c60d1234f996ff0cdc3e4618bede9a;hb=0b544cfb7332615ef809b71b57ab656741311ae1;hp=c2edfef8e4a5694da6bdf3b49354b6364efae019;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/lily/include/freetype.hh b/lily/include/freetype.hh index c2edfef8e4..28d2cdac55 100644 --- a/lily/include/freetype.hh +++ b/lily/include/freetype.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2004--2009 Han-Wen Nienhuys + Copyright (C) 2004--2014 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 @@ -20,14 +20,21 @@ #ifndef FREETYPE_HH #define FREETYPE_HH +// This include file loads the header file macros for FreeType. #include #include FT_FREETYPE_H #include "std-string.hh" +#include "box.hh" void init_freetype (); extern FT_Library freetype2_library; -string freetype_error_string (int code); +string freetype_error_string (FT_Error code); + +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 */