<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /home/gvatteka/dev/qtjambi/4.3/scripts/../doc/src/examples/pathstroke.qdoc --> <head> <title>Path Stroking</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">Path Stroking<br /><small></small></h1> <p>In this demo we show some of the various types of pens that can be used in Qt Jambi.</p> <p align="center"><img src="images/pathstroke-demo.png" /></p><p>Qt Jambi defines cap styles for how the end points are treated and join styles for how path segments are joined together. A standard set of predefined dash patterns are also included that can be used with <a href="gui/QPen.html"><tt>QPen</tt></a>.</p> <p>In addition to the predefined patterns available in <a href="gui/QPen.html"><tt>QPen</tt></a> we also demonstrate direct use of the <a href="gui/QPainterPathStroker.html"><tt>QPainterPathStroker</tt></a> class which can be used to define custom dash patterns. You can see this by enabling the <i>Custom Pattern</i> option.</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="30%">Copyright © 2007 <a href="trolltech.html">Trolltech</a></td> <td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="30%" align="right"><div align="right">Qt Jambi </div></td> </tr></table></div></address></body> </html>