summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqpen.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/ntqpen.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz
tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqpen.html')
-rw-r--r--doc/html/ntqpen.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/ntqpen.html b/doc/html/ntqpen.html
index 21d9fa7f1..d9778583e 100644
--- a/doc/html/ntqpen.html
+++ b/doc/html/ntqpen.html
@@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qpainter.cpp:3138 -->
+<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/tqpainter.cpp:3138 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -67,7 +67,7 @@ of shapes.
<hr><a name="details"></a><h2>Detailed Description</h2>
-The TQPen class defines how a <a href="ntqpainter.html">TQPainter</a> should draw lines and outlines
+The TQPen class defines how a <a href="tqpainter.html">TQPainter</a> should draw lines and outlines
of shapes.
<p>
@@ -83,31 +83,31 @@ line width of 1). For horizontal and vertical lines a line width
of 0 is the same as a line width of 1. The cap and join style have
no effect on 0-width lines.
<p> The pen color defines the color of lines and text. The default
-line color is black. The <a href="ntqcolor.html">TQColor</a> documentation lists predefined
+line color is black. The <a href="tqcolor.html">TQColor</a> documentation lists predefined
colors.
<p> The cap style defines how the end points of lines are drawn. The
join style defines how the joins between two lines are drawn when
-multiple connected lines are drawn (<a href="ntqpainter.html#drawPolyline">TQPainter::drawPolyline</a>()
+multiple connected lines are drawn (<a href="tqpainter.html#drawPolyline">TQPainter::drawPolyline</a>()
etc.). The cap and join styles only apply to wide lines, i.e. when
the width is 1 or greater.
-<p> Use the <a href="ntqbrush.html">TQBrush</a> class to specify fill styles.
+<p> Use the <a href="tqbrush.html">TQBrush</a> class to specify fill styles.
<p> Example:
<pre>
- <a href="ntqpainter.html">TQPainter</a> painter;
+ <a href="tqpainter.html">TQPainter</a> painter;
TQPen pen( red, 2 ); // red solid line, 2 pixels wide
- painter.<a href="ntqpainter.html#begin">begin</a>( &amp;anyPaintDevice ); // paint something
- painter.<a href="ntqpainter.html#setPen">setPen</a>( pen ); // set the red, wide pen
- painter.<a href="ntqpainter.html#drawRect">drawRect</a>( 40,30, 200,100 ); // draw a rectangle
- painter.<a href="ntqpainter.html#setPen">setPen</a>( blue ); // set blue pen, 0 pixel width
- painter.<a href="ntqpainter.html#drawLine">drawLine</a>( 40,30, 240,130 ); // draw a diagonal in rectangle
- painter.<a href="ntqpainter.html#end">end</a>(); // painting done
+ painter.<a href="tqpainter.html#begin">begin</a>( &amp;anyPaintDevice ); // paint something
+ painter.<a href="tqpainter.html#setPen">setPen</a>( pen ); // set the red, wide pen
+ painter.<a href="tqpainter.html#drawRect">drawRect</a>( 40,30, 200,100 ); // draw a rectangle
+ painter.<a href="tqpainter.html#setPen">setPen</a>( blue ); // set blue pen, 0 pixel width
+ painter.<a href="tqpainter.html#drawLine">drawLine</a>( 40,30, 240,130 ); // draw a diagonal in rectangle
+ 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
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
-not. <a href="ntqpainter.html">TQPainter</a> will try to make sure that the end point is drawn
+not. <a href="tqpainter.html">TQPainter</a> will try to make sure that the end point is drawn
for 0-width pens, but this cannot be absolutely guaranteed because
the underlying drawing engine is free to use any (typically
accelerated) algorithm for drawing 0-width lines. On all tested
@@ -118,7 +118,7 @@ be set in the constructor or later with <a href="#setColor">setColor</a>(), <a h
<a href="#setStyle">setStyle</a>(), <a href="#setCapStyle">setCapStyle</a>() and <a href="#setJoinStyle">setJoinStyle</a>(). Pens may also be
compared and streamed.
<p> <center><img src="pen-styles.png" alt="Pen styles"></center>
-<p> <p>See also <a href="ntqpainter.html">TQPainter</a>, <a href="ntqpainter.html#setPen">TQPainter::setPen</a>(), <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>.
+<p> <p>See also <a href="tqpainter.html">TQPainter</a>, <a href="tqpainter.html#setPen">TQPainter::setPen</a>(), <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>.
<hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="TQPen"></a>TQPen::TQPen ()
@@ -131,12 +131,12 @@ renders lines 1 pixel wide (fast diagonals).
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&nbsp;<a href="ntqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;color, uint&nbsp;width = 0, <a href="ntqt.html#PenStyle-enum">PenStyle</a>&nbsp;style = SolidLine )
+<h3 class=fn><a name="TQPen-3"></a>TQPen::TQPen ( const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;color, uint&nbsp;width = 0, <a href="ntqt.html#PenStyle-enum">PenStyle</a>&nbsp;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&nbsp;<a href="ntqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;cl, uint&nbsp;w, <a href="ntqt.html#PenStyle-enum">PenStyle</a>&nbsp;s, <a href="ntqt.html#PenCapStyle-enum">PenCapStyle</a>&nbsp;c, <a href="ntqt.html#PenJoinStyle-enum">PenJoinStyle</a>&nbsp;j )
+<h3 class=fn><a name="TQPen-4"></a>TQPen::TQPen ( const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;cl, uint&nbsp;w, <a href="ntqt.html#PenStyle-enum">PenStyle</a>&nbsp;s, <a href="ntqt.html#PenCapStyle-enum">PenCapStyle</a>&nbsp;c, <a href="ntqt.html#PenJoinStyle-enum">PenJoinStyle</a>&nbsp;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
@@ -162,7 +162,7 @@ Destroys the pen.
Returns the pen's cap style.
<p> <p>See also <a href="#setCapStyle">setCapStyle</a>().
-<h3 class=fn>const&nbsp;<a href="ntqcolor.html">TQColor</a>&nbsp;&amp; <a name="color"></a>TQPen::color () const
+<h3 class=fn>const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp; <a name="color"></a>TQPen::color () const
</h3>
<p> Returns the pen color.
@@ -204,7 +204,7 @@ no effect. Wide lines are rendered as if the cap style was <a href="ntqt.html#Pe
<p> <p>See also <a href="#capStyle">capStyle</a>().
<p>Example: <a href="themes-example.html#x226">themes/wood.cpp</a>.
-<h3 class=fn>void <a name="setColor"></a>TQPen::setColor ( const&nbsp;<a href="ntqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;c )
+<h3 class=fn>void <a name="setColor"></a>TQPen::setColor ( const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;c )
</h3>
Sets the pen color to <em>c</em>.
<p> <p>See also <a href="#color">color</a>().