You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Example2. CSharpMath.SkiaSharp, apart from having syntax errors, doesn't say anything. Suggest to replace it with the following.
usingCSharpMath.SkiaSharp;usingSkiaSharp;//...voidDrawSample(){varp=pictureBox;// exists a PictureBox with name pictureBox// create canvasvarimageInfo=newSKImageInfo(p.Width,p.Height);usingvarsurface=SKSurface.Create(imageInfo);usingvarcanvas=surface.Canvas;varpainter=newMathPainter{LaTeX=@"\frac\sqrt23"};painter.Draw(canvas);usingvarsnapshot=surface.Snapshot();usingvarimage=snapshot.Encode(SKEncodedImageFormat.Png,100);usingvarstream=newMemoryStream(image.ToArray());p.Image=newBitmap(stream,false);}
The text was updated successfully, but these errors were encountered:
The Example2. CSharpMath.SkiaSharp, apart from having syntax errors, doesn't say anything. Suggest to replace it with the following.
The text was updated successfully, but these errors were encountered: