Corrected documentation
This commit is contained in:
parent
5fe5e5d6d7
commit
4cde8bb69c
@ -91,7 +91,7 @@ public:
|
|||||||
///
|
///
|
||||||
/// The supported font formats are: TrueType, Type 1, CFF,
|
/// The supported font formats are: TrueType, Type 1, CFF,
|
||||||
/// OpenType, SFNT, X11 PCF, Windows FNT, BDF, PFR and Type 42.
|
/// OpenType, SFNT, X11 PCF, Windows FNT, BDF, PFR and Type 42.
|
||||||
/// Note that this function know nothing about the standard
|
/// Note that this function knows nothing about the standard
|
||||||
/// fonts installed on the user's system, thus you can't
|
/// fonts installed on the user's system, thus you can't
|
||||||
/// load them directly.
|
/// load them directly.
|
||||||
///
|
///
|
||||||
|
@ -445,7 +445,7 @@ private:
|
|||||||
/// sf::Text text("hello", font);
|
/// sf::Text text("hello", font);
|
||||||
/// text.setCharacterSize(30);
|
/// text.setCharacterSize(30);
|
||||||
/// text.setStyle(sf::Text::Bold);
|
/// text.setStyle(sf::Text::Bold);
|
||||||
/// text.setColor(sf::Color::Red);
|
/// text.setFillColor(sf::Color::Red);
|
||||||
///
|
///
|
||||||
/// // Draw it
|
/// // Draw it
|
||||||
/// window.draw(text);
|
/// window.draw(text);
|
||||||
|
Loading…
Reference in New Issue
Block a user