class MathMacro;
class LaTeXFeatures;
class ReplaceData;
-class MathMetricsInfo;
-class MathPainterInfo;
+class MetricsInfo;
+class PainterInfo;
class TextMetricsInfo;
class TextPainter;
/// checked read access
MathAtom const & operator[](pos_type) const;
/// rebuild cached metrics information
- Dimension const & metrics(MathMetricsInfo & mi) const;
+ Dimension const & metrics(MetricsInfo & mi) const;
/// redraw cell using cache metrics information
- void draw(MathPainterInfo & pi, int x, int y) const;
+ void draw(PainterInfo & pi, int x, int y) const;
/// rebuild cached metrics information
Dimension const & metricsT(TextMetricsInfo const & mi) const;
/// redraw cell using cache metrics information
/// returns x coordinate of given position in the array
int pos2x(size_type pos) const;
/// returns position of given x coordinate
- int pos2x(size_type pos1, size_type pos2, int glue) const;
+ int pos2x(size_type pos, int glue) const;
/// returns position of given x coordinate
size_type x2pos(int pos) const;
/// returns position of given x coordinate fstarting from a certain pos
- size_type x2pos(size_type startpos, int targetx, int glue) const;
+ size_type x2pos(int targetx, int glue) const;
/// returns distance of this cell to the point given by x and y
// assumes valid position and size cache
int dist(int x, int y) const;