]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathSupport.h
Simplify Changers interface
[lyx.git] / src / mathed / MathSupport.h
index aa5ef2adc2a56f7de8e43364a47c8394551004f9..003631b8ae3bf0f2385b64c1ad5e11e05f7f059b 100644 (file)
@@ -25,10 +25,17 @@ class Dimension;
 class MathData;
 class MathAtom;
 class InsetMath;
+class latexkeys;
 
 
 int mathed_font_em(FontInfo const &);
 
+int mathed_thinmuskip(FontInfo font);
+
+int mathed_medmuskip(FontInfo font);
+
+int mathed_thickmuskip(FontInfo font);
+
 int mathed_char_width(FontInfo const &, char_type c);
 
 int mathed_char_kerning(FontInfo const &, char_type c);
@@ -42,6 +49,10 @@ void mathed_string_dim(FontInfo const & font,
 
 int mathed_string_width(FontInfo const &, docstring const & s);
 
+void mathedSymbolDim(MetricsInfo & mi, Dimension & dim, latexkeys const * sym);
+
+void mathedSymbolDraw(PainterInfo & pi, int x, int y, latexkeys const * sym);
+
 void metricsStrRedBlack(MetricsInfo & mi, Dimension & dim, docstring const & s);
 
 void drawStrRed(PainterInfo & pi, int x, int y, docstring const & s);
@@ -49,13 +60,13 @@ void drawStrBlack(PainterInfo & pi, int x, int y, docstring const & s);
 
 void math_font_max_dim(FontInfo const &, int & asc, int & desc);
 
-void augmentFont(FontInfo & f, docstring const & cmd);
+void augmentFont(FontInfo & f, std::string const & cmd);
 
-bool isFontName(docstring const & name);
+bool isFontName(std::string const & name);
 
-bool isMathFont(docstring const & name);
+bool isMathFont(std::string const & name);
 
-bool isTextFont(docstring const & name);
+bool isTextFont(std::string const & name);
 
 bool isAlphaSymbol(MathAtom const & at);