diff options
Diffstat (limited to 'doc/html/showimg-example.html')
-rw-r--r-- | doc/html/showimg-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html index a64c4376f..167907a36 100644 --- a/doc/html/showimg-example.html +++ b/doc/html/showimg-example.html @@ -81,8 +81,8 @@ private: bool convertEvent( <a href="qmouseevent.html">TQMouseEvent</a>* e, int& x, int& y ); <a href="tqstring.html">TQString</a> filename; <a href="tqimage.html">TQImage</a> image; // the loaded image - <a href="ntqpixmap.html">TQPixmap</a> pm; // the converted pixmap - <a href="ntqpixmap.html">TQPixmap</a> pmScaled; // the scaled pixmap + <a href="tqpixmap.html">TQPixmap</a> pm; // the converted pixmap + <a href="tqpixmap.html">TQPixmap</a> pmScaled; // the scaled pixmap <a href="tqmenubar.html">TQMenuBar</a> *menubar; <a href="tqpopupmenu.html">TQPopupMenu</a> *file; @@ -330,10 +330,10 @@ void <a name="f407"></a>ImageViewer::setMenuItemFlags() // Options bool may_need_color_dithering = !valid_image - || image.depth() == 32 && TQPixmap::<a href="ntqpixmap.html#defaultDepth">defaultDepth</a>() < 24; + || image.depth() == 32 && TQPixmap::<a href="tqpixmap.html#defaultDepth">defaultDepth</a>() < 24; bool may_need_dithering = may_need_color_dithering || image.depth() > 1 && options-><a href="tqmenudata.html#isItemChecked">isItemChecked</a>(mo) - || image.depth() > 1 && TQPixmap::<a href="ntqpixmap.html#defaultDepth">defaultDepth</a>() == 1; + || image.depth() > 1 && TQPixmap::<a href="tqpixmap.html#defaultDepth">defaultDepth</a>() == 1; bool has_alpha_mask = !valid_image || image.hasAlphaBuffer(); options-><a href="tqmenudata.html#setItemEnabled">setItemEnabled</a>( fd, may_need_dithering ); @@ -581,8 +581,8 @@ void <a name="f417"></a>ImageViewer::scale() pmScaled.convertFromImage(image.smoothScale(<a href="tqwidget.html#width">width</a>(), h), conversion_flags); } else { - <a href="ntqwmatrix.html">TQWMatrix</a> m; // <a href="ntqwmatrix.html#TransformationMode">transformation matrix</a> -<a name="x1357"></a> m.<a href="ntqwmatrix.html#scale">scale</a>(((double)<a href="tqwidget.html#width">width</a>())/pm.width(),// define scale factors + <a href="tqwmatrix.html">TQWMatrix</a> m; // <a href="tqwmatrix.html#TransformationMode">transformation matrix</a> +<a name="x1357"></a> m.<a href="tqwmatrix.html#scale">scale</a>(((double)<a href="tqwidget.html#width">width</a>())/pm.width(),// define scale factors ((double)h)/pm.height()); pmScaled = pm.xForm( m ); // create scaled pixmap } |