/usr/share/doc/libjuce/apiref/classRelativeRectangle.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: RelativeRectangle Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="classRelativeRectangle-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">RelativeRectangle Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A rectangle stored as a set of <a class="el" href="classRelativeCoordinate.html" title="Expresses a coordinate as a dynamically evaluated expression. ">RelativeCoordinate</a> values.
<a href="classRelativeRectangle.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a6a2fa4fcfd1bc26742b261d93b572566"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a6a2fa4fcfd1bc26742b261d93b572566">RelativeRectangle</a> ()</td></tr>
<tr class="memdesc:a6a2fa4fcfd1bc26742b261d93b572566"><td class="mdescLeft"> </td><td class="mdescRight">Creates a zero-size rectangle at the origin. <a href="#a6a2fa4fcfd1bc26742b261d93b572566">More...</a><br /></td></tr>
<tr class="separator:a6a2fa4fcfd1bc26742b261d93b572566"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3c65d26dabe9863042ae112233b880f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#af3c65d26dabe9863042ae112233b880f">RelativeRectangle</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< float > &rect)</td></tr>
<tr class="memdesc:af3c65d26dabe9863042ae112233b880f"><td class="mdescLeft"> </td><td class="mdescRight">Creates an absolute rectangle, relative to the origin. <a href="#af3c65d26dabe9863042ae112233b880f">More...</a><br /></td></tr>
<tr class="separator:af3c65d26dabe9863042ae112233b880f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acaef9895af247a408b0d62218d04af74"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#acaef9895af247a408b0d62218d04af74">RelativeRectangle</a> (const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> &<a class="el" href="classRelativeRectangle.html#a4418206ad8d8830d55d37a3bdefbe085">left</a>, const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> &<a class="el" href="classRelativeRectangle.html#aa5d7a81e56ebaa8101aa23d43e652dd2">right</a>, const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> &<a class="el" href="classRelativeRectangle.html#accb0421b6997f1cadd8b8c7d76b4bd49">top</a>, const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> &<a class="el" href="classRelativeRectangle.html#a9575cf18e56f073da861de4b55ae9d57">bottom</a>)</td></tr>
<tr class="memdesc:acaef9895af247a408b0d62218d04af74"><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle from four coordinates. <a href="#acaef9895af247a408b0d62218d04af74">More...</a><br /></td></tr>
<tr class="separator:acaef9895af247a408b0d62218d04af74"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adbf13b28c72bd79bbe198f07b18574b0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#adbf13b28c72bd79bbe198f07b18574b0">RelativeRectangle</a> (const <a class="el" href="classString.html">String</a> &stringVersion)</td></tr>
<tr class="memdesc:adbf13b28c72bd79bbe198f07b18574b0"><td class="mdescLeft"> </td><td class="mdescRight">Creates a rectangle from a stringified representation. <a href="#adbf13b28c72bd79bbe198f07b18574b0">More...</a><br /></td></tr>
<tr class="separator:adbf13b28c72bd79bbe198f07b18574b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d350bfc8b46f6cf9456c4e428343bfb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a5d350bfc8b46f6cf9456c4e428343bfb">operator==</a> (const <a class="el" href="classRelativeRectangle.html">RelativeRectangle</a> &) const noexcept</td></tr>
<tr class="separator:a5d350bfc8b46f6cf9456c4e428343bfb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a84775a2c3ca2372e47845c1f7918b299"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a84775a2c3ca2372e47845c1f7918b299">operator!=</a> (const <a class="el" href="classRelativeRectangle.html">RelativeRectangle</a> &) const noexcept</td></tr>
<tr class="separator:a84775a2c3ca2372e47845c1f7918b299"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62cf2b4e1575e810e06ad49c29d0c2dc"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classRectangle.html">Rectangle</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a62cf2b4e1575e810e06ad49c29d0c2dc">resolve</a> (const <a class="el" href="classExpression_1_1Scope.html">Expression::Scope</a> *scope) const</td></tr>
<tr class="memdesc:a62cf2b4e1575e810e06ad49c29d0c2dc"><td class="mdescLeft"> </td><td class="mdescRight">Calculates the absolute position of this rectangle. <a href="#a62cf2b4e1575e810e06ad49c29d0c2dc">More...</a><br /></td></tr>
<tr class="separator:a62cf2b4e1575e810e06ad49c29d0c2dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af76a1248976d6b6e04d24ae3d93e3654"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#af76a1248976d6b6e04d24ae3d93e3654">moveToAbsolute</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< float > &newPos, const <a class="el" href="classExpression_1_1Scope.html">Expression::Scope</a> *scope)</td></tr>
<tr class="memdesc:af76a1248976d6b6e04d24ae3d93e3654"><td class="mdescLeft"> </td><td class="mdescRight">Changes the values of this rectangle's coordinates to make it resolve to the specified position. <a href="#af76a1248976d6b6e04d24ae3d93e3654">More...</a><br /></td></tr>
<tr class="separator:af76a1248976d6b6e04d24ae3d93e3654"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefab923d6faab0d9cc7715bb2e5c700e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#aefab923d6faab0d9cc7715bb2e5c700e">isDynamic</a> () const</td></tr>
<tr class="memdesc:aefab923d6faab0d9cc7715bb2e5c700e"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this rectangle depends on any external symbols for its position. <a href="#aefab923d6faab0d9cc7715bb2e5c700e">More...</a><br /></td></tr>
<tr class="separator:aefab923d6faab0d9cc7715bb2e5c700e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af5f397b20b5c5c6718d167f2076ffa9d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#af5f397b20b5c5c6718d167f2076ffa9d">toString</a> () const</td></tr>
<tr class="memdesc:af5f397b20b5c5c6718d167f2076ffa9d"><td class="mdescLeft"> </td><td class="mdescRight">Returns a string which represents this point. <a href="#af5f397b20b5c5c6718d167f2076ffa9d">More...</a><br /></td></tr>
<tr class="separator:af5f397b20b5c5c6718d167f2076ffa9d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8070db7b52deb2c44045a4d8dd4a7ac9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a8070db7b52deb2c44045a4d8dd4a7ac9">renameSymbol</a> (const <a class="el" href="structExpression_1_1Symbol.html">Expression::Symbol</a> &oldSymbol, const <a class="el" href="classString.html">String</a> &newName, const <a class="el" href="classExpression_1_1Scope.html">Expression::Scope</a> &scope)</td></tr>
<tr class="memdesc:a8070db7b52deb2c44045a4d8dd4a7ac9"><td class="mdescLeft"> </td><td class="mdescRight">Renames a symbol if it is used by any of the coordinates. <a href="#a8070db7b52deb2c44045a4d8dd4a7ac9">More...</a><br /></td></tr>
<tr class="separator:a8070db7b52deb2c44045a4d8dd4a7ac9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24543a01dcf4de771bd17877f31078ca"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a24543a01dcf4de771bd17877f31078ca">applyToComponent</a> (<a class="el" href="classComponent.html">Component</a> &component) const</td></tr>
<tr class="memdesc:a24543a01dcf4de771bd17877f31078ca"><td class="mdescLeft"> </td><td class="mdescRight">Creates and sets an appropriate <a class="el" href="classComponent_1_1Positioner.html" title="Base class for objects that can be used to automatically position a component according to some kind ...">Component::Positioner</a> object for the given component, which will keep it positioned with this rectangle. <a href="#a24543a01dcf4de771bd17877f31078ca">More...</a><br /></td></tr>
<tr class="separator:a24543a01dcf4de771bd17877f31078ca"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a4418206ad8d8830d55d37a3bdefbe085"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a4418206ad8d8830d55d37a3bdefbe085">left</a></td></tr>
<tr class="separator:a4418206ad8d8830d55d37a3bdefbe085"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5d7a81e56ebaa8101aa23d43e652dd2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#aa5d7a81e56ebaa8101aa23d43e652dd2">right</a></td></tr>
<tr class="separator:aa5d7a81e56ebaa8101aa23d43e652dd2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:accb0421b6997f1cadd8b8c7d76b4bd49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#accb0421b6997f1cadd8b8c7d76b4bd49">top</a></td></tr>
<tr class="separator:accb0421b6997f1cadd8b8c7d76b4bd49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9575cf18e56f073da861de4b55ae9d57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classRelativeRectangle.html#a9575cf18e56f073da861de4b55ae9d57">bottom</a></td></tr>
<tr class="separator:a9575cf18e56f073da861de4b55ae9d57"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A rectangle stored as a set of <a class="el" href="classRelativeCoordinate.html" title="Expresses a coordinate as a dynamically evaluated expression. ">RelativeCoordinate</a> values. </p>
<p>The rectangle's top, left, bottom and right edge positions are each stored as a <a class="el" href="classRelativeCoordinate.html" title="Expresses a coordinate as a dynamically evaluated expression. ">RelativeCoordinate</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classRelativeCoordinate.html" title="Expresses a coordinate as a dynamically evaluated expression. ">RelativeCoordinate</a>, <a class="el" href="classRelativePoint.html" title="An X-Y position stored as a pair of RelativeCoordinate values. ">RelativePoint</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a6a2fa4fcfd1bc26742b261d93b572566"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a2fa4fcfd1bc26742b261d93b572566">§ </a></span>RelativeRectangle() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">RelativeRectangle::RelativeRectangle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a zero-size rectangle at the origin. </p>
</div>
</div>
<a id="af3c65d26dabe9863042ae112233b880f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3c65d26dabe9863042ae112233b880f">§ </a></span>RelativeRectangle() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">RelativeRectangle::RelativeRectangle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< float > & </td>
<td class="paramname"><em>rect</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an absolute rectangle, relative to the origin. </p>
</div>
</div>
<a id="acaef9895af247a408b0d62218d04af74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acaef9895af247a408b0d62218d04af74">§ </a></span>RelativeRectangle() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">RelativeRectangle::RelativeRectangle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> & </td>
<td class="paramname"><em>left</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> & </td>
<td class="paramname"><em>right</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> & </td>
<td class="paramname"><em>top</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> & </td>
<td class="paramname"><em>bottom</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a rectangle from four coordinates. </p>
</div>
</div>
<a id="adbf13b28c72bd79bbe198f07b18574b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbf13b28c72bd79bbe198f07b18574b0">§ </a></span>RelativeRectangle() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">RelativeRectangle::RelativeRectangle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>stringVersion</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a rectangle from a stringified representation. </p>
<p>The string must contain a sequence of 4 coordinates, separated by commas, in the order left, top, right, bottom. The syntax for the coordinate strings is explained in the <a class="el" href="classRelativeCoordinate.html" title="Expresses a coordinate as a dynamically evaluated expression. ">RelativeCoordinate</a> class. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classRelativeRectangle.html#af5f397b20b5c5c6718d167f2076ffa9d" title="Returns a string which represents this point. ">toString</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a5d350bfc8b46f6cf9456c4e428343bfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d350bfc8b46f6cf9456c4e428343bfb">§ </a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool RelativeRectangle::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRelativeRectangle.html">RelativeRectangle</a> & </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a84775a2c3ca2372e47845c1f7918b299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84775a2c3ca2372e47845c1f7918b299">§ </a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool RelativeRectangle::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRelativeRectangle.html">RelativeRectangle</a> & </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a62cf2b4e1575e810e06ad49c29d0c2dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62cf2b4e1575e810e06ad49c29d0c2dc">§ </a></span>resolve()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classRectangle.html">Rectangle</a><float> RelativeRectangle::resolve </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classExpression_1_1Scope.html">Expression::Scope</a> * </td>
<td class="paramname"><em>scope</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculates the absolute position of this rectangle. </p>
<p>You'll need to provide a suitable <a class="el" href="classExpression_1_1Scope.html" title="When evaluating an Expression object, this class is used to resolve symbols and perform functions tha...">Expression::Scope</a> for looking up any coordinates that may be needed to calculate the result. </p>
</div>
</div>
<a id="af76a1248976d6b6e04d24ae3d93e3654"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af76a1248976d6b6e04d24ae3d93e3654">§ </a></span>moveToAbsolute()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RelativeRectangle::moveToAbsolute </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< float > & </td>
<td class="paramname"><em>newPos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classExpression_1_1Scope.html">Expression::Scope</a> * </td>
<td class="paramname"><em>scope</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the values of this rectangle's coordinates to make it resolve to the specified position. </p>
<p>Calling this will leave any anchor points unchanged, but will set any absolute or relative positions to whatever values are necessary to make the resultant position match the position that is provided. </p>
</div>
</div>
<a id="aefab923d6faab0d9cc7715bb2e5c700e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefab923d6faab0d9cc7715bb2e5c700e">§ </a></span>isDynamic()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool RelativeRectangle::isDynamic </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this rectangle depends on any external symbols for its position. </p>
<p>Coordinates that refer to symbols based on "this" are assumed not to be dynamic. </p>
</div>
</div>
<a id="af5f397b20b5c5c6718d167f2076ffa9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5f397b20b5c5c6718d167f2076ffa9d">§ </a></span>toString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classString.html">String</a> RelativeRectangle::toString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a string which represents this point. </p>
<p>This returns a comma-separated list of coordinates, in the order left, top, right, bottom. If you're using this to position a <a class="el" href="classComponent.html" title="The base class for all JUCE user-interface objects. ">Component</a>, then see the notes for <a class="el" href="classComponent.html#a64cbeee83a441e20ed5e7acb600ae107" title="Changes the component's position and size. ">Component::setBounds</a> (const <a class="el" href="classRelativeRectangle.html" title="A rectangle stored as a set of RelativeCoordinate values. ">RelativeRectangle</a>&) for details of the syntax used. The string that is returned can be passed to the <a class="el" href="classRelativeRectangle.html" title="A rectangle stored as a set of RelativeCoordinate values. ">RelativeRectangle</a> constructor to recreate the rectangle. </p>
</div>
</div>
<a id="a8070db7b52deb2c44045a4d8dd4a7ac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8070db7b52deb2c44045a4d8dd4a7ac9">§ </a></span>renameSymbol()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RelativeRectangle::renameSymbol </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structExpression_1_1Symbol.html">Expression::Symbol</a> & </td>
<td class="paramname"><em>oldSymbol</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classString.html">String</a> & </td>
<td class="paramname"><em>newName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classExpression_1_1Scope.html">Expression::Scope</a> & </td>
<td class="paramname"><em>scope</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Renames a symbol if it is used by any of the coordinates. </p>
<p>This calls <a class="el" href="classExpression.html#acec447e85b793db76fbcb46e72bf1cd9" title="Returns a copy of this expression in which all instances of a given symbol have been renamed...">Expression::withRenamedSymbol()</a> on the rectangle's coordinates. </p>
</div>
</div>
<a id="a24543a01dcf4de771bd17877f31078ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24543a01dcf4de771bd17877f31078ca">§ </a></span>applyToComponent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void RelativeRectangle::applyToComponent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classComponent.html">Component</a> & </td>
<td class="paramname"><em>component</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates and sets an appropriate <a class="el" href="classComponent_1_1Positioner.html" title="Base class for objects that can be used to automatically position a component according to some kind ...">Component::Positioner</a> object for the given component, which will keep it positioned with this rectangle. </p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4418206ad8d8830d55d37a3bdefbe085"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4418206ad8d8830d55d37a3bdefbe085">§ </a></span>left</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> RelativeRectangle::left</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa5d7a81e56ebaa8101aa23d43e652dd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5d7a81e56ebaa8101aa23d43e652dd2">§ </a></span>right</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> RelativeRectangle::right</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="accb0421b6997f1cadd8b8c7d76b4bd49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accb0421b6997f1cadd8b8c7d76b4bd49">§ </a></span>top</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> RelativeRectangle::top</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a9575cf18e56f073da861de4b55ae9d57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9575cf18e56f073da861de4b55ae9d57">§ </a></span>bottom</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classRelativeCoordinate.html">RelativeCoordinate</a> RelativeRectangle::bottom</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__RelativeRectangle_8h.html">juce_RelativeRectangle.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|