include/Gosu/Font.hpp in gosu-1.0.0.pre2 vs include/Gosu/Font.hpp in gosu-1.0.0

- old
+ new

@@ -38,10 +38,10 @@ //! Returns the flags used to create the font characters. unsigned flags() const; //! Returns the width, in pixels, the given text would occupy if drawn. double text_width(const std::string& text) const; - //! Returns the width, in pixels, the given text would occupy if drawn. + //! Returns the width, in pixels, the given markup would occupy if drawn. double markup_width(const std::string& markup) const; //! Draws text so the top left corner of the text is at (x; y). void draw_text(const std::string& text, double x, double y, ZPos z, double scale_x = 1, double scale_y = 1, Color c = Color::WHITE,