SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.55k
stars
543
forks
source link
Added SKCanvas.DrawPoints with Count Override #2987
Sometimes it's useful to pass an array of points to SKCanvas.DrawPoints but not to draw all of them. The API currently doesn't accept Spans at this point, so it is a stop-gap until that decision has been made.
No tests added currently as there is not currently a test in the tests/Tests/SkiaSharp/SKCanvasTest.cs file for drawing points.
Bugs Fixed
Fixes #2986
API Changes
Add public void SKCanvasDrawPoints (SKPointMode mode, SKPoint[] points, int count, SKPaint paint) overload.
Behavioral Changes
None.
Required skia PR
None.
PR Checklist
[ ] Has tests (if omitted, state reason in description)
Description of Change
Sometimes it's useful to pass an array of points to at this point, so it is a stop-gap until that decision has been made.
SKCanvas.DrawPoints
but not to draw all of them. The API currently doesn't accept SpansNo tests added currently as there is not currently a test in the
tests/Tests/SkiaSharp/SKCanvasTest.cs
file for drawing points.Bugs Fixed
API Changes
Add
public void SKCanvasDrawPoints (SKPointMode mode, SKPoint[] points, int count, SKPaint paint)
overload.Behavioral Changes
None.
Required skia PR
None.
PR Checklist