+ /** returns the height of a given text. (Note that I won't add a normal
+ * get_width function here, as we might switch to variable width fonts in the
+ * future.)
+ * Supports breaklines.
+ * In case, you are positive that your text doesn't use break lines, you can
+ * just use get_height().
+ */
+ float get_text_height(const std::string& text) const;
+ /// returns the height of the font.
+ float get_height() const;
+
+ /** Draws the given text to the screen. Also needs the position.
+ * Type of alignment, drawing effect and alpha are optional. */
+ void draw(const std::string& text, const Vector& pos,
+ FontAlignment allignment = LEFT_ALLIGN,
+ uint32_t drawing_effect = NONE_EFFECT, uint8_t alpha = 255) const;
+