Expose ImmediateDrawingContext.DrawGeometry#20841
Expose ImmediateDrawingContext.DrawGeometry#20841rabbitism wants to merge 1 commit intoAvaloniaUI:masterfrom
Conversation
|
Technically, Geometry is an AvaloniaObject and is dispatcher-bound. We need a separate |
maybe I can follow the pattern of |
|
You can test this PR using the following package version. |
|
IRef is already enough. So IRef should also work. Maybe all platform implementations should be immutable? |
|
request api review. Edit: IRef won't work because IGeometryImpl is not IDisposable, but acutally wondering why it's not, because we are disposing SKPath in some cases. |
What does the pull request do?
We have all infras to draw geometry in ImmediateDrawingContext. we should expose this to user.
What is the current behavior?
There is no way to draw geometry
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues