Mercurial > molko
comparison libcore/core/font.h @ 169:eb0a7ab71023
misc: extreme cleanup, closes #2506
While here, remove unneeded stuff.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 20 Oct 2020 17:39:13 +0200 |
parents | e05a792f6910 |
children | 6992085d47fd |
comparison
equal
deleted
inserted
replaced
168:aab824406d3d | 169:eb0a7ab71023 |
---|---|
135 * \pre text != NULL | 135 * \pre text != NULL |
136 * \param font the font object | 136 * \param font the font object |
137 * \param text the UTF-8 text | 137 * \param text the UTF-8 text |
138 * \param w pointer to width (may be NULL) | 138 * \param w pointer to width (may be NULL) |
139 * \param h pointer to height (may be NULL) | 139 * \param h pointer to height (may be NULL) |
140 * \return false in case of error and pointers to w and h are left unmodified | 140 * \return False in case of error and pointers to w and h are left unmodified. |
141 */ | 141 */ |
142 bool | 142 bool |
143 font_query(const struct font *font, const char *text, unsigned int *w, unsigned int *h); | 143 font_query(const struct font *font, const char *text, unsigned int *w, unsigned int *h); |
144 | 144 |
145 /** | 145 /** |