X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathSupport.h;h=dc0087f915b88d84327176de0aafe589545ea3ed;hb=6de3c19fd63f810eed90ef3bc4469faf28e949c2;hp=42d0977be12b2203277e360afb376f545bebed31;hpb=dbb5ac93ea8d2310038322a81e25242f32e35f71;p=lyx.git diff --git a/src/mathed/MathSupport.h b/src/mathed/MathSupport.h index 42d0977be1..dc0087f915 100644 --- a/src/mathed/MathSupport.h +++ b/src/mathed/MathSupport.h @@ -15,10 +15,10 @@ #include "MathParser_flags.h" #include "support/strfwd.h" -#include namespace lyx { +class MetricsInfo; class PainterInfo; class FontInfo; class Dimension; @@ -40,6 +40,8 @@ void mathed_string_dim(FontInfo const & font, 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); @@ -51,6 +53,10 @@ 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