diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/html/ntqregion.html | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-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/ntqregion.html')
-rw-r--r-- | doc/html/ntqregion.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/ntqregion.html b/doc/html/ntqregion.html index 4afbfb7e4..6ae2683ea 100644 --- a/doc/html/ntqregion.html +++ b/doc/html/ntqregion.html @@ -82,7 +82,7 @@ body { background: #ffffff; color: black; } The TQRegion class specifies a clip region for a painter. <p> -<p> TQRegion is used with <a href="ntqpainter.html#setClipRegion">TQPainter::setClipRegion</a>() to limit the paint +<p> TQRegion is used with <a href="tqpainter.html#setClipRegion">TQPainter::setClipRegion</a>() to limit the paint area to what needs to be painted. There is also a <a href="tqwidget.html#repaint">TQWidget::repaint</a>() that takes a TQRegion parameter. TQRegion is the best tool for reducing flicker. @@ -97,17 +97,17 @@ or). You can move a region using <a href="#translate">translate</a>(). rectangles. <p> Example of using complex regions: <pre> - void MyWidget::paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> * ) + void MyWidget::paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> * ) { - <a href="ntqpainter.html">TQPainter</a> p; // our painter + <a href="tqpainter.html">TQPainter</a> p; // our painter TQRegion r1( TQRect(100,100,200,80), // r1 = elliptic region TQRegion::<a href="#RegionType-enum">Ellipse</a> ); TQRegion r2( TQRect(100,120,90,30) ); // r2 = rectangular region TQRegion r3 = r1.<a href="#intersect">intersect</a>( r2 ); // r3 = intersection - p.<a href="ntqpainter.html#begin">begin</a>( this ); // start painting widget - p.<a href="ntqpainter.html#setClipRegion">setClipRegion</a>( r3 ); // set clip region + p.<a href="tqpainter.html#begin">begin</a>( this ); // start painting widget + p.<a href="tqpainter.html#setClipRegion">setClipRegion</a>( r3 ); // set clip region ... // paint clipped graphics - p.<a href="ntqpainter.html#end">end</a>(); // painting done + p.<a href="tqpainter.html#end">end</a>(); // painting done } </pre> @@ -115,7 +115,7 @@ rectangles. <p> <b>Warning:</b> Due to window system limitations, the whole coordinate space for a region is limited to the points between -32767 and 32767 on Mac OS X and Windows 95/98/ME. -<p> <p>See also <a href="ntqpainter.html#setClipRegion">TQPainter::setClipRegion</a>(), <a href="ntqpainter.html#setClipRect">TQPainter::setClipRect</a>(), <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>. +<p> <p>See also <a href="tqpainter.html#setClipRegion">TQPainter::setClipRegion</a>(), <a href="tqpainter.html#setClipRect">TQPainter::setClipRect</a>(), <a href="graphics.html">Graphics Classes</a>, and <a href="images.html">Image Processing Classes</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="RegionType-enum"></a>TQRegion::RegionType</h3> |