summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqpixmap.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/ntqpixmap.html
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt-a30f5359.tar.gz
tqt-a30f5359.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/ntqpixmap.html')
-rw-r--r--doc/html/ntqpixmap.html38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/ntqpixmap.html b/doc/html/ntqpixmap.html
index 12b2f1f95..916f5f161 100644
--- a/doc/html/ntqpixmap.html
+++ b/doc/html/ntqpixmap.html
@@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }
<p>The TQPixmap class is an off-screen, pixel-based paint device.
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;</tt>
-<p>Inherits <a href="ntqpaintdevice.html">TQPaintDevice</a> and <a href="ntqt.html">TQt</a>.
+<p>Inherits <a href="tqpaintdevice.html">TQPaintDevice</a> and <a href="ntqt.html">TQt</a>.
<p>Inherited by <a href="tqbitmap.html">TQBitmap</a> and <a href="tqcanvaspixmap.html">TQCanvasPixmap</a>.
<p><a href="qpixmap-members.html">List of all member functions.</a>
<h2>Public Members</h2>
@@ -130,11 +130,11 @@ use a pixmap to obtain flicker-free drawing, like this:
<li> Create a pixmap with the same size as the widget.
<li> Fill the pixmap with the widget background color.
<li> Paint the pixmap.
-<li> <a href="ntqpaintdevice.html#bitBlt">bitBlt</a>() the pixmap contents onto the widget.
+<li> <a href="tqpaintdevice.html#bitBlt">bitBlt</a>() the pixmap contents onto the widget.
</ol>
<p> Pixel data in a pixmap is internal and is managed by the
underlying window system. Pixels can be accessed only through
-<a href="ntqpainter.html">TQPainter</a> functions, through bitBlt(), and by converting the
+<a href="tqpainter.html">TQPainter</a> functions, through bitBlt(), and by converting the
TQPixmap to a TQImage.
<p> You can easily display a TQPixmap on the screen using
<a href="ntqlabel.html#setPixmap">TQLabel::setPixmap</a>(). For example, all the <a href="ntqbutton.html">TQButton</a> subclasses
@@ -386,10 +386,10 @@ shared pixmap data.
<p> A pixmap is automatically detached by TQt whenever its contents is
about to change. This is done in all TQPixmap member functions
that modify the pixmap (<a href="#fill">fill</a>(), <a href="#resize">resize</a>(), <a href="#convertFromImage">convertFromImage</a>(),
-<a href="#load">load</a>(), etc.), in <a href="ntqpaintdevice.html#bitBlt">bitBlt</a>() for the destination pixmap and in
-<a href="ntqpainter.html#begin">TQPainter::begin</a>() on a pixmap.
+<a href="#load">load</a>(), etc.), in <a href="tqpaintdevice.html#bitBlt">bitBlt</a>() for the destination pixmap and in
+<a href="tqpainter.html#begin">TQPainter::begin</a>() on a pixmap.
<p> It is possible to modify a pixmap without letting TQt know. You can
-first obtain the system-dependent <a href="ntqpaintdevice.html#handle">handle</a>() and then call
+first obtain the system-dependent <a href="tqpaintdevice.html#handle">handle</a>() and then call
system-specific functions (for instance, BitBlt under Windows)
that modify the pixmap contents. In such cases, you can call
<a href="#detach">detach</a>() to cut the pixmap loose from other pixmaps that share
@@ -397,7 +397,7 @@ data with this one.
<p> detach() returns immediately if there is just a single reference
or if the pixmap has not been initialized yet.
-<h3 class=fn>void <a name="fill"></a>TQPixmap::fill ( const&nbsp;<a href="ntqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;fillColor = TQt::white )
+<h3 class=fn>void <a name="fill"></a>TQPixmap::fill ( const&nbsp;<a href="tqcolor.html">TQColor</a>&nbsp;&amp;&nbsp;fillColor = TQt::white )
</h3>
Fills the pixmap with the color <em>fillColor</em>.
@@ -422,20 +422,20 @@ otherwise the pixmap will simply be filled with the background
color of the widget.
<p> Example:
<pre>
- void CuteWidget::paintEvent( <a href="qpaintevent.html">TQPaintEvent</a> *e )
+ void CuteWidget::paintEvent( <a href="tqpaintevent.html">TQPaintEvent</a> *e )
{
- <a href="ntqrect.html">TQRect</a> ur = e-&gt;<a href="qpaintevent.html#rect">rect</a>(); // rectangle to update
+ <a href="ntqrect.html">TQRect</a> ur = e-&gt;<a href="tqpaintevent.html#rect">rect</a>(); // rectangle to update
TQPixmap pix( ur.<a href="ntqrect.html#size">size</a>() ); // Pixmap for double-buffering
pix.<a href="#fill">fill</a>( this, ur.<a href="ntqrect.html#topLeft">topLeft</a>() ); // fill with widget background
- <a href="ntqpainter.html">TQPainter</a> p( &amp;pix );
- p.<a href="ntqpainter.html#translate">translate</a>( -ur.<a href="ntqrect.html#x">x</a>(), -ur.<a href="ntqrect.html#y">y</a>() ); // use widget coordinate system
+ <a href="tqpainter.html">TQPainter</a> p( &amp;pix );
+ p.<a href="tqpainter.html#translate">translate</a>( -ur.<a href="ntqrect.html#x">x</a>(), -ur.<a href="ntqrect.html#y">y</a>() ); // use widget coordinate system
// when drawing on pixmap
// ... draw on pixmap ...
- p.<a href="ntqpainter.html#end">end</a>();
+ p.<a href="tqpainter.html#end">end</a>();
- <a href="ntqpaintdevice.html#bitBlt">bitBlt</a>( this, ur.<a href="ntqrect.html#topLeft">topLeft</a>(), &amp;pix );
+ <a href="tqpaintdevice.html#bitBlt">bitBlt</a>( this, ur.<a href="ntqrect.html#topLeft">topLeft</a>(), &amp;pix );
}
</pre>
@@ -473,7 +473,7 @@ covered with the widget's background.
<p> If an error occurs when trying to grab the widget, such as the
size of the widget being too large to fit in memory, an <a href="#isNull">isNull</a>()
pixmap is returned.
-<p> <p>See also <a href="#grabWindow">grabWindow</a>(), <a href="ntqpainter.html#redirect">TQPainter::redirect</a>(), and <a href="tqwidget.html#paintEvent">TQWidget::paintEvent</a>().
+<p> <p>See also <a href="#grabWindow">grabWindow</a>(), <a href="tqpainter.html#redirect">TQPainter::redirect</a>(), and <a href="tqwidget.html#paintEvent">TQWidget::paintEvent</a>().
<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="grabWindow"></a>TQPixmap::grabWindow ( WId&nbsp;window, int&nbsp;x = 0, int&nbsp;y = 0, int&nbsp;w = -1, int&nbsp;h = -1 )<tt> [static]</tt>
</h3>
@@ -533,7 +533,7 @@ be recognized.
<p> Returns TRUE if this is a null pixmap; otherwise returns FALSE.
<p> A null pixmap has zero width, zero height and no contents. You
-cannot draw in a null pixmap or <a href="ntqpaintdevice.html#bitBlt">bitBlt</a>() anything to it.
+cannot draw in a null pixmap or <a href="tqpaintdevice.html#bitBlt">bitBlt</a>() anything to it.
<p> Resizing an existing pixmap to (0, 0) makes a pixmap into a null
pixmap.
<p> <p>See also <a href="#resize">resize</a>().
@@ -609,7 +609,7 @@ This is an overloaded member function, provided for convenience. It behaves esse
<h3 class=fn>int <a name="metric"></a>TQPixmap::metric ( int&nbsp;m ) const<tt> [virtual protected]</tt>
</h3>
Internal implementation of the virtual TQPaintDevice::metric() function.
-<p> Use the <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> class instead.
+<p> Use the <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> class instead.
<p> <em>m</em> is the metric to get.
<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp; <a name="operator-eq"></a>TQPixmap::operator= ( const&nbsp;<a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap )
@@ -732,7 +732,7 @@ Now, alpha and alphacopy are visually different.
</h3>
Sets pixmap drawing optimization for this pixmap.
<p> The <em>optimization</em> setting affects pixmap operations, in
-particular drawing of transparent pixmaps (<a href="ntqpaintdevice.html#bitBlt">bitBlt</a>() a pixmap with
+particular drawing of transparent pixmaps (<a href="tqpaintdevice.html#bitBlt">bitBlt</a>() a pixmap with
a mask set) and pixmap transformations (the <a href="#xForm">xForm</a>() function).
<p> Pixmap optimization involves keeping intermediate results in a
cache buffer and using the cache to speed up bitBlt() and xForm().
@@ -779,7 +779,7 @@ that contains all the transformed points of the original image.
<p> This function is slow because it involves transformation to a
<a href="tqimage.html">TQImage</a>, non-trivial computations and a transformation back to a
TQPixmap.
-<p> <p>See also <a href="#trueMatrix">trueMatrix</a>(), <a href="ntqwmatrix.html">TQWMatrix</a>, <a href="ntqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>(), and <a href="tqimage.html#xForm">TQImage::xForm</a>().
+<p> <p>See also <a href="#trueMatrix">trueMatrix</a>(), <a href="ntqwmatrix.html">TQWMatrix</a>, <a href="tqpainter.html#setWorldMatrix">TQPainter::setWorldMatrix</a>(), and <a href="tqimage.html#xForm">TQImage::xForm</a>().
<p>Examples: <a href="desktop-example.html#x1747">desktop/desktop.cpp</a>, <a href="fileiconview-example.html#x863">fileiconview/tqfileiconview.cpp</a>, <a href="movies-example.html#x514">movies/main.cpp</a>, and <a href="qmag-example.html#x1787">qmag/qmag.cpp</a>.
<hr><h2>Related Functions</h2>
@@ -789,7 +789,7 @@ TQPixmap.
<p> Copies a block of pixels from <em>src</em> to <em>dst</em>. The alpha channel
and mask data (if any) is also copied from <em>src</em>. NOTE: <em>src</em>
is <em>not</em> alpha blended or masked when copied to <em>dst</em>. Use
-<a href="ntqpaintdevice.html#bitBlt">bitBlt</a>() or <a href="ntqpainter.html#drawPixmap">TQPainter::drawPixmap</a>() to perform alpha blending or
+<a href="tqpaintdevice.html#bitBlt">bitBlt</a>() or <a href="tqpainter.html#drawPixmap">TQPainter::drawPixmap</a>() to perform alpha blending or
masked drawing.
<p> <em>sx</em>, <em>sy</em> is the top-left pixel in <em>src</em> (0, 0 by default), <em>dx</em>, <em>dy</em> is the top-left position in <em>dst</em> and <em>sw</em>, \sh is the
size of the copied block (all of <em>src</em> by default).