How to achieve region drawing of controls? #17749
Unanswered
niuzhaosen
asked this question in
Q&A
Replies: 2 comments 1 reply
-
This is just a demo. In fact, I want to display multiple camera images simultaneously on this custom control. When the latest frame arrives on one of the images, I only want to update the area where that camera is drawn, while keeping the rest unchanged. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What you are describing is called a blit. However it's generally done on the GPU. I am also not sure if Avalonia even exposes an API for it. That said you are not the first person to ask for this for this exact scenario: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I drew all the images in the previous frame, and then in the next frame, I only want to update one area of the drawing. The other areas that have not been updated will keep the image drawn last time. However, now the other areas that have not been updated are showing a black screen. What methods can I use to achieve it?
Beta Was this translation helpful? Give feedback.
All reactions