Open
Description
Is your feature request related to a problem?
Sometimes it's useful to pass an array of points to SKCanvas.DrawPoints
but not to draw all of them. Currently there is no public method of accomplishing a partial array draw.
Describe the solution you would like
Add an override to SKCanvas.DrawPoints
to allow for passing a count parameter to the SkiaApi.sk_canvas_draw_points
method instead of just passing the entire array length as it currently does.
Describe alternatives you have considered
Currently the way to get around this is to create an array with the proper size ahead of time and allocate it on the heap but that requires allocation. It would be even nicer to utilize Spans for this so they can be sliced, but I see multiple PRs #2617 & #2669 are stalled so I'm not sure about their integration.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Assignees
Type
Projects
Status
Ready For Work
Activity