diff options
Diffstat (limited to 'doc/html/ntqpointarray.html')
-rw-r--r-- | doc/html/ntqpointarray.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/ntqpointarray.html b/doc/html/ntqpointarray.html index ef3c25396..dda487143 100644 --- a/doc/html/ntqpointarray.html +++ b/doc/html/ntqpointarray.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQPointArray class provides an array of points. <a href="#details">More...</a> <p><tt>#include <<a href="qpointarray-h.html">ntqpointarray.h</a>></tt> -<p>Inherits <a href="ntqmemarray.html">TQMemArray</a><TQPoint>. +<p>Inherits <a href="tqmemarray.html">TQMemArray</a><TQPoint>. <p><a href="qpointarray-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -71,7 +71,7 @@ The TQPointArray class provides an array of points. <p> A TQPointArray is an array of <a href="ntqpoint.html">TQPoint</a> objects. In addition to the -functions provided by <a href="ntqmemarray.html">TQMemArray</a>, TQPointArray provides some +functions provided by <a href="tqmemarray.html">TQMemArray</a>, TQPointArray provides some point-specific functions. <p> For convenient reading and writing of the point data use setPoints(), <a href="#putPoints">putPoints</a>(), <a href="#point">point</a>(), and <a href="#setPoint">setPoint</a>(). @@ -83,39 +83,39 @@ ellipses with <a href="#makeArc">makeArc</a>() and <a href="#makeEllipse">makeEl <a href="ntqpainter.html#drawPolyline">TQPainter::drawPolyline</a>(), <a href="ntqpainter.html#drawPolygon">TQPainter::drawPolygon</a>() and <a href="ntqpainter.html#drawCubicBezier">TQPainter::drawCubicBezier</a>(). <p> Note that because this class is a TQMemArray, copying an array and -modifying the copy modifies the original as well, i.e. a <a href="shclass.html#shallow-copy">shallow copy</a>. If you need a <a href="shclass.html#deep-copy">deep copy</a> use <a href="#copy">copy</a>() or <a href="ntqmemarray.html#detach">detach</a>(), for example: +modifying the copy modifies the original as well, i.e. a <a href="shclass.html#shallow-copy">shallow copy</a>. If you need a <a href="shclass.html#deep-copy">deep copy</a> use <a href="#copy">copy</a>() or <a href="tqmemarray.html#detach">detach</a>(), for example: <p> <pre> void drawGiraffe( const TQPointArray & r, TQPainter * p ) { TQPointArray tmp = r; - tmp.<a href="ntqmemarray.html#detach">detach</a>(); + tmp.<a href="tqmemarray.html#detach">detach</a>(); // some code that modifies tmp p->drawPoints( tmp ); } </pre> <p> If you forget the tmp.detach(), the const array will be modified. -<p> <p>See also <a href="ntqpainter.html">TQPainter</a>, <a href="ntqwmatrix.html">TQWMatrix</a>, <a href="ntqmemarray.html">TQMemArray</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>. +<p> <p>See also <a href="ntqpainter.html">TQPainter</a>, <a href="ntqwmatrix.html">TQWMatrix</a>, <a href="tqmemarray.html">TQMemArray</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQPointArray"></a>TQPointArray::TQPointArray () </h3> <p> Constructs a null point array. -<p> <p>See also <a href="ntqmemarray.html#isNull">isNull</a>(). +<p> <p>See also <a href="tqmemarray.html#isNull">isNull</a>(). <h3 class=fn><a name="TQPointArray-2"></a>TQPointArray::TQPointArray ( int size ) </h3> <p> Constructs a point array with room for <em>size</em> points. Makes a null array if <em>size</em> == 0. -<p> <p>See also <a href="ntqmemarray.html#resize">resize</a>() and <a href="ntqmemarray.html#isNull">isNull</a>(). +<p> <p>See also <a href="tqmemarray.html#resize">resize</a>() and <a href="tqmemarray.html#isNull">isNull</a>(). <h3 class=fn><a name="TQPointArray-3"></a>TQPointArray::TQPointArray ( const <a href="ntqpointarray.html">TQPointArray</a> & a ) </h3> <p> Constructs a <a href="shclass.html#shallow-copy">shallow copy</a> of the point array <em>a</em>. -<p> <p>See also <a href="#copy">copy</a>() and <a href="ntqmemarray.html#detach">detach</a>(). +<p> <p>See also <a href="#copy">copy</a>() and <a href="tqmemarray.html#detach">detach</a>(). <h3 class=fn><a name="TQPointArray-4"></a>TQPointArray::TQPointArray ( const <a href="ntqrect.html">TQRect</a> & r, bool closed = FALSE ) </h3> @@ -139,7 +139,7 @@ Returns the bounding rectangle of the points in the array, or </h3> <p> Creates a <a href="shclass.html#deep-copy">deep copy</a> of the array. -<p> <p>See also <a href="ntqmemarray.html#detach">detach</a>(). +<p> <p>See also <a href="tqmemarray.html#detach">detach</a>(). <h3 class=fn><a href="ntqpointarray.html">TQPointArray</a> <a name="cubicBezier"></a>TQPointArray::cubicBezier () const </h3> @@ -185,8 +185,8 @@ size, width <em>w</em> by height <em>h</em>, and position (<em>x</em>, <em>y</em <p> Assigns a <a href="shclass.html#shallow-copy">shallow copy</a> of <em>a</em> to this point array and returns a reference to this point array. -<p> Equivalent to <a href="ntqmemarray.html#assign">assign</a>(a). -<p> <p>See also <a href="#copy">copy</a>() and <a href="ntqmemarray.html#detach">detach</a>(). +<p> Equivalent to <a href="tqmemarray.html#assign">assign</a>(a). +<p> <p>See also <a href="#copy">copy</a>() and <a href="tqmemarray.html#detach">detach</a>(). <h3 class=fn>void <a name="point"></a>TQPointArray::point ( uint index, int * x, int * y ) const </h3> @@ -222,7 +222,7 @@ than extends: </pre> <p> The points are given as a sequence of integers, starting with <em>firstx</em> then <em>firsty</em>, and so on. -<p> <p>See also <a href="ntqmemarray.html#resize">resize</a>(). +<p> <p>See also <a href="tqmemarray.html#resize">resize</a>(). <h3 class=fn>bool <a name="putPoints-3"></a>TQPointArray::putPoints ( int index, int nPoints, const <a href="ntqpointarray.html">TQPointArray</a> & from, int fromIndex = 0 ) </h3> |