| Last change
 on this file since 1052 was             2, checked in by Dmitry A. Kuminov, 16 years ago | 
        
          | 
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
 | 
        
          | File size:
            804 bytes | 
      
      
| Line |  | 
|---|
| 1 | <html> | 
|---|
| 2 | <center> | 
|---|
| 3 | <h2>Affine Transformations</h2> | 
|---|
| 4 | </center> | 
|---|
| 5 |  | 
|---|
| 6 | <p>In this demo we demonstrate Qt's ability to perform affine transformations | 
|---|
| 7 | on painting operations.</p> | 
|---|
| 8 |  | 
|---|
| 9 | <p>Transformations can be performed on any kind of graphics drawn using | 
|---|
| 10 | QPainter. The transformations used to display the vector graphics, images, | 
|---|
| 11 | and text can be adjusted in the following ways:</p> | 
|---|
| 12 |  | 
|---|
| 13 | <ul> | 
|---|
| 14 | <li>Dragging the red circle in the centre of each drawing moves it to a new | 
|---|
| 15 | position.</li> | 
|---|
| 16 | <li>Dragging the displaced red circle causes the current drawing to be | 
|---|
| 17 | rotated about the central circle. Rotation can also be controlled with | 
|---|
| 18 | the <b>Rotate</b> slider.</li> | 
|---|
| 19 | <li>Scaling is controlled with the <b>Scale</b> slider.</li> | 
|---|
| 20 | <li>Each drawing can be sheared with the <b>Shear</b> slider.</li> | 
|---|
| 21 | </ul> | 
|---|
| 22 |  | 
|---|
| 23 | </html> | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.