| Last change
 on this file since 716 was             2, checked in by Dmitry A. Kuminov, 16 years ago | 
        
          | 
Initially imported qt-all-opensource-src-4.5.1 from Trolltech.
 | 
        
          | File size:
            644 bytes | 
      
      
| Line |  | 
|---|
| 1 | <html> | 
|---|
| 2 | <center> | 
|---|
| 3 | <h2>Primitive Stroking</h2> | 
|---|
| 4 | </center> | 
|---|
| 5 |  | 
|---|
| 6 | <p>In this demo we show some of the various types of pens that can be | 
|---|
| 7 | used in Qt.</p> | 
|---|
| 8 |  | 
|---|
| 9 | <p>Qt defines cap styles for how the end points are treated and join | 
|---|
| 10 | styles for how path segments are joined together. A standard set of | 
|---|
| 11 | predefined dash patterns are also included that can be used with | 
|---|
| 12 | <code>QPen</code>.</p> | 
|---|
| 13 |  | 
|---|
| 14 | <p>In addition to the predefined patterns available in | 
|---|
| 15 | <code>QPen</code> we also demonstrate direct use of the | 
|---|
| 16 | <code>QPainterPathStroker</code> class which can be used to define | 
|---|
| 17 | custom dash patterns. You can see this by enabling the | 
|---|
| 18 | <i>Custom Pattern</i> option.</p> | 
|---|
| 19 |  | 
|---|
| 20 | </html> | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.