* Licence details can be found in the file COPYING.
*
* \author Alejandro Aguilar Sierra
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#ifndef MATH_SUPPORT_H
#define MATH_SUPPORT_H
-#include "mathparser_flags.h"
+#include "MathParser_flags.h"
#include "support/strfwd.h"
-#include <vector>
namespace lyx {
+class MetricsInfo;
class PainterInfo;
class FontInfo;
class Dimension;
int mathed_string_width(FontInfo const &, docstring const & s);
+void metricsStrRedBlack(MetricsInfo & mi, Dimension & dim, docstring const & s);
+
void drawStrRed(PainterInfo & pi, int x, int y, docstring const & s);
void drawStrBlack(PainterInfo & pi, int x, int y, docstring const & s);
bool isFontName(docstring const & name);
+bool isMathFont(docstring const & name);
+
+bool isTextFont(docstring const & name);
+
+bool isAlphaSymbol(MathAtom const & at);
+
// converts single cell to string
docstring asString(MathData const & ar);
// converts single inset to string