This file is indexed.

/usr/share/doc/libjuce/apiref/classJustification.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
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
<!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: Justification 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-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classJustification-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Justification Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Represents a type of justification to be used when positioning graphical items.  
 <a href="classJustification.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a1f8c07756c56fe8f31ed44964e51bfbc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbc">Flags</a> { <br />
&#160;&#160;<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca56156bb2892e32febf8011af9c5da653">left</a> = 1, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca92d0fe0a466b35d67e1b7b91f971d7bb">right</a> = 2, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcac9fd148cf8547fab0e3aeee306223ab2">horizontallyCentred</a> = 4, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaba34337f0f6a8cfcaf472a72f6d46649">top</a> = 8, 
<br />
&#160;&#160;<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcac77cede28d3cecdc46227f503446207b">bottom</a> = 16, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca8a4ec09c32a9a1111e72ec7a9b6f9411">verticallyCentred</a> = 32, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca0881c08fa2d58e9d6f36ab8bbea4b800">horizontallyJustified</a> = 64, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaf9d9adde20dce1aa38ff9a69be2b4384">centred</a> = 36, 
<br />
&#160;&#160;<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca66eba21caedb3d6bfbeff74c610628b4">centredLeft</a> = 33, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaea1dc507ac46f0c7417666ba14d9ad5e">centredRight</a> = 34, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca3a44a2451bf933ef23b99d19c53db3a5">centredTop</a> = 12, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca392a10b2805345384ac0589b1261cea9">centredBottom</a> = 20, 
<br />
&#160;&#160;<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaf2d7cc575db9d4d9a1305407625b7afd">topLeft</a> = 9, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca36ad3c72f605613650333cc78d1e0b44">topRight</a> = 10, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca3597930eb27b2d7aed0a929816a10ec0">bottomLeft</a> = 17, 
<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca397027445c8ee878b4f4871f10ba58d9">bottomRight</a> = 18
<br />
 }<tr class="memdesc:a1f8c07756c56fe8f31ed44964e51bfbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flag values that can be combined and used in the constructor.  <a href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbc">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a1f8c07756c56fe8f31ed44964e51bfbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a98e01ea7f8af9ea1cbf27bf8c8139b76"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#a98e01ea7f8af9ea1cbf27bf8c8139b76">Justification</a> (int justificationFlags) noexcept</td></tr>
<tr class="memdesc:a98e01ea7f8af9ea1cbf27bf8c8139b76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object using a combination of flags from the Flags enum.  <a href="#a98e01ea7f8af9ea1cbf27bf8c8139b76">More...</a><br /></td></tr>
<tr class="separator:a98e01ea7f8af9ea1cbf27bf8c8139b76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04002a24d0dea5eb7b893e364a12d0e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#a04002a24d0dea5eb7b893e364a12d0e7">Justification</a> (const <a class="el" href="classJustification.html">Justification</a> &amp;other) noexcept</td></tr>
<tr class="memdesc:a04002a24d0dea5eb7b893e364a12d0e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a copy of another <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object.  <a href="#a04002a24d0dea5eb7b893e364a12d0e7">More...</a><br /></td></tr>
<tr class="separator:a04002a24d0dea5eb7b893e364a12d0e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747e830f3478823948d1f5f109ade4f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJustification.html">Justification</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#a747e830f3478823948d1f5f109ade4f9">operator=</a> (const <a class="el" href="classJustification.html">Justification</a> &amp;other) noexcept</td></tr>
<tr class="memdesc:a747e830f3478823948d1f5f109ade4f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies another <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object.  <a href="#a747e830f3478823948d1f5f109ade4f9">More...</a><br /></td></tr>
<tr class="separator:a747e830f3478823948d1f5f109ade4f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a975c2fdf40e8243fac17861e179240ed"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#a975c2fdf40e8243fac17861e179240ed">operator==</a> (const <a class="el" href="classJustification.html">Justification</a> &amp;other) const noexcept</td></tr>
<tr class="separator:a975c2fdf40e8243fac17861e179240ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcdcb4a8ca5ea6da52244114256eea6f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#adcdcb4a8ca5ea6da52244114256eea6f">operator!=</a> (const <a class="el" href="classJustification.html">Justification</a> &amp;other) const noexcept</td></tr>
<tr class="separator:adcdcb4a8ca5ea6da52244114256eea6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa34a4685b36f9cbc012c7682d1688fd4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#aa34a4685b36f9cbc012c7682d1688fd4">getFlags</a> () const noexcept</td></tr>
<tr class="memdesc:aa34a4685b36f9cbc012c7682d1688fd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the raw flags that are set for this <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object.  <a href="#aa34a4685b36f9cbc012c7682d1688fd4">More...</a><br /></td></tr>
<tr class="separator:aa34a4685b36f9cbc012c7682d1688fd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdcebb7ecc5434a82f7e282d9f17c39f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#afdcebb7ecc5434a82f7e282d9f17c39f">testFlags</a> (int flagsToTest) const noexcept</td></tr>
<tr class="memdesc:afdcebb7ecc5434a82f7e282d9f17c39f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests a set of flags for this object.  <a href="#afdcebb7ecc5434a82f7e282d9f17c39f">More...</a><br /></td></tr>
<tr class="separator:afdcebb7ecc5434a82f7e282d9f17c39f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab92d64608943bf4ddfc71c456f2af147"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#ab92d64608943bf4ddfc71c456f2af147">getOnlyVerticalFlags</a> () const noexcept</td></tr>
<tr class="memdesc:ab92d64608943bf4ddfc71c456f2af147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns just the flags from this object that deal with vertical layout.  <a href="#ab92d64608943bf4ddfc71c456f2af147">More...</a><br /></td></tr>
<tr class="separator:ab92d64608943bf4ddfc71c456f2af147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8318bc37f42d5296c334770fd9edd4e3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJustification.html#a8318bc37f42d5296c334770fd9edd4e3">getOnlyHorizontalFlags</a> () const noexcept</td></tr>
<tr class="memdesc:a8318bc37f42d5296c334770fd9edd4e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns just the flags from this object that deal with horizontal layout.  <a href="#a8318bc37f42d5296c334770fd9edd4e3">More...</a><br /></td></tr>
<tr class="separator:a8318bc37f42d5296c334770fd9edd4e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ec608d8a7cf43d431ae2eb8c0e21597"><td class="memTemplParams" colspan="2">template&lt;typename ValueType &gt; </td></tr>
<tr class="memitem:a2ec608d8a7cf43d431ae2eb8c0e21597"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classJustification.html#a2ec608d8a7cf43d431ae2eb8c0e21597">applyToRectangle</a> (ValueType &amp;x, ValueType &amp;y, ValueType w, ValueType h, ValueType spaceX, ValueType spaceY, ValueType spaceW, ValueType spaceH) const noexcept</td></tr>
<tr class="memdesc:a2ec608d8a7cf43d431ae2eb8c0e21597"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts the position of a rectangle to fit it into a space.  <a href="#a2ec608d8a7cf43d431ae2eb8c0e21597">More...</a><br /></td></tr>
<tr class="separator:a2ec608d8a7cf43d431ae2eb8c0e21597"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11cb23fcc90a17ef4f5ac888e44d5bf6"><td class="memTemplParams" colspan="2">template&lt;typename ValueType &gt; </td></tr>
<tr class="memitem:a11cb23fcc90a17ef4f5ac888e44d5bf6"><td class="memTemplItemLeft" align="right" valign="top">const <a class="el" href="classRectangle.html">Rectangle</a>&lt; ValueType &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classJustification.html#a11cb23fcc90a17ef4f5ac888e44d5bf6">appliedToRectangle</a> (const <a class="el" href="classRectangle.html">Rectangle</a>&lt; ValueType &gt; &amp;areaToAdjust, const <a class="el" href="classRectangle.html">Rectangle</a>&lt; ValueType &gt; &amp;targetSpace) const noexcept</td></tr>
<tr class="memdesc:a11cb23fcc90a17ef4f5ac888e44d5bf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the new position of a rectangle that has been justified to fit within a given space.  <a href="#a11cb23fcc90a17ef4f5ac888e44d5bf6">More...</a><br /></td></tr>
<tr class="separator:a11cb23fcc90a17ef4f5ac888e44d5bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a type of justification to be used when positioning graphical items. </p>
<p>e.g. it indicates whether something should be placed top-left, top-right, centred, etc.</p>
<p>It is used in various places wherever this kind of information is needed. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a1f8c07756c56fe8f31ed44964e51bfbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f8c07756c56fe8f31ed44964e51bfbc">&sect;&nbsp;</a></span>Flags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbc">Justification::Flags</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flag values that can be combined and used in the constructor. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca56156bb2892e32febf8011af9c5da653"></a>left&#160;</td><td class="fielddoc"><p>Indicates that the item should be aligned against the left edge of the available space. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca92d0fe0a466b35d67e1b7b91f971d7bb"></a>right&#160;</td><td class="fielddoc"><p>Indicates that the item should be aligned against the right edge of the available space. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbcac9fd148cf8547fab0e3aeee306223ab2"></a>horizontallyCentred&#160;</td><td class="fielddoc"><p>Indicates that the item should be placed in the centre between the left and right sides of the available space. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbcaba34337f0f6a8cfcaf472a72f6d46649"></a>top&#160;</td><td class="fielddoc"><p>Indicates that the item should be aligned against the top edge of the available space. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbcac77cede28d3cecdc46227f503446207b"></a>bottom&#160;</td><td class="fielddoc"><p>Indicates that the item should be aligned against the bottom edge of the available space. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca8a4ec09c32a9a1111e72ec7a9b6f9411"></a>verticallyCentred&#160;</td><td class="fielddoc"><p>Indicates that the item should be placed in the centre between the top and bottom sides of the available space. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca0881c08fa2d58e9d6f36ab8bbea4b800"></a>horizontallyJustified&#160;</td><td class="fielddoc"><p>Indicates that lines of text should be spread out to fill the maximum width available, so that both margins are aligned vertically. </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbcaf9d9adde20dce1aa38ff9a69be2b4384"></a>centred&#160;</td><td class="fielddoc"><p>Indicates that the item should be centred vertically and horizontally. </p>
<p>This is equivalent to (horizontallyCentred | verticallyCentred) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca66eba21caedb3d6bfbeff74c610628b4"></a>centredLeft&#160;</td><td class="fielddoc"><p>Indicates that the item should be centred vertically but placed on the left hand side. </p>
<p>This is equivalent to (left | verticallyCentred) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbcaea1dc507ac46f0c7417666ba14d9ad5e"></a>centredRight&#160;</td><td class="fielddoc"><p>Indicates that the item should be centred vertically but placed on the right hand side. </p>
<p>This is equivalent to (right | verticallyCentred) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca3a44a2451bf933ef23b99d19c53db3a5"></a>centredTop&#160;</td><td class="fielddoc"><p>Indicates that the item should be centred horizontally and placed at the top. </p>
<p>This is equivalent to (horizontallyCentred | top) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca392a10b2805345384ac0589b1261cea9"></a>centredBottom&#160;</td><td class="fielddoc"><p>Indicates that the item should be centred horizontally and placed at the bottom. </p>
<p>This is equivalent to (horizontallyCentred | bottom) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbcaf2d7cc575db9d4d9a1305407625b7afd"></a>topLeft&#160;</td><td class="fielddoc"><p>Indicates that the item should be placed in the top-left corner. </p>
<p>This is equivalent to (left | top) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca36ad3c72f605613650333cc78d1e0b44"></a>topRight&#160;</td><td class="fielddoc"><p>Indicates that the item should be placed in the top-right corner. </p>
<p>This is equivalent to (right | top) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca3597930eb27b2d7aed0a929816a10ec0"></a>bottomLeft&#160;</td><td class="fielddoc"><p>Indicates that the item should be placed in the bottom-left corner. </p>
<p>This is equivalent to (left | bottom) </p>
</td></tr>
<tr><td class="fieldname"><a id="a1f8c07756c56fe8f31ed44964e51bfbca397027445c8ee878b4f4871f10ba58d9"></a>bottomRight&#160;</td><td class="fielddoc"><p>Indicates that the item should be placed in the bottom-left corner. </p>
<p>This is equivalent to (right | bottom) </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a98e01ea7f8af9ea1cbf27bf8c8139b76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98e01ea7f8af9ea1cbf27bf8c8139b76">&sect;&nbsp;</a></span>Justification() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Justification::Justification </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>justificationFlags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object using a combination of flags from the Flags enum. </p>

</div>
</div>
<a id="a04002a24d0dea5eb7b893e364a12d0e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04002a24d0dea5eb7b893e364a12d0e7">&sect;&nbsp;</a></span>Justification() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Justification::Justification </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classJustification.html">Justification</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a copy of another <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a747e830f3478823948d1f5f109ade4f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a747e830f3478823948d1f5f109ade4f9">&sect;&nbsp;</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"><a class="el" href="classJustification.html">Justification</a>&amp; Justification::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classJustification.html">Justification</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copies another <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object. </p>

</div>
</div>
<a id="a975c2fdf40e8243fac17861e179240ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a975c2fdf40e8243fac17861e179240ed">&sect;&nbsp;</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 Justification::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classJustification.html">Justification</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></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="adcdcb4a8ca5ea6da52244114256eea6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcdcb4a8ca5ea6da52244114256eea6f">&sect;&nbsp;</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 Justification::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classJustification.html">Justification</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></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="aa34a4685b36f9cbc012c7682d1688fd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa34a4685b36f9cbc012c7682d1688fd4">&sect;&nbsp;</a></span>getFlags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Justification::getFlags </td>
          <td>(</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">

<p>Returns the raw flags that are set for this <a class="el" href="classJustification.html" title="Represents a type of justification to be used when positioning graphical items. ">Justification</a> object. </p>

</div>
</div>
<a id="afdcebb7ecc5434a82f7e282d9f17c39f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdcebb7ecc5434a82f7e282d9f17c39f">&sect;&nbsp;</a></span>testFlags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Justification::testFlags </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flagsToTest</em></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">

<p>Tests a set of flags for this object. </p>
<dl class="section return"><dt>Returns</dt><dd>true if any of the flags passed in are set on this object. </dd></dl>

</div>
</div>
<a id="ab92d64608943bf4ddfc71c456f2af147"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab92d64608943bf4ddfc71c456f2af147">&sect;&nbsp;</a></span>getOnlyVerticalFlags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Justification::getOnlyVerticalFlags </td>
          <td>(</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">

<p>Returns just the flags from this object that deal with vertical layout. </p>

<p>References <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcac77cede28d3cecdc46227f503446207b">bottom</a>, <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaba34337f0f6a8cfcaf472a72f6d46649">top</a>, and <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca8a4ec09c32a9a1111e72ec7a9b6f9411">verticallyCentred</a>.</p>

</div>
</div>
<a id="a8318bc37f42d5296c334770fd9edd4e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8318bc37f42d5296c334770fd9edd4e3">&sect;&nbsp;</a></span>getOnlyHorizontalFlags()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int Justification::getOnlyHorizontalFlags </td>
          <td>(</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">

<p>Returns just the flags from this object that deal with horizontal layout. </p>

<p>References <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcac9fd148cf8547fab0e3aeee306223ab2">horizontallyCentred</a>, <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca0881c08fa2d58e9d6f36ab8bbea4b800">horizontallyJustified</a>, <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca56156bb2892e32febf8011af9c5da653">left</a>, and <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca92d0fe0a466b35d67e1b7b91f971d7bb">right</a>.</p>

</div>
</div>
<a id="a2ec608d8a7cf43d431ae2eb8c0e21597"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ec608d8a7cf43d431ae2eb8c0e21597">&sect;&nbsp;</a></span>applyToRectangle()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Justification::applyToRectangle </td>
          <td>(</td>
          <td class="paramtype">ValueType &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueType &amp;&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueType&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueType&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueType&#160;</td>
          <td class="paramname"><em>spaceX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueType&#160;</td>
          <td class="paramname"><em>spaceY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueType&#160;</td>
          <td class="paramname"><em>spaceW</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ValueType&#160;</td>
          <td class="paramname"><em>spaceH</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>Adjusts the position of a rectangle to fit it into a space. </p>
<p>The (x, y) position of the rectangle will be updated to position it inside the given space according to the justification flags. </p>

<p>References <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcac77cede28d3cecdc46227f503446207b">bottom</a>, <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcac9fd148cf8547fab0e3aeee306223ab2">horizontallyCentred</a>, <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca92d0fe0a466b35d67e1b7b91f971d7bb">right</a>, and <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbca8a4ec09c32a9a1111e72ec7a9b6f9411">verticallyCentred</a>.</p>

<p>Referenced by <a class="el" href="classJustification.html#a11cb23fcc90a17ef4f5ac888e44d5bf6">appliedToRectangle()</a>.</p>

</div>
</div>
<a id="a11cb23fcc90a17ef4f5ac888e44d5bf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11cb23fcc90a17ef4f5ac888e44d5bf6">&sect;&nbsp;</a></span>appliedToRectangle()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classRectangle.html">Rectangle</a>&lt;ValueType&gt; Justification::appliedToRectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>&lt; ValueType &gt; &amp;&#160;</td>
          <td class="paramname"><em>areaToAdjust</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>&lt; ValueType &gt; &amp;&#160;</td>
          <td class="paramname"><em>targetSpace</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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">

<p>Returns the new position of a rectangle that has been justified to fit within a given space. </p>

<p>References <a class="el" href="classJustification.html#a2ec608d8a7cf43d431ae2eb8c0e21597">applyToRectangle()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__Justification_8h.html">juce_Justification.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
</body>
</html>