1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Wt: Wt::WRectF Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceWt.html">Wt</a>::<a class="el" href="classWt_1_1WRectF.html">WRectF</a>
</div>
</div>
<div class="contents">
<h1>Wt::WRectF Class Reference<br>
<small>
[<a class="el" href="group__painting.html">Painting system</a>]</small>
</h1><!-- doxytag: class="Wt::WRectF" -->Utility class that defines a rectangle.
<a href="#_details">More...</a>
<p>
<code>#include <Wt/WRectF></code>
<p>
<p>
<a href="classWt_1_1WRectF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#7676cc3fde735f0eabc02df2ecb636c7">WRectF</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#7676cc3fde735f0eabc02df2ecb636c7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#3d26d539fec651826796afb2a5b87a83">WRectF</a> (double x, double y, double width, double height)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle. <a href="#3d26d539fec651826796afb2a5b87a83"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#23619ae019639c2057975535cd55c05c">WRectF</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &topLeft, const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &bottomRight)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle. <a href="#23619ae019639c2057975535cd55c05c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a62dd7b49290cbc39e5fba781a583a3"></a><!-- doxytag: member="Wt::WRectF::operator==" ref="0a62dd7b49290cbc39e5fba781a583a3" args="(const WRectF &rhs) const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#0a62dd7b49290cbc39e5fba781a583a3">operator==</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &rhs) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Comparison operator. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#249ad5fd8e9f8944c4766d46b6f14e0b">isNull</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Checks for a <em>null</em> rectangle. <a href="#249ad5fd8e9f8944c4766d46b6f14e0b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#7f162f054257cad98c19e6a75c789710">isEmpty</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Determines whether or not this rectangle is empty. <a href="#7f162f054257cad98c19e6a75c789710"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#6e3421e306699075d52111f60da2d057">setX</a> (double x)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the X-position of the left side. <a href="#6e3421e306699075d52111f60da2d057"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#95ac1538d8f47afee7fa031dccf8a9bf">setY</a> (double y)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the Y-position of the top side. <a href="#95ac1538d8f47afee7fa031dccf8a9bf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#f297f3a2020d409fa148f3e12e28097c">setWidth</a> (double width)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the width. <a href="#f297f3a2020d409fa148f3e12e28097c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#c035c1a098d61f09b746ec63d338ff9f">setHeight</a> (double height)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the Y-position of the top side. <a href="#c035c1a098d61f09b746ec63d338ff9f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#45bc90a0a76945e0dcd8c38a12194dd6">x</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the X-position of the left side. <a href="#45bc90a0a76945e0dcd8c38a12194dd6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#e1e0121826ab777d95f43fde599db13f">y</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the Y-position of the top side. <a href="#e1e0121826ab777d95f43fde599db13f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#a753427e56e604c9731ed230d3040003">width</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the width. <a href="#a753427e56e604c9731ed230d3040003"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#294cb52820c4c50d64c0af0da9af7c08">height</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the height. <a href="#294cb52820c4c50d64c0af0da9af7c08"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#d7ee063d60ea848ae3b37cf662b5827a">left</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the X position of the left side. <a href="#d7ee063d60ea848ae3b37cf662b5827a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#81a752c33b1fdb0988d81d3d411ea894">top</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the Y position of the top side. <a href="#81a752c33b1fdb0988d81d3d411ea894"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#d7d9f3b2208430ef38aa96a7d6592108">right</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the X position of the right side. <a href="#d7d9f3b2208430ef38aa96a7d6592108"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#577ea0708a4a4bb6f10febc9c1b8e567">bottom</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the Y position of the bottom side. <a href="#577ea0708a4a4bb6f10febc9c1b8e567"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#584b65722cf37b9ebcdb906b55c0d6dd">topLeft</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the top left point. <a href="#584b65722cf37b9ebcdb906b55c0d6dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#c596407f8db4cb1d57f55404a97e7845">topRight</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the top right point. <a href="#c596407f8db4cb1d57f55404a97e7845"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="152c145b940ce78d0e2071ea06b8e9ba"></a><!-- doxytag: member="Wt::WRectF::center" ref="152c145b940ce78d0e2071ea06b8e9ba" args="() const " -->
<a class="el" href="classWt_1_1WPointF.html">WPointF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#152c145b940ce78d0e2071ea06b8e9ba">center</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the center point. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#a567de202e36f066e90a020e44a3763a">bottomLeft</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the bottom left point. <a href="#a567de202e36f066e90a020e44a3763a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#d84efe11dde39872210dd03133ae6585">bottomRight</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the bottom right point. <a href="#d84efe11dde39872210dd03133ae6585"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90cc7f1034d1b298e6793e35023af281"></a><!-- doxytag: member="Wt::WRectF::contains" ref="90cc7f1034d1b298e6793e35023af281" args="(const WPointF &p) const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#90cc7f1034d1b298e6793e35023af281">contains</a> (const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> &p) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if a rectangle contains a point. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d686bb2322ed6e2d2e9c73d59bbf6ea0"></a><!-- doxytag: member="Wt::WRectF::contains" ref="d686bb2322ed6e2d2e9c73d59bbf6ea0" args="(double x, double y) const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#d686bb2322ed6e2d2e9c73d59bbf6ea0">contains</a> (double x, double y) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if a rectangle contains a point. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2efed036fc6fe7be636788893be65d5f"></a><!-- doxytag: member="Wt::WRectF::intersects" ref="2efed036fc6fe7be636788893be65d5f" args="(const WRectF &other) const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#2efed036fc6fe7be636788893be65d5f">intersects</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &other) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if two rectangles intersect. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86a64a17d5a11e2ea9b44fc9d2360ef6"></a><!-- doxytag: member="Wt::WRectF::united" ref="86a64a17d5a11e2ea9b44fc9d2360ef6" args="(const WRectF &other) const " -->
<a class="el" href="classWt_1_1WRectF.html">WRectF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#86a64a17d5a11e2ea9b44fc9d2360ef6">united</a> (const <a class="el" href="classWt_1_1WRectF.html">WRectF</a> &other) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Makes the union of to rectangles. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWt_1_1WRectF.html">WRectF</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1WRectF.html#8f0e63244aed0c98c2a2a63899408f05">normalized</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a normalized rectangle. <a href="#8f0e63244aed0c98c2a2a63899408f05"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Utility class that defines a rectangle.
<p>
The rectangle is defined by a top-left point and a width and height. <hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="7676cc3fde735f0eabc02df2ecb636c7"></a><!-- doxytag: member="Wt::WRectF::WRectF" ref="7676cc3fde735f0eabc02df2ecb636c7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Wt::WRectF::WRectF </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Default constructor.
<p>
Constructs a <code>null</code> rectangle.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#249ad5fd8e9f8944c4766d46b6f14e0b" title="Checks for a null rectangle.">isNull()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="3d26d539fec651826796afb2a5b87a83"></a><!-- doxytag: member="Wt::WRectF::WRectF" ref="3d26d539fec651826796afb2a5b87a83" args="(double x, double y, double width, double height)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Wt::WRectF::WRectF </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a rectangle.
<p>
Constructs a rectangle with top left point (<em>x</em>, <code>y</code>) and size <em>width</em> x <code>height</code>.
</div>
</div><p>
<a class="anchor" name="23619ae019639c2057975535cd55c05c"></a><!-- doxytag: member="Wt::WRectF::WRectF" ref="23619ae019639c2057975535cd55c05c" args="(const WPointF &topLeft, const WPointF &bottomRight)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Wt::WRectF::WRectF </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> & </td>
<td class="paramname"> <em>topLeft</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classWt_1_1WPointF.html">WPointF</a> & </td>
<td class="paramname"> <em>bottomRight</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a rectangle.
<p>
Constructs a rectangle from the two points <code>topLeft</code> and <code>bottomRight</code>.<p>
If you want to create a rectangle from two arbitrary corner points, you can use this constructor too, but should call <a class="el" href="classWt_1_1WRectF.html#8f0e63244aed0c98c2a2a63899408f05" title="Returns a normalized rectangle.">normalized()</a> afterwords.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="249ad5fd8e9f8944c4766d46b6f14e0b"></a><!-- doxytag: member="Wt::WRectF::isNull" ref="249ad5fd8e9f8944c4766d46b6f14e0b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Wt::WRectF::isNull </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Checks for a <em>null</em> rectangle.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#7676cc3fde735f0eabc02df2ecb636c7" title="Default constructor.">WRectF()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="7f162f054257cad98c19e6a75c789710"></a><!-- doxytag: member="Wt::WRectF::isEmpty" ref="7f162f054257cad98c19e6a75c789710" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Wt::WRectF::isEmpty </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Determines whether or not this rectangle is empty.
<p>
A rectangle is empty if its width or its height is less than or equal to zero.
</div>
</div><p>
<a class="anchor" name="6e3421e306699075d52111f60da2d057"></a><!-- doxytag: member="Wt::WRectF::setX" ref="6e3421e306699075d52111f60da2d057" args="(double x)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WRectF::setX </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"> <em>x</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the X-position of the left side.
<p>
The right side of the rectangle does not move, and as a result, the rectangle may be resized.
</div>
</div><p>
<a class="anchor" name="95ac1538d8f47afee7fa031dccf8a9bf"></a><!-- doxytag: member="Wt::WRectF::setY" ref="95ac1538d8f47afee7fa031dccf8a9bf" args="(double y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WRectF::setY </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"> <em>y</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the Y-position of the top side.
<p>
The bottom side of the rectangle does not move, and as a result, the rectangle may be resized.
</div>
</div><p>
<a class="anchor" name="f297f3a2020d409fa148f3e12e28097c"></a><!-- doxytag: member="Wt::WRectF::setWidth" ref="f297f3a2020d409fa148f3e12e28097c" args="(double width)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WRectF::setWidth </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"> <em>width</em> </td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the width.
<p>
The right side of the rectangle may move, but does not change the X position of the left side.
</div>
</div><p>
<a class="anchor" name="c035c1a098d61f09b746ec63d338ff9f"></a><!-- doxytag: member="Wt::WRectF::setHeight" ref="c035c1a098d61f09b746ec63d338ff9f" args="(double height)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Wt::WRectF::setHeight </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"> <em>height</em> </td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the Y-position of the top side.
<p>
The bottom side of the rectangle may move, but does not change the Y position of the top side.
</div>
</div><p>
<a class="anchor" name="45bc90a0a76945e0dcd8c38a12194dd6"></a><!-- doxytag: member="Wt::WRectF::x" ref="45bc90a0a76945e0dcd8c38a12194dd6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::x </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the X-position of the left side.
<p>
This is equivalent to <a class="el" href="classWt_1_1WRectF.html#d7ee063d60ea848ae3b37cf662b5827a" title="Returns the X position of the left side.">left()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#e1e0121826ab777d95f43fde599db13f" title="Returns the Y-position of the top side.">y()</a>, <a class="el" href="classWt_1_1WRectF.html#d7ee063d60ea848ae3b37cf662b5827a" title="Returns the X position of the left side.">left()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="e1e0121826ab777d95f43fde599db13f"></a><!-- doxytag: member="Wt::WRectF::y" ref="e1e0121826ab777d95f43fde599db13f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::y </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the Y-position of the top side.
<p>
This is equivalent to <a class="el" href="classWt_1_1WRectF.html#81a752c33b1fdb0988d81d3d411ea894" title="Returns the Y position of the top side.">top()</a>.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#45bc90a0a76945e0dcd8c38a12194dd6" title="Returns the X-position of the left side.">x()</a>, <a class="el" href="classWt_1_1WRectF.html#81a752c33b1fdb0988d81d3d411ea894" title="Returns the Y position of the top side.">top()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="a753427e56e604c9731ed230d3040003"></a><!-- doxytag: member="Wt::WRectF::width" ref="a753427e56e604c9731ed230d3040003" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::width </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the width.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#294cb52820c4c50d64c0af0da9af7c08" title="Returns the height.">height()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="294cb52820c4c50d64c0af0da9af7c08"></a><!-- doxytag: member="Wt::WRectF::height" ref="294cb52820c4c50d64c0af0da9af7c08" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::height </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the height.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#a753427e56e604c9731ed230d3040003" title="Returns the width.">width()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="d7ee063d60ea848ae3b37cf662b5827a"></a><!-- doxytag: member="Wt::WRectF::left" ref="d7ee063d60ea848ae3b37cf662b5827a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::left </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the X position of the left side.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#45bc90a0a76945e0dcd8c38a12194dd6" title="Returns the X-position of the left side.">x()</a>, <a class="el" href="classWt_1_1WRectF.html#d7d9f3b2208430ef38aa96a7d6592108" title="Returns the X position of the right side.">right()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="81a752c33b1fdb0988d81d3d411ea894"></a><!-- doxytag: member="Wt::WRectF::top" ref="81a752c33b1fdb0988d81d3d411ea894" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::top </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the Y position of the top side.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#e1e0121826ab777d95f43fde599db13f" title="Returns the Y-position of the top side.">y()</a>, <a class="el" href="classWt_1_1WRectF.html#577ea0708a4a4bb6f10febc9c1b8e567" title="Returns the Y position of the bottom side.">bottom()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="d7d9f3b2208430ef38aa96a7d6592108"></a><!-- doxytag: member="Wt::WRectF::right" ref="d7d9f3b2208430ef38aa96a7d6592108" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::right </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the X position of the right side.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#d7ee063d60ea848ae3b37cf662b5827a" title="Returns the X position of the left side.">left()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="577ea0708a4a4bb6f10febc9c1b8e567"></a><!-- doxytag: member="Wt::WRectF::bottom" ref="577ea0708a4a4bb6f10febc9c1b8e567" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Wt::WRectF::bottom </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the Y position of the bottom side.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#81a752c33b1fdb0988d81d3d411ea894" title="Returns the Y position of the top side.">top()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="584b65722cf37b9ebcdb906b55c0d6dd"></a><!-- doxytag: member="Wt::WRectF::topLeft" ref="584b65722cf37b9ebcdb906b55c0d6dd" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> Wt::WRectF::topLeft </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the top left point.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#d7ee063d60ea848ae3b37cf662b5827a" title="Returns the X position of the left side.">left()</a>, <a class="el" href="classWt_1_1WRectF.html#81a752c33b1fdb0988d81d3d411ea894" title="Returns the Y position of the top side.">top()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="c596407f8db4cb1d57f55404a97e7845"></a><!-- doxytag: member="Wt::WRectF::topRight" ref="c596407f8db4cb1d57f55404a97e7845" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> Wt::WRectF::topRight </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the top right point.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#d7d9f3b2208430ef38aa96a7d6592108" title="Returns the X position of the right side.">right()</a>, <a class="el" href="classWt_1_1WRectF.html#81a752c33b1fdb0988d81d3d411ea894" title="Returns the Y position of the top side.">top()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="a567de202e36f066e90a020e44a3763a"></a><!-- doxytag: member="Wt::WRectF::bottomLeft" ref="a567de202e36f066e90a020e44a3763a" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> Wt::WRectF::bottomLeft </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the bottom left point.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#d7ee063d60ea848ae3b37cf662b5827a" title="Returns the X position of the left side.">left()</a>, <a class="el" href="classWt_1_1WRectF.html#577ea0708a4a4bb6f10febc9c1b8e567" title="Returns the Y position of the bottom side.">bottom()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="d84efe11dde39872210dd03133ae6585"></a><!-- doxytag: member="Wt::WRectF::bottomRight" ref="d84efe11dde39872210dd03133ae6585" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WPointF.html">WPointF</a> Wt::WRectF::bottomRight </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the bottom right point.
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1WRectF.html#d7d9f3b2208430ef38aa96a7d6592108" title="Returns the X position of the right side.">right()</a>, <a class="el" href="classWt_1_1WRectF.html#577ea0708a4a4bb6f10febc9c1b8e567" title="Returns the Y position of the bottom side.">bottom()</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="8f0e63244aed0c98c2a2a63899408f05"></a><!-- doxytag: member="Wt::WRectF::normalized" ref="8f0e63244aed0c98c2a2a63899408f05" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classWt_1_1WRectF.html">WRectF</a> Wt::WRectF::normalized </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns a normalized rectangle.
<p>
A normalized rectangle has a positive width and height.
</div>
</div><p>
</div>
<hr size="1"><address style="align: right;"><small>
Generated on Fri Mar 26 17:12:07 2010 for <a href="http://www.webtoolkit.eu/wt/">Wt</a> by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address>
</body>
</html>
|