13 Commits

Author SHA1 Message Date
Dmitry Marakasov
adaecc22cf Fix return type to match upstream API 2015-09-17 15:32:36 +03:00
Vladimir Gamalian
5bbc990307 Removed extra pixels from Font::GetGlyphRect(). 2015-07-26 19:40:19 +07:00
Vladimir Gamalian
32530ae6da Missed Font::IsGlyphProvided definition has been added. 2015-07-26 13:35:44 +07:00
Dmitry Marakasov
2e2cbbb1e4 Add functions for u16string handling 2015-05-14 17:50:02 +03:00
Dmitry Marakasov
689f57b864 Exception rework
Now it explicitely stores name of SDL function which caused an error
and generates complete user-readable error message which contains both
function name and SDL error message. Users can now handle SDL2pp
exceptions along with all others in `catch (std::exception&)' and
get complete error info.

While here, fixed incorrect function names in some throw's
2015-01-19 01:41:37 +03:00
Dmitry Marakasov
739629354b Make setters return reference to self: Font 2015-01-19 00:44:15 +03:00
Dmitry Marakasov
feabe1497e Implement Font constructor from TTF_Font* 2015-01-11 06:36:11 +03:00
Dmitry Marakasov
c9d26eaa18 We have bool type, use it for boolean value 2014-12-29 06:53:14 +03:00
Dmitry Marakasov
c5554f5853 Add two convenience functons for gllyph metrics retrieval 2014-12-29 06:51:22 +03:00
Dmitry Marakasov
5fd7eea480 Implement whole SDL_ttf 2014-12-29 06:46:21 +03:00
Dmitry Marakasov
9a3f3339ef Implement all font rendering functions 2014-12-29 05:05:23 +03:00
Dmitry Marakasov
f1398b54df Implement basic ttf rendering, use in example 2014-12-28 06:15:46 +03:00
Dmitry Marakasov
31d948b944 Add stub for Font class 2014-12-28 03:32:38 +03:00