verybadcat / CSharpMath

LaTeX. in C#. (ported from the wonderful iosMath project).
MIT License
384 stars 64 forks source link

0.3.0 Clickity Update has been released! #104

Closed Happypig375 closed 4 years ago

Happypig375 commented 4 years ago

The 0.3.0 Clickity Update brings a clickable math editor! Also, this release cleans up various bugs and unexpected behavior from the previous release, namely 0.2.0 Editor Update.

demo

Clickable math editors are enabled with:

var view = new SkiaSharp.Views.Forms.SKCanvasView { HeightRequest = 225 };
var keyboard = new CSharpMath.Rendering.MathKeyboard();
keyboard.BindDisplay(view, new CSharpMath.SkiaSharp.MathPainter {
  TextColor = SKColors.Black
}, new SkiaSharp.SKColor(0, 0, 0, 153)); // BindDisplay automatically enables touch!

keyboard.KeyPress(CSharpMath.Editor.MathKeyboardInput.X); // Wire input like this

Breaking changes

Credits

Thanks to @FoggyFinder for the following PRs: (Big thanks for such an epic contribution!)

Thanks to @charlesroddie for the following PRs:

Thanks to @hflexgrig for the following PRs:

Thanks to @Smurf-IV for PR #61 (Fix #60: Failure to convert array's in MathListBuilder)

Leftovers from 0.2.0

The following items are still on the roadmap but they are expected to be delayed until I or someone else has the time to work on them:

Items to add to the roadmap

58 will probably be higher on the roadmap as it can provide an easy-to-use interface and even attract new contributors.

Last but not least, wish you a merry Christmas šŸŽ„ and a happy new year šŸŽ†!

Supercedes #29.

Happypig375 commented 4 years ago

Superseded by #112.