About the area filling problem formed by multiple Geometry elements #1830
Unanswered
PaperHammer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This may involve computer graphics.
I plan to implement the paint feature based on WinUI3. I've made all sorts of lines on the Canvas with PathGeometry, and now I want to be able to click on a location to fill an enclosed area, but I don't know how to find an enclosed area where the click is located and fill it as PathGeometry data in a Path UIElement that is made up of PathGeometry data.
Is there some way to calculate that the de-area should be populated and can be populated as PathGeometry's data?
Here's some of the code for drawing and rendering lines:
Beta Was this translation helpful? Give feedback.
All reactions