diff options
Diffstat (limited to 'doc/html/ntqsimplerichtext.html')
-rw-r--r-- | doc/html/ntqsimplerichtext.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/ntqsimplerichtext.html b/doc/html/ntqsimplerichtext.html index 68b195162..6fe86061d 100644 --- a/doc/html/ntqsimplerichtext.html +++ b/doc/html/ntqsimplerichtext.html @@ -134,7 +134,7 @@ Destroys the rich text object, freeing memory. Adjusts the richt text object to a reasonable size. <p> <p>See also <a href="#setWidth">setWidth</a>(). -<h3 class=fn><a href="tqstring.html">TQString</a> <a name="anchorAt"></a>TQSimpleRichText::anchorAt ( const <a href="ntqpoint.html">TQPoint</a> & pos ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="anchorAt"></a>TQSimpleRichText::anchorAt ( const <a href="tqpoint.html">TQPoint</a> & pos ) const </h3> Returns the anchor at the requested position, <em>pos</em>. An empty string is returned if no anchor is specified for this position. @@ -146,7 +146,7 @@ been specified in the constructor, a null string is returned. The context is the path to use to look up relative links, such as image tags and anchor references. -<h3 class=fn>void <a name="draw"></a>TQSimpleRichText::draw ( <a href="tqpainter.html">TQPainter</a> * p, int x, int y, const <a href="ntqrect.html">TQRect</a> & clipRect, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, const <a href="tqbrush.html">TQBrush</a> * paper = 0 ) const +<h3 class=fn>void <a name="draw"></a>TQSimpleRichText::draw ( <a href="tqpainter.html">TQPainter</a> * p, int x, int y, const <a href="tqrect.html">TQRect</a> & clipRect, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, const <a href="tqbrush.html">TQBrush</a> * paper = 0 ) const </h3> Draws the formatted text with painter <em>p</em>, at position (<em>x</em>, <em>y</em>), clipped to <em>clipRect</em>. The clipping rectangle is given in the rich text object's coordinates translated by (<em>x</em>, <em>y</em>). Passing @@ -158,7 +158,7 @@ so passing a brush for <em>paper</em> is preferable to simply clearing the area to be painted and then calling this without a brush. <p>Examples: <a href="tqaction-application-example.html#x1158">action/application.cpp</a>, <a href="simple-application-example.html#x1576">application/application.cpp</a>, <a href="helpviewer-example.html#x1014">helpviewer/helpwindow.cpp</a>, and <a href="mdi-example.html#x2061">mdi/application.cpp</a>. -<h3 class=fn>void <a name="draw-2"></a>TQSimpleRichText::draw ( <a href="tqpainter.html">TQPainter</a> * p, int x, int y, const <a href="ntqregion.html">TQRegion</a> & clipRegion, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, const <a href="tqbrush.html">TQBrush</a> * paper = 0 ) const +<h3 class=fn>void <a name="draw-2"></a>TQSimpleRichText::draw ( <a href="tqpainter.html">TQPainter</a> * p, int x, int y, const <a href="tqregion.html">TQRegion</a> & clipRegion, const <a href="tqcolorgroup.html">TQColorGroup</a> & cg, const <a href="tqbrush.html">TQBrush</a> * paper = 0 ) const </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> Use the version with clipRect instead. The region version has @@ -171,7 +171,7 @@ Returns the height of the rich text object in pixels. <p> <p>See also <a href="#setWidth">setWidth</a>(). <p>Examples: <a href="tqaction-application-example.html#x1159">action/application.cpp</a>, <a href="simple-application-example.html#x1577">application/application.cpp</a>, <a href="helpviewer-example.html#x1015">helpviewer/helpwindow.cpp</a>, and <a href="mdi-example.html#x2062">mdi/application.cpp</a>. -<h3 class=fn>bool <a name="inText"></a>TQSimpleRichText::inText ( const <a href="ntqpoint.html">TQPoint</a> & pos ) const +<h3 class=fn>bool <a name="inText"></a>TQSimpleRichText::inText ( const <a href="tqpoint.html">TQPoint</a> & pos ) const </h3> Returns TRUE if <em>pos</em> is within a text line of the rich text object; otherwise returns FALSE. @@ -185,7 +185,7 @@ Sets the default font for the rich text object to <em>f</em> Sets the width of the rich text object to <em>w</em> pixels, recalculating the layout as if it were to be drawn with painter <em>p</em>. <p> Passing a painter is useful when you intend drawing on devices -other than the screen, for example a <a href="ntqprinter.html">TQPrinter</a>. +other than the screen, for example a <a href="tqprinter.html">TQPrinter</a>. <p> <p>See also <a href="#height">height</a>() and <a href="#adjustSize">adjustSize</a>(). <p>Examples: <a href="tqaction-application-example.html#x1160">action/application.cpp</a>, <a href="simple-application-example.html#x1578">application/application.cpp</a>, <a href="helpviewer-example.html#x1016">helpviewer/helpwindow.cpp</a>, and <a href="mdi-example.html#x2063">mdi/application.cpp</a>. |