+ /** Return character position that is the closest to
+ * pixel position \param x. The value \param x is
+ * adjusted to the actual pixel position.
+ */
+ pos_type x2pos(double &x) const;
+ /** Break the element if possible, so that its width is
+ * less then \param w. Returns true on success.
+ */
+ bool breakAt(double w);
+
+ // Returns the position on left side of the element.
+ pos_type left_pos() const;
+ // Returns the position on right side of the element.
+ pos_type right_pos() const;