I have read the code of Vector Deformation:


This example magnifies the words in the widget using
Qt Code:
  1. path.setElementPositionAt(i,
  2. x + flip * dx * len / m_radius,
  3. y + flip * dy * len / m_radius);
To copy to clipboard, switch view to plain text mode 

Right now, what I want to do is: magnify the whole content under the magnifer but not just the words:

I have drawn the linkages and nodes using OpenGL in the QGLWidget:


What I want to do is: magnify the linkages and nodes under the magnifier. However, this seems not as easy as the example Vector Deformation.

So, I want to get some suggestions from you.

Thanks a lot.