summaryrefslogtreecommitdiffstats
path: root/doc/html/canvas-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-25 12:25:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-25 12:25:06 +0900
commita09a6bc05e3f64c27e7c84dd768c7720fdf41136 (patch)
treefe5a644a42056c012132e5bbc57f3ce1ba40d5c2 /doc/html/canvas-example.html
parentbba3e1fa3870a23f1cf0b5d1143ffd646ac797a4 (diff)
downloadtqt-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.tar.gz
tqt-a09a6bc05e3f64c27e7c84dd768c7720fdf41136.zip
Remove documentation for QWS classes and Qt/Embedded
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/canvas-example.html')
-rw-r--r--doc/html/canvas-example.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html
index 551ba9c2c..e2c64894e 100644
--- a/doc/html/canvas-example.html
+++ b/doc/html/canvas-example.html
@@ -190,21 +190,13 @@ private:
{
<a name="x2935"></a><a name="x2932"></a> <a href="tqcanvasrectangle.html#setSize">setSize</a>( image.<a href="tqimage.html#width">width</a>(), image.<a href="tqimage.html#height">height</a>() );
-#if !defined(TQ_WS_QWS)
<a name="x2943"></a> pixmap.<a href="ntqpixmap.html#convertFromImage">convertFromImage</a>(image, OrderedAlphaDither);
-#endif
}
<a name="x2925"></a>void ImageItem::<a href="tqcanvasrectangle.html#drawShape">drawShape</a>( <a href="ntqpainter.html">TQPainter</a> &amp;p )
{
-// On TQt/Embedded, we can paint a TQImage as fast as a TQPixmap,
-// but on other platforms, we need to use a TQPixmap.
-#if defined(TQ_WS_QWS)
-<a name="x2941"></a> p.<a href="ntqpainter.html#drawImage">drawImage</a>( int(<a href="tqcanvasitem.html#x">x</a>()), int(<a href="tqcanvasitem.html#y">y</a>()), image, 0, 0, -1, -1, OrderedAlphaDither );
-#else
p.<a href="ntqpainter.html#drawPixmap">drawPixmap</a>( int(<a href="tqcanvasitem.html#x">x</a>()), int(<a href="tqcanvasitem.html#y">y</a>()), pixmap );
-#endif
}
bool <a name="f624"></a>ImageItem::hit( const <a href="ntqpoint.html">TQPoint</a> &amp;p ) const