Skip to content

Commit

Permalink
(#63) WpfCharInfoEx: make public
Browse files Browse the repository at this point in the history
Custom IElementRenderers may use it.
  • Loading branch information
ForNeVeR committed Jan 25, 2023
1 parent f5a0d93 commit d4aa32f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/WpfMath.ApiTest/api/WpfMath.net452.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ public SVGConverter() { }
public string ConvertGeometry(System.Windows.Media.Geometry geometry) { throw null; }
}
}
namespace WpfMath.Fonts
{
public static partial class WpfCharInfoEx
{
public static System.Windows.Media.GlyphRun GetGlyphRun(this WpfMath.CharInfo info, double x, double y, double scale) { throw null; }
}
}
namespace WpfMath.Parsers
{
public static partial class WpfTeXFormulaParser
Expand Down
7 changes: 7 additions & 0 deletions src/WpfMath.ApiTest/api/WpfMath.netcoreapp3.1.verified.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ public SVGConverter() { }
public string ConvertGeometry(System.Windows.Media.Geometry geometry) { throw null; }
}
}
namespace WpfMath.Fonts
{
public static partial class WpfCharInfoEx
{
public static System.Windows.Media.GlyphRun GetGlyphRun(this WpfMath.CharInfo info, double x, double y, double scale) { throw null; }
}
}
namespace WpfMath.Parsers
{
public static partial class WpfTeXFormulaParser
Expand Down
2 changes: 1 addition & 1 deletion src/WpfMath/Fonts/WpfCharInfoEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace WpfMath.Fonts;

internal static class WpfCharInfoEx
public static class WpfCharInfoEx
{
public static GlyphRun GetGlyphRun(this CharInfo info, double x, double y, double scale)
{
Expand Down

0 comments on commit d4aa32f

Please sign in to comment.