diff options
Diffstat (limited to 'doc/html/tqpen.html')
-rw-r--r-- | doc/html/tqpen.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/tqpen.html b/doc/html/tqpen.html index 730c0d025..bfde83bcf 100644 --- a/doc/html/tqpen.html +++ b/doc/html/tqpen.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } of shapes. <a href="#details">More...</a> <p><tt>#include <<a href="tqpen-h.html">tqpen.h</a>></tt> -<p>Inherits <a href="ntqt.html">TQt</a>. +<p>Inherits <a href="tqt.html">TQt</a>. <p><a href="tqpen-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -74,7 +74,7 @@ of shapes. <p> A pen has a style, width, color, cap style and join style. -<p> The pen style defines the line type. The default pen style is <a href="ntqt.html#PenStyle-enum">TQt::SolidLine</a>. Setting the style to <a href="ntqt.html#PenStyle-enum">NoPen</a> tells the painter to +<p> The pen style defines the line type. The default pen style is <a href="tqt.html#PenStyle-enum">TQt::SolidLine</a>. Setting the style to <a href="tqt.html#PenStyle-enum">NoPen</a> tells the painter to not draw lines or outlines. <p> When drawing 1 pixel wide diagonal lines you can either use a very fast algorithm (specified by a line width of 0, which is the @@ -103,7 +103,7 @@ the width is 1 or greater. painter.<a href="tqpainter.html#end">end</a>(); // painting done </pre> -<p> See the <a href="ntqt.html#PenStyle-enum">TQt::PenStyle</a> enum type for a complete list of pen +<p> See the <a href="tqt.html#PenStyle-enum">TQt::PenStyle</a> enum type for a complete list of pen styles. <p> With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or @@ -126,17 +126,17 @@ compared and streamed. Constructs a default black solid line pen with 0 width, which renders lines 1 pixel wide (fast diagonals). -<h3 class=fn><a name="TQPen-2"></a>TQPen::TQPen ( <a href="ntqt.html#PenStyle-enum">PenStyle</a> style ) +<h3 class=fn><a name="TQPen-2"></a>TQPen::TQPen ( <a href="tqt.html#PenStyle-enum">PenStyle</a> style ) </h3> Constructs a black pen with 0 width (fast diagonals) and style <em>style</em>. <p> <p>See also <a href="#setStyle">setStyle</a>(). -<h3 class=fn><a name="TQPen-3"></a>TQPen::TQPen ( const <a href="tqcolor.html">TQColor</a> & color, uint width = 0, <a href="ntqt.html#PenStyle-enum">PenStyle</a> style = SolidLine ) +<h3 class=fn><a name="TQPen-3"></a>TQPen::TQPen ( const <a href="tqcolor.html">TQColor</a> & color, uint width = 0, <a href="tqt.html#PenStyle-enum">PenStyle</a> style = SolidLine ) </h3> Constructs a pen with the specified <em>color</em>, <em>width</em> and <em>style</em>. <p> <p>See also <a href="#setWidth">setWidth</a>(), <a href="#setStyle">setStyle</a>(), and <a href="#setColor">setColor</a>(). -<h3 class=fn><a name="TQPen-4"></a>TQPen::TQPen ( const <a href="tqcolor.html">TQColor</a> & cl, uint w, <a href="ntqt.html#PenStyle-enum">PenStyle</a> s, <a href="ntqt.html#PenCapStyle-enum">PenCapStyle</a> c, <a href="ntqt.html#PenJoinStyle-enum">PenJoinStyle</a> j ) +<h3 class=fn><a name="TQPen-4"></a>TQPen::TQPen ( const <a href="tqcolor.html">TQColor</a> & cl, uint w, <a href="tqt.html#PenStyle-enum">PenStyle</a> s, <a href="tqt.html#PenCapStyle-enum">PenCapStyle</a> c, <a href="tqt.html#PenJoinStyle-enum">PenJoinStyle</a> j ) </h3> Constructs a pen with the specified color <em>cl</em> and width <em>w</em>. The pen style is set to <em>s</em>, the pen cap style to <em>c</em> and the @@ -157,7 +157,7 @@ Constructs a pen that is a copy of <em>p</em>. </h3> Destroys the pen. -<h3 class=fn><a href="ntqt.html#PenCapStyle-enum">PenCapStyle</a> <a name="capStyle"></a>TQPen::capStyle () const +<h3 class=fn><a href="tqt.html#PenCapStyle-enum">PenCapStyle</a> <a name="capStyle"></a>TQPen::capStyle () const </h3> Returns the pen's cap style. <p> <p>See also <a href="#setCapStyle">setCapStyle</a>(). @@ -169,7 +169,7 @@ Returns the pen's cap style. <p> <p>See also <a href="#setColor">setColor</a>(). <p>Example: <a href="scribble-example.html#x902">scribble/scribble.h</a>. -<h3 class=fn><a href="ntqt.html#PenJoinStyle-enum">PenJoinStyle</a> <a name="joinStyle"></a>TQPen::joinStyle () const +<h3 class=fn><a href="tqt.html#PenJoinStyle-enum">PenJoinStyle</a> <a name="joinStyle"></a>TQPen::joinStyle () const </h3> Returns the pen's join style. <p> <p>See also <a href="#setJoinStyle">setJoinStyle</a>(). @@ -193,14 +193,14 @@ Returns TRUE if the pen is equal to <em>p</em>; otherwise returns FALSE. <p> Two pens are equal if they have equal styles, widths and colors. <p> <p>See also <a href="#operator!-eq">operator!=</a>(). -<h3 class=fn>void <a name="setCapStyle"></a>TQPen::setCapStyle ( <a href="ntqt.html#PenCapStyle-enum">PenCapStyle</a> c ) +<h3 class=fn>void <a name="setCapStyle"></a>TQPen::setCapStyle ( <a href="tqt.html#PenCapStyle-enum">PenCapStyle</a> c ) </h3> Sets the pen's cap style to <em>c</em>. -<p> The default value is <a href="ntqt.html#PenCapStyle-enum">FlatCap</a>. The cap style has no effect on +<p> The default value is <a href="tqt.html#PenCapStyle-enum">FlatCap</a>. The cap style has no effect on 0-width pens. <p> <center><img src="pen-cap-styles.png" alt="Pen Cap Styles"></center> <p> <b>Warning:</b> On Windows 95/98 and Macintosh, the cap style setting has -no effect. Wide lines are rendered as if the cap style was <a href="ntqt.html#PenCapStyle-enum">SquareCap</a>. +no effect. Wide lines are rendered as if the cap style was <a href="tqt.html#PenCapStyle-enum">SquareCap</a>. <p> <p>See also <a href="#capStyle">capStyle</a>(). <p>Example: <a href="themes-example.html#x226">themes/wood.cpp</a>. @@ -210,26 +210,26 @@ Sets the pen color to <em>c</em>. <p> <p>See also <a href="#color">color</a>(). <p>Examples: <a href="progress-example.html#x79">progress/progress.cpp</a> and <a href="scribble-example.html#x903">scribble/scribble.h</a>. -<h3 class=fn>void <a name="setJoinStyle"></a>TQPen::setJoinStyle ( <a href="ntqt.html#PenJoinStyle-enum">PenJoinStyle</a> j ) +<h3 class=fn>void <a name="setJoinStyle"></a>TQPen::setJoinStyle ( <a href="tqt.html#PenJoinStyle-enum">PenJoinStyle</a> j ) </h3> Sets the pen's join style to <em>j</em>. -<p> The default value is <a href="ntqt.html#PenJoinStyle-enum">MiterJoin</a>. The join style has no effect on +<p> The default value is <a href="tqt.html#PenJoinStyle-enum">MiterJoin</a>. The join style has no effect on 0-width pens. <p> <center><img src="pen-join-styles.png" alt="Pen Join Styles"></center> <p> <b>Warning:</b> On Windows 95/98 and Macintosh, the join style setting -has no effect. Wide lines are rendered as if the join style was <a href="ntqt.html#PenJoinStyle-enum">BevelJoin</a>. +has no effect. Wide lines are rendered as if the join style was <a href="tqt.html#PenJoinStyle-enum">BevelJoin</a>. <p> <p>See also <a href="#joinStyle">joinStyle</a>(). <p>Example: <a href="themes-example.html#x227">themes/wood.cpp</a>. -<h3 class=fn>void <a name="setStyle"></a>TQPen::setStyle ( <a href="ntqt.html#PenStyle-enum">PenStyle</a> s ) +<h3 class=fn>void <a name="setStyle"></a>TQPen::setStyle ( <a href="tqt.html#PenStyle-enum">PenStyle</a> s ) </h3> Sets the pen style to <em>s</em>. -<p> See the <a href="ntqt.html#PenStyle-enum">TQt::PenStyle</a> documentation for a list of all the +<p> See the <a href="tqt.html#PenStyle-enum">TQt::PenStyle</a> documentation for a list of all the styles. -<p> <b>Warning:</b> On Mac OS X the style setting (other than <a href="ntqt.html#PenStyle-enum">NoPen</a> and <a href="ntqt.html#PenStyle-enum">SolidLine</a>) have no effect as they are not implemented by the +<p> <b>Warning:</b> On Mac OS X the style setting (other than <a href="tqt.html#PenStyle-enum">NoPen</a> and <a href="tqt.html#PenStyle-enum">SolidLine</a>) have no effect as they are not implemented by the underlying system. -<p> <b>Warning:</b> On Windows 95/98, the style setting (other than <a href="ntqt.html#PenStyle-enum">NoPen</a> -and <a href="ntqt.html#PenStyle-enum">SolidLine</a>) has no effect for lines with width greater than +<p> <b>Warning:</b> On Windows 95/98, the style setting (other than <a href="tqt.html#PenStyle-enum">NoPen</a> +and <a href="tqt.html#PenStyle-enum">SolidLine</a>) has no effect for lines with width greater than 1. <p> <p>See also <a href="#style">style</a>(). @@ -246,7 +246,7 @@ effect on 0-width lines. <p> <p>See also <a href="#width">width</a>(). <p>Examples: <a href="progress-example.html#x80">progress/progress.cpp</a>, and <a href="scribble-example.html#x904">scribble/scribble.h</a>. -<h3 class=fn><a href="ntqt.html#PenStyle-enum">PenStyle</a> <a name="style"></a>TQPen::style () const +<h3 class=fn><a href="tqt.html#PenStyle-enum">PenStyle</a> <a name="style"></a>TQPen::style () const </h3> <p> Returns the pen style. |