- pos_type x2pos(double &x) const;
- /** Break the element if possible, so that its width is
- * less then \param w. Returns true on success.
+ pos_type x2pos(int &x) const;
+ /** Break the element if possible, so that its width is less
+ * than \param w. Returns true on success. When \param force
+ * is true, the string is cut at any place, other wise it
+ * respects the row breaking rules of characters.