Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about performance #949

Open
adamfierek opened this issue Jan 18, 2024 · 0 comments
Open

Question about performance #949

adamfierek opened this issue Jan 18, 2024 · 0 comments

Comments

@adamfierek
Copy link

Hi there,
I need to display big amount of paths in my application and use transform to manipulate scene - translate and scale. With 60k paths I can see a decrease of performance. Translating using touch screen is not as smooth as expected.

I'm using CanvasControl and preparing paths to display by creating CanvasGeometry. In Draw callback I'm calling DrawGeometry for each prepared geometry after setting Transform. I tried to use CanvasCachedGeometry but I need to use CanvasStrokeTransformBehavior.Hairline to keep stroke width while scaling. What can I do to increase performance of my app?

Maybe there is a better approach? At now I have this kind of app written in OpenGL and C++ but I think it's easier to rewrite it to integrate with WinUI 3.

Thanks in advance for any suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant