There is no default font in SFML 2. ... #include <SFML/Graphics.hpp>. #include <cmath> ... window.draw(rectangle);. window.draw(text);.
確定! 回上一頁