Trying to create custom drawn control #14372
-
|
I am attempting to render some graphics using SkiaSharp using the example here: https://github.com/AvaloniaUI/Avalonia/tree/master/samples/RenderDemo I am using Visual Studio 2022 on Windows 11 and have put a Trace.WriteLine in ICustomDrawOperation.Render method. My custom control code: You can see the Trace.WriteLine( "Render" ); that I see in the output window. Andy |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
In this code: You invalidate visual after each Render call. Basically, creating a control that requests a new render on each frame. |
Beta Was this translation helpful? Give feedback.
In this code:
You invalidate visual after each Render call. Basically, creating a control that requests a new render on each frame.