Skip to content

Commit d4aa32f

Browse files
committed
(#63) WpfCharInfoEx: make public
Custom IElementRenderers may use it.
1 parent f5a0d93 commit d4aa32f

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

src/WpfMath.ApiTest/api/WpfMath.net452.verified.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ public SVGConverter() { }
8383
public string ConvertGeometry(System.Windows.Media.Geometry geometry) { throw null; }
8484
}
8585
}
86+
namespace WpfMath.Fonts
87+
{
88+
public static partial class WpfCharInfoEx
89+
{
90+
public static System.Windows.Media.GlyphRun GetGlyphRun(this WpfMath.CharInfo info, double x, double y, double scale) { throw null; }
91+
}
92+
}
8693
namespace WpfMath.Parsers
8794
{
8895
public static partial class WpfTeXFormulaParser

src/WpfMath.ApiTest/api/WpfMath.netcoreapp3.1.verified.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ public SVGConverter() { }
8383
public string ConvertGeometry(System.Windows.Media.Geometry geometry) { throw null; }
8484
}
8585
}
86+
namespace WpfMath.Fonts
87+
{
88+
public static partial class WpfCharInfoEx
89+
{
90+
public static System.Windows.Media.GlyphRun GetGlyphRun(this WpfMath.CharInfo info, double x, double y, double scale) { throw null; }
91+
}
92+
}
8693
namespace WpfMath.Parsers
8794
{
8895
public static partial class WpfTeXFormulaParser

src/WpfMath/Fonts/WpfCharInfoEx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
namespace WpfMath.Fonts;
1010

11-
internal static class WpfCharInfoEx
11+
public static class WpfCharInfoEx
1212
{
1313
public static GlyphRun GetGlyphRun(this CharInfo info, double x, double y, double scale)
1414
{

0 commit comments

Comments
 (0)