I'm trying to understand how the zoom works.
I did a simple test but the result is not what I was hoping for.
I search for an example component "rectangle-1" and then apply fit to view:
Component* bordo = Circuit::self()->getComponent("Rectangle-1");
fitInView(bordo, Qt::KeepAspectRatio);
I start from new0.png
I would like to get new1.png
but I get new2.png
Where am I wrong?
Greetings
I did a simple test but the result is not what I was hoping for.
I search for an example component "rectangle-1" and then apply fit to view:
Component* bordo = Circuit::self()->getComponent("Rectangle-1");
fitInView(bordo, Qt::KeepAspectRatio);
I start from new0.png
I would like to get new1.png
but I get new2.png
Where am I wrong?
Greetings