Improve performance, when drawing components with big size

I made plugin with a draggable component. The component consist of an inner cirrcle and an outter circle.

The whole component can be dragged, by moving the inner circle.
When scrolling inside the inner circle, the outter circle’s radius can be extended by a scaleFactor. Accordingly, the Component’s size is extended:
tmp.cpp (131 Bytes)

When setting a big scaleFactor, and dragging the component, the performance is really slow(Some OSC messages are not send in time.)

Is there a way to improve the performance, when draging such a big size component?

Thank you!

2 Likes