/usr/share/doc/libjuce/apiref/classPath.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 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 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 | <!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: Path 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="#nested-classes">Classes</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> |
<a href="classPath-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Path Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A path is a sequence of lines and curves that may either form a closed shape or be open-ended.
<a href="classPath.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath_1_1Iterator.html">Iterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Iterates the lines and curves that a path contains. <a href="classPath_1_1Iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </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:af26cfab021ddf49af73da3b2beca85ac"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#af26cfab021ddf49af73da3b2beca85ac">Path</a> ()</td></tr>
<tr class="memdesc:af26cfab021ddf49af73da3b2beca85ac"><td class="mdescLeft"> </td><td class="mdescRight">Creates an empty path. <a href="#af26cfab021ddf49af73da3b2beca85ac">More...</a><br /></td></tr>
<tr class="separator:af26cfab021ddf49af73da3b2beca85ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabf51b70a75823c1f32e56973e4406b6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aabf51b70a75823c1f32e56973e4406b6">Path</a> (const <a class="el" href="classPath.html">Path</a> &)</td></tr>
<tr class="memdesc:aabf51b70a75823c1f32e56973e4406b6"><td class="mdescLeft"> </td><td class="mdescRight">Creates a copy of another path. <a href="#aabf51b70a75823c1f32e56973e4406b6">More...</a><br /></td></tr>
<tr class="separator:aabf51b70a75823c1f32e56973e4406b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a141da9ff89c85e0ba410b5a73864c267"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a141da9ff89c85e0ba410b5a73864c267">~Path</a> ()</td></tr>
<tr class="memdesc:a141da9ff89c85e0ba410b5a73864c267"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a141da9ff89c85e0ba410b5a73864c267">More...</a><br /></td></tr>
<tr class="separator:a141da9ff89c85e0ba410b5a73864c267"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a91faa5b4e71c547cc70da13051fa5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPath.html">Path</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a8a91faa5b4e71c547cc70da13051fa5b">operator=</a> (const <a class="el" href="classPath.html">Path</a> &)</td></tr>
<tr class="memdesc:a8a91faa5b4e71c547cc70da13051fa5b"><td class="mdescLeft"> </td><td class="mdescRight">Copies this path from another one. <a href="#a8a91faa5b4e71c547cc70da13051fa5b">More...</a><br /></td></tr>
<tr class="separator:a8a91faa5b4e71c547cc70da13051fa5b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2f0cd710a7e0d54764556e574445dca"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ab2f0cd710a7e0d54764556e574445dca">Path</a> (<a class="el" href="classPath.html">Path</a> &&) noexcept</td></tr>
<tr class="separator:ab2f0cd710a7e0d54764556e574445dca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a0da1f9754f107fee4c6ef07f0fb683"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPath.html">Path</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a6a0da1f9754f107fee4c6ef07f0fb683">operator=</a> (<a class="el" href="classPath.html">Path</a> &&) noexcept</td></tr>
<tr class="separator:a6a0da1f9754f107fee4c6ef07f0fb683"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a79cc780c856a2a41be5450fe9d4c848c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a79cc780c856a2a41be5450fe9d4c848c">operator==</a> (const <a class="el" href="classPath.html">Path</a> &) const noexcept</td></tr>
<tr class="separator:a79cc780c856a2a41be5450fe9d4c848c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab72bce9d1aeaed78f3ca17c3ed267052"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ab72bce9d1aeaed78f3ca17c3ed267052">operator!=</a> (const <a class="el" href="classPath.html">Path</a> &) const noexcept</td></tr>
<tr class="separator:ab72bce9d1aeaed78f3ca17c3ed267052"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89f5009bba5ce65b71cc8072f18c4775"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a89f5009bba5ce65b71cc8072f18c4775">isEmpty</a> () const noexcept</td></tr>
<tr class="memdesc:a89f5009bba5ce65b71cc8072f18c4775"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the path doesn't contain any lines or curves. <a href="#a89f5009bba5ce65b71cc8072f18c4775">More...</a><br /></td></tr>
<tr class="separator:a89f5009bba5ce65b71cc8072f18c4775"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab5059c0564fb8303d6d87dd09ef54ca5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ab5059c0564fb8303d6d87dd09ef54ca5">getBounds</a> () const noexcept</td></tr>
<tr class="memdesc:ab5059c0564fb8303d6d87dd09ef54ca5"><td class="mdescLeft"> </td><td class="mdescRight">Returns the smallest rectangle that contains all points within the path. <a href="#ab5059c0564fb8303d6d87dd09ef54ca5">More...</a><br /></td></tr>
<tr class="separator:ab5059c0564fb8303d6d87dd09ef54ca5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e2d36b20feaf2cd1b95c7ff84b13e55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRectangle.html">Rectangle</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a6e2d36b20feaf2cd1b95c7ff84b13e55">getBoundsTransformed</a> (const <a class="el" href="classAffineTransform.html">AffineTransform</a> &transform) const noexcept</td></tr>
<tr class="memdesc:a6e2d36b20feaf2cd1b95c7ff84b13e55"><td class="mdescLeft"> </td><td class="mdescRight">Returns the smallest rectangle that contains all points within the path after it's been transformed with the given tranasform matrix. <a href="#a6e2d36b20feaf2cd1b95c7ff84b13e55">More...</a><br /></td></tr>
<tr class="separator:a6e2d36b20feaf2cd1b95c7ff84b13e55"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7c65b793178fc6275c03dad429be9ba8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a7c65b793178fc6275c03dad429be9ba8">contains</a> (float x, float y, float tolerance=<a class="el" href="classPath.html#aa23f987b8292143c3c9a6d9b0a131c3b">defaultToleranceForTesting</a>) const</td></tr>
<tr class="memdesc:a7c65b793178fc6275c03dad429be9ba8"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether a point lies within the path. <a href="#a7c65b793178fc6275c03dad429be9ba8">More...</a><br /></td></tr>
<tr class="separator:a7c65b793178fc6275c03dad429be9ba8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae1fe71db715ff22754cb4ad9455adf0b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ae1fe71db715ff22754cb4ad9455adf0b">contains</a> (const <a class="el" href="classPoint.html">Point</a>< float > point, float tolerance=<a class="el" href="classPath.html#aa23f987b8292143c3c9a6d9b0a131c3b">defaultToleranceForTesting</a>) const</td></tr>
<tr class="memdesc:ae1fe71db715ff22754cb4ad9455adf0b"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether a point lies within the path. <a href="#ae1fe71db715ff22754cb4ad9455adf0b">More...</a><br /></td></tr>
<tr class="separator:ae1fe71db715ff22754cb4ad9455adf0b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ff16eb0e318cfc8a40a462a7abd8637"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a6ff16eb0e318cfc8a40a462a7abd8637">intersectsLine</a> (<a class="el" href="classLine.html">Line</a>< float > line, float tolerance=<a class="el" href="classPath.html#aa23f987b8292143c3c9a6d9b0a131c3b">defaultToleranceForTesting</a>)</td></tr>
<tr class="memdesc:a6ff16eb0e318cfc8a40a462a7abd8637"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether a line crosses the path. <a href="#a6ff16eb0e318cfc8a40a462a7abd8637">More...</a><br /></td></tr>
<tr class="separator:a6ff16eb0e318cfc8a40a462a7abd8637"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa26d457dd5d069330ad3be89661349fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLine.html">Line</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aa26d457dd5d069330ad3be89661349fb">getClippedLine</a> (<a class="el" href="classLine.html">Line</a>< float > line, bool keepSectionOutsidePath) const</td></tr>
<tr class="memdesc:aa26d457dd5d069330ad3be89661349fb"><td class="mdescLeft"> </td><td class="mdescRight">Cuts off parts of a line to keep the parts that are either inside or outside this path. <a href="#aa26d457dd5d069330ad3be89661349fb">More...</a><br /></td></tr>
<tr class="separator:aa26d457dd5d069330ad3be89661349fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1116b5772da6fadbd3a78b580535dddd"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a1116b5772da6fadbd3a78b580535dddd">getLength</a> (const <a class="el" href="classAffineTransform.html">AffineTransform</a> &transform=<a class="el" href="classAffineTransform.html">AffineTransform</a>(), float tolerance=<a class="el" href="classPath.html#a8e27579a740ab71d223ea7398a995fbb">defaultToleranceForMeasurement</a>) const</td></tr>
<tr class="memdesc:a1116b5772da6fadbd3a78b580535dddd"><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of the path. <a href="#a1116b5772da6fadbd3a78b580535dddd">More...</a><br /></td></tr>
<tr class="separator:a1116b5772da6fadbd3a78b580535dddd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa1a706355805a4dcbcfbd5a84062d4e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aa1a706355805a4dcbcfbd5a84062d4e5">getPointAlongPath</a> (float distanceFromStart, const <a class="el" href="classAffineTransform.html">AffineTransform</a> &transform=<a class="el" href="classAffineTransform.html">AffineTransform</a>(), float tolerance=<a class="el" href="classPath.html#a8e27579a740ab71d223ea7398a995fbb">defaultToleranceForMeasurement</a>) const</td></tr>
<tr class="memdesc:aa1a706355805a4dcbcfbd5a84062d4e5"><td class="mdescLeft"> </td><td class="mdescRight">Returns a point that is the specified distance along the path. <a href="#aa1a706355805a4dcbcfbd5a84062d4e5">More...</a><br /></td></tr>
<tr class="separator:aa1a706355805a4dcbcfbd5a84062d4e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af389a0e74fee50bf32ae50572c2cba4a"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#af389a0e74fee50bf32ae50572c2cba4a">getNearestPoint</a> (<a class="el" href="classPoint.html">Point</a>< float > targetPoint, <a class="el" href="classPoint.html">Point</a>< float > &pointOnPath, const <a class="el" href="classAffineTransform.html">AffineTransform</a> &transform=<a class="el" href="classAffineTransform.html">AffineTransform</a>(), float tolerance=<a class="el" href="classPath.html#a8e27579a740ab71d223ea7398a995fbb">defaultToleranceForMeasurement</a>) const</td></tr>
<tr class="memdesc:af389a0e74fee50bf32ae50572c2cba4a"><td class="mdescLeft"> </td><td class="mdescRight">Finds the point along the path which is nearest to a given position. <a href="#af389a0e74fee50bf32ae50572c2cba4a">More...</a><br /></td></tr>
<tr class="separator:af389a0e74fee50bf32ae50572c2cba4a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69d4fda65a46a1f1f32cbec49ebc0910"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a69d4fda65a46a1f1f32cbec49ebc0910">clear</a> () noexcept</td></tr>
<tr class="memdesc:a69d4fda65a46a1f1f32cbec49ebc0910"><td class="mdescLeft"> </td><td class="mdescRight">Removes all lines and curves, resetting the path completely. <a href="#a69d4fda65a46a1f1f32cbec49ebc0910">More...</a><br /></td></tr>
<tr class="separator:a69d4fda65a46a1f1f32cbec49ebc0910"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c24222b2226b0e082069dbf789dca07"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07">startNewSubPath</a> (float startX, float startY)</td></tr>
<tr class="memdesc:a9c24222b2226b0e082069dbf789dca07"><td class="mdescLeft"> </td><td class="mdescRight">Begins a new subpath with a given starting position. <a href="#a9c24222b2226b0e082069dbf789dca07">More...</a><br /></td></tr>
<tr class="separator:a9c24222b2226b0e082069dbf789dca07"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aed6716d1cf75ca2023798cfb1f0b563f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aed6716d1cf75ca2023798cfb1f0b563f">startNewSubPath</a> (const <a class="el" href="classPoint.html">Point</a>< float > start)</td></tr>
<tr class="memdesc:aed6716d1cf75ca2023798cfb1f0b563f"><td class="mdescLeft"> </td><td class="mdescRight">Begins a new subpath with a given starting position. <a href="#aed6716d1cf75ca2023798cfb1f0b563f">More...</a><br /></td></tr>
<tr class="separator:aed6716d1cf75ca2023798cfb1f0b563f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3fb7879fd6e09ce7657260c7b2934162"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162">closeSubPath</a> ()</td></tr>
<tr class="memdesc:a3fb7879fd6e09ce7657260c7b2934162"><td class="mdescLeft"> </td><td class="mdescRight">Closes a the current sub-path with a line back to its start-point. <a href="#a3fb7879fd6e09ce7657260c7b2934162">More...</a><br /></td></tr>
<tr class="separator:a3fb7879fd6e09ce7657260c7b2934162"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6cfdf1dea900089ffee8eea61385062e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e">lineTo</a> (float endX, float endY)</td></tr>
<tr class="memdesc:a6cfdf1dea900089ffee8eea61385062e"><td class="mdescLeft"> </td><td class="mdescRight">Adds a line from the shape's last position to a new end-point. <a href="#a6cfdf1dea900089ffee8eea61385062e">More...</a><br /></td></tr>
<tr class="separator:a6cfdf1dea900089ffee8eea61385062e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a82c60c67575e58437fc4e8d3d9609ac6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a82c60c67575e58437fc4e8d3d9609ac6">lineTo</a> (const <a class="el" href="classPoint.html">Point</a>< float > end)</td></tr>
<tr class="memdesc:a82c60c67575e58437fc4e8d3d9609ac6"><td class="mdescLeft"> </td><td class="mdescRight">Adds a line from the shape's last position to a new end-point. <a href="#a82c60c67575e58437fc4e8d3d9609ac6">More...</a><br /></td></tr>
<tr class="separator:a82c60c67575e58437fc4e8d3d9609ac6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab50510cf385b9ea3fe64fef6be45f85b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b">quadraticTo</a> (float controlPointX, float controlPointY, float endPointX, float endPointY)</td></tr>
<tr class="memdesc:ab50510cf385b9ea3fe64fef6be45f85b"><td class="mdescLeft"> </td><td class="mdescRight">Adds a quadratic bezier curve from the shape's last position to a new position. <a href="#ab50510cf385b9ea3fe64fef6be45f85b">More...</a><br /></td></tr>
<tr class="separator:ab50510cf385b9ea3fe64fef6be45f85b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8f91ebcdb4b89fda5771be9792b29c9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ae8f91ebcdb4b89fda5771be9792b29c9">quadraticTo</a> (const <a class="el" href="classPoint.html">Point</a>< float > controlPoint, const <a class="el" href="classPoint.html">Point</a>< float > endPoint)</td></tr>
<tr class="memdesc:ae8f91ebcdb4b89fda5771be9792b29c9"><td class="mdescLeft"> </td><td class="mdescRight">Adds a quadratic bezier curve from the shape's last position to a new position. <a href="#ae8f91ebcdb4b89fda5771be9792b29c9">More...</a><br /></td></tr>
<tr class="separator:ae8f91ebcdb4b89fda5771be9792b29c9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a654df5afb3c113c0f6c5391a88d21811"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811">cubicTo</a> (float controlPoint1X, float controlPoint1Y, float controlPoint2X, float controlPoint2Y, float endPointX, float endPointY)</td></tr>
<tr class="memdesc:a654df5afb3c113c0f6c5391a88d21811"><td class="mdescLeft"> </td><td class="mdescRight">Adds a cubic bezier curve from the shape's last position to a new position. <a href="#a654df5afb3c113c0f6c5391a88d21811">More...</a><br /></td></tr>
<tr class="separator:a654df5afb3c113c0f6c5391a88d21811"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a781c3db731dd5e18e192ff7de71c3a50"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a781c3db731dd5e18e192ff7de71c3a50">cubicTo</a> (const <a class="el" href="classPoint.html">Point</a>< float > controlPoint1, const <a class="el" href="classPoint.html">Point</a>< float > controlPoint2, const <a class="el" href="classPoint.html">Point</a>< float > endPoint)</td></tr>
<tr class="memdesc:a781c3db731dd5e18e192ff7de71c3a50"><td class="mdescLeft"> </td><td class="mdescRight">Adds a cubic bezier curve from the shape's last position to a new position. <a href="#a781c3db731dd5e18e192ff7de71c3a50">More...</a><br /></td></tr>
<tr class="separator:a781c3db731dd5e18e192ff7de71c3a50"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab94c81275ca8cb6e317d1566babe3de1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPoint.html">Point</a>< float > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ab94c81275ca8cb6e317d1566babe3de1">getCurrentPosition</a> () const</td></tr>
<tr class="memdesc:ab94c81275ca8cb6e317d1566babe3de1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the last point that was added to the path by one of the drawing methods. <a href="#ab94c81275ca8cb6e317d1566babe3de1">More...</a><br /></td></tr>
<tr class="separator:ab94c81275ca8cb6e317d1566babe3de1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af63b8419acedc43ced5c79578be0f0ea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#af63b8419acedc43ced5c79578be0f0ea">addRectangle</a> (float x, float y, float width, float height)</td></tr>
<tr class="memdesc:af63b8419acedc43ced5c79578be0f0ea"><td class="mdescLeft"> </td><td class="mdescRight">Adds a rectangle to the path. <a href="#af63b8419acedc43ced5c79578be0f0ea">More...</a><br /></td></tr>
<tr class="separator:af63b8419acedc43ced5c79578be0f0ea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adddc02efd034e8d1af46cb586e221204"><td class="memTemplParams" colspan="2">template<typename ValueType > </td></tr>
<tr class="memitem:adddc02efd034e8d1af46cb586e221204"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPath.html#adddc02efd034e8d1af46cb586e221204">addRectangle</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< ValueType > &rectangle)</td></tr>
<tr class="memdesc:adddc02efd034e8d1af46cb586e221204"><td class="mdescLeft"> </td><td class="mdescRight">Adds a rectangle to the path. <a href="#adddc02efd034e8d1af46cb586e221204">More...</a><br /></td></tr>
<tr class="separator:adddc02efd034e8d1af46cb586e221204"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a501f83b0e323fe86d33c047f83451065"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a501f83b0e323fe86d33c047f83451065">addRoundedRectangle</a> (float x, float y, float width, float height, float cornerSize)</td></tr>
<tr class="memdesc:a501f83b0e323fe86d33c047f83451065"><td class="mdescLeft"> </td><td class="mdescRight">Adds a rectangle with rounded corners to the path. <a href="#a501f83b0e323fe86d33c047f83451065">More...</a><br /></td></tr>
<tr class="separator:a501f83b0e323fe86d33c047f83451065"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f06d92e26aa83cca9e96110711ffa6a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a4f06d92e26aa83cca9e96110711ffa6a">addRoundedRectangle</a> (float x, float y, float width, float height, float cornerSizeX, float cornerSizeY)</td></tr>
<tr class="memdesc:a4f06d92e26aa83cca9e96110711ffa6a"><td class="mdescLeft"> </td><td class="mdescRight">Adds a rectangle with rounded corners to the path. <a href="#a4f06d92e26aa83cca9e96110711ffa6a">More...</a><br /></td></tr>
<tr class="separator:a4f06d92e26aa83cca9e96110711ffa6a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae99d7f45ea1ba9481a82d9e8ac3b76ab"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ae99d7f45ea1ba9481a82d9e8ac3b76ab">addRoundedRectangle</a> (float x, float y, float width, float height, float cornerSizeX, float cornerSizeY, bool curveTopLeft, bool curveTopRight, bool curveBottomLeft, bool curveBottomRight)</td></tr>
<tr class="memdesc:ae99d7f45ea1ba9481a82d9e8ac3b76ab"><td class="mdescLeft"> </td><td class="mdescRight">Adds a rectangle with rounded corners to the path. <a href="#ae99d7f45ea1ba9481a82d9e8ac3b76ab">More...</a><br /></td></tr>
<tr class="separator:ae99d7f45ea1ba9481a82d9e8ac3b76ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e76921426b35e65345bc76ca462ecf8"><td class="memTemplParams" colspan="2">template<typename ValueType > </td></tr>
<tr class="memitem:a8e76921426b35e65345bc76ca462ecf8"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPath.html#a8e76921426b35e65345bc76ca462ecf8">addRoundedRectangle</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< ValueType > &rectangle, float cornerSizeX, float cornerSizeY)</td></tr>
<tr class="memdesc:a8e76921426b35e65345bc76ca462ecf8"><td class="mdescLeft"> </td><td class="mdescRight">Adds a rectangle with rounded corners to the path. <a href="#a8e76921426b35e65345bc76ca462ecf8">More...</a><br /></td></tr>
<tr class="separator:a8e76921426b35e65345bc76ca462ecf8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1999a0be77548a8624eeb3ce7486256e"><td class="memTemplParams" colspan="2">template<typename ValueType > </td></tr>
<tr class="memitem:a1999a0be77548a8624eeb3ce7486256e"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classPath.html#a1999a0be77548a8624eeb3ce7486256e">addRoundedRectangle</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< ValueType > &rectangle, float cornerSize)</td></tr>
<tr class="memdesc:a1999a0be77548a8624eeb3ce7486256e"><td class="mdescLeft"> </td><td class="mdescRight">Adds a rectangle with rounded corners to the path. <a href="#a1999a0be77548a8624eeb3ce7486256e">More...</a><br /></td></tr>
<tr class="separator:a1999a0be77548a8624eeb3ce7486256e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1508e0d3dd2048dc5304721bee6ee2c1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1">addTriangle</a> (float x1, float y1, float x2, float y2, float x3, float y3)</td></tr>
<tr class="memdesc:a1508e0d3dd2048dc5304721bee6ee2c1"><td class="mdescLeft"> </td><td class="mdescRight">Adds a triangle to the path. <a href="#a1508e0d3dd2048dc5304721bee6ee2c1">More...</a><br /></td></tr>
<tr class="separator:a1508e0d3dd2048dc5304721bee6ee2c1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5916146ffb0f70bbba6a4c72b7f0c3f1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a5916146ffb0f70bbba6a4c72b7f0c3f1">addTriangle</a> (<a class="el" href="classPoint.html">Point</a>< float > point1, <a class="el" href="classPoint.html">Point</a>< float > point2, <a class="el" href="classPoint.html">Point</a>< float > point3)</td></tr>
<tr class="memdesc:a5916146ffb0f70bbba6a4c72b7f0c3f1"><td class="mdescLeft"> </td><td class="mdescRight">Adds a triangle to the path. <a href="#a5916146ffb0f70bbba6a4c72b7f0c3f1">More...</a><br /></td></tr>
<tr class="separator:a5916146ffb0f70bbba6a4c72b7f0c3f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aced2dafcb8a12f73fcffe032def577be"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aced2dafcb8a12f73fcffe032def577be">addQuadrilateral</a> (float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)</td></tr>
<tr class="memdesc:aced2dafcb8a12f73fcffe032def577be"><td class="mdescLeft"> </td><td class="mdescRight">Adds a quadrilateral to the path. <a href="#aced2dafcb8a12f73fcffe032def577be">More...</a><br /></td></tr>
<tr class="separator:aced2dafcb8a12f73fcffe032def577be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7514c5eaa928b64121490a7f0ce3088c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a7514c5eaa928b64121490a7f0ce3088c">addEllipse</a> (float x, float y, float width, float height)</td></tr>
<tr class="memdesc:a7514c5eaa928b64121490a7f0ce3088c"><td class="mdescLeft"> </td><td class="mdescRight">Adds an ellipse to the path. <a href="#a7514c5eaa928b64121490a7f0ce3088c">More...</a><br /></td></tr>
<tr class="separator:a7514c5eaa928b64121490a7f0ce3088c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a34e131589e312853641df2fd6ca22579"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a34e131589e312853641df2fd6ca22579">addEllipse</a> (<a class="el" href="classRectangle.html">Rectangle</a>< float > area)</td></tr>
<tr class="memdesc:a34e131589e312853641df2fd6ca22579"><td class="mdescLeft"> </td><td class="mdescRight">Adds an ellipse to the path. <a href="#a34e131589e312853641df2fd6ca22579">More...</a><br /></td></tr>
<tr class="separator:a34e131589e312853641df2fd6ca22579"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1486b650a586f1be84e2decc47bcc844"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a1486b650a586f1be84e2decc47bcc844">addArc</a> (float x, float y, float width, float height, float fromRadians, float toRadians, bool startAsNewSubPath=false)</td></tr>
<tr class="memdesc:a1486b650a586f1be84e2decc47bcc844"><td class="mdescLeft"> </td><td class="mdescRight">Adds an elliptical arc to the current path. <a href="#a1486b650a586f1be84e2decc47bcc844">More...</a><br /></td></tr>
<tr class="separator:a1486b650a586f1be84e2decc47bcc844"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad72e6b6e7a058d521f26443bbddca420"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ad72e6b6e7a058d521f26443bbddca420">addCentredArc</a> (float centreX, float centreY, float radiusX, float radiusY, float rotationOfEllipse, float fromRadians, float toRadians, bool startAsNewSubPath=false)</td></tr>
<tr class="memdesc:ad72e6b6e7a058d521f26443bbddca420"><td class="mdescLeft"> </td><td class="mdescRight">Adds an arc which is centred at a given point, and can have a rotation specified. <a href="#ad72e6b6e7a058d521f26443bbddca420">More...</a><br /></td></tr>
<tr class="separator:ad72e6b6e7a058d521f26443bbddca420"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6c09cddf0316e722af69129c6738be34"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a6c09cddf0316e722af69129c6738be34">addPieSegment</a> (float x, float y, float width, float height, float fromRadians, float toRadians, float innerCircleProportionalSize)</td></tr>
<tr class="memdesc:a6c09cddf0316e722af69129c6738be34"><td class="mdescLeft"> </td><td class="mdescRight">Adds a "pie-chart" shape to the path. <a href="#a6c09cddf0316e722af69129c6738be34">More...</a><br /></td></tr>
<tr class="separator:a6c09cddf0316e722af69129c6738be34"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf811f4a472bb525e05ec7e5c72c8d85"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aaf811f4a472bb525e05ec7e5c72c8d85">addPieSegment</a> (<a class="el" href="classRectangle.html">Rectangle</a>< float > segmentBounds, float fromRadians, float toRadians, float innerCircleProportionalSize)</td></tr>
<tr class="memdesc:aaf811f4a472bb525e05ec7e5c72c8d85"><td class="mdescLeft"> </td><td class="mdescRight">Adds a "pie-chart" shape to the path. <a href="#aaf811f4a472bb525e05ec7e5c72c8d85">More...</a><br /></td></tr>
<tr class="separator:aaf811f4a472bb525e05ec7e5c72c8d85"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93c4d70100bed1ea07518fea36267035"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a93c4d70100bed1ea07518fea36267035">addLineSegment</a> (const <a class="el" href="classLine.html">Line</a>< float > &line, float lineThickness)</td></tr>
<tr class="memdesc:a93c4d70100bed1ea07518fea36267035"><td class="mdescLeft"> </td><td class="mdescRight">Adds a line with a specified thickness. <a href="#a93c4d70100bed1ea07518fea36267035">More...</a><br /></td></tr>
<tr class="separator:a93c4d70100bed1ea07518fea36267035"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ff040e1113e2dd7c397511afdfd421a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a6ff040e1113e2dd7c397511afdfd421a">addArrow</a> (const <a class="el" href="classLine.html">Line</a>< float > &line, float lineThickness, float arrowheadWidth, float arrowheadLength)</td></tr>
<tr class="memdesc:a6ff040e1113e2dd7c397511afdfd421a"><td class="mdescLeft"> </td><td class="mdescRight">Adds a line with an arrowhead on the end. <a href="#a6ff040e1113e2dd7c397511afdfd421a">More...</a><br /></td></tr>
<tr class="separator:a6ff040e1113e2dd7c397511afdfd421a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:affd494b97b5cc3ab0253b507d6261769"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#affd494b97b5cc3ab0253b507d6261769">addPolygon</a> (const <a class="el" href="classPoint.html">Point</a>< float > centre, int numberOfSides, float radius, float startAngle=0.0f)</td></tr>
<tr class="memdesc:affd494b97b5cc3ab0253b507d6261769"><td class="mdescLeft"> </td><td class="mdescRight">Adds a polygon shape to the path. <a href="#affd494b97b5cc3ab0253b507d6261769">More...</a><br /></td></tr>
<tr class="separator:affd494b97b5cc3ab0253b507d6261769"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7cea42a900a6b00f6809976b681f7184"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a7cea42a900a6b00f6809976b681f7184">addStar</a> (const <a class="el" href="classPoint.html">Point</a>< float > centre, int numberOfPoints, float innerRadius, float outerRadius, float startAngle=0.0f)</td></tr>
<tr class="memdesc:a7cea42a900a6b00f6809976b681f7184"><td class="mdescLeft"> </td><td class="mdescRight">Adds a star shape to the path. <a href="#a7cea42a900a6b00f6809976b681f7184">More...</a><br /></td></tr>
<tr class="separator:a7cea42a900a6b00f6809976b681f7184"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78e040f49047adb833a5518dbeca8033"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a78e040f49047adb833a5518dbeca8033">addBubble</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< float > &bodyArea, const <a class="el" href="classRectangle.html">Rectangle</a>< float > &maximumArea, const <a class="el" href="classPoint.html">Point</a>< float > arrowTipPosition, const float cornerSize, const float arrowBaseWidth)</td></tr>
<tr class="memdesc:a78e040f49047adb833a5518dbeca8033"><td class="mdescLeft"> </td><td class="mdescRight">Adds a speech-bubble shape to the path. <a href="#a78e040f49047adb833a5518dbeca8033">More...</a><br /></td></tr>
<tr class="separator:a78e040f49047adb833a5518dbeca8033"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2d6833a36f348ab33a83309e3956c00"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ad2d6833a36f348ab33a83309e3956c00">addPath</a> (const <a class="el" href="classPath.html">Path</a> &pathToAppend)</td></tr>
<tr class="memdesc:ad2d6833a36f348ab33a83309e3956c00"><td class="mdescLeft"> </td><td class="mdescRight">Adds another path to this one. <a href="#ad2d6833a36f348ab33a83309e3956c00">More...</a><br /></td></tr>
<tr class="separator:ad2d6833a36f348ab33a83309e3956c00"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12aa38ff3ea67622b43bac7791257865"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a12aa38ff3ea67622b43bac7791257865">addPath</a> (const <a class="el" href="classPath.html">Path</a> &pathToAppend, const <a class="el" href="classAffineTransform.html">AffineTransform</a> &transformToApply)</td></tr>
<tr class="memdesc:a12aa38ff3ea67622b43bac7791257865"><td class="mdescLeft"> </td><td class="mdescRight">Adds another path to this one, transforming it on the way in. <a href="#a12aa38ff3ea67622b43bac7791257865">More...</a><br /></td></tr>
<tr class="separator:a12aa38ff3ea67622b43bac7791257865"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ee3f81a2712d4c31f59f1a8edba4111"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a2ee3f81a2712d4c31f59f1a8edba4111">swapWithPath</a> (<a class="el" href="classPath.html">Path</a> &) noexcept</td></tr>
<tr class="memdesc:a2ee3f81a2712d4c31f59f1a8edba4111"><td class="mdescLeft"> </td><td class="mdescRight">Swaps the contents of this path with another one. <a href="#a2ee3f81a2712d4c31f59f1a8edba4111">More...</a><br /></td></tr>
<tr class="separator:a2ee3f81a2712d4c31f59f1a8edba4111"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aead99ae2d7abf0063362eac7a8e9e776"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aead99ae2d7abf0063362eac7a8e9e776">preallocateSpace</a> (int numExtraCoordsToMakeSpaceFor)</td></tr>
<tr class="memdesc:aead99ae2d7abf0063362eac7a8e9e776"><td class="mdescLeft"> </td><td class="mdescRight">Preallocates enough space for adding the given number of coordinates to the path. <a href="#aead99ae2d7abf0063362eac7a8e9e776">More...</a><br /></td></tr>
<tr class="separator:aead99ae2d7abf0063362eac7a8e9e776"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afad2558a4296d94b9f5640281ec3c0c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#afad2558a4296d94b9f5640281ec3c0c3">applyTransform</a> (const <a class="el" href="classAffineTransform.html">AffineTransform</a> &transform) noexcept</td></tr>
<tr class="memdesc:afad2558a4296d94b9f5640281ec3c0c3"><td class="mdescLeft"> </td><td class="mdescRight">Applies a 2D transform to all the vertices in the path. <a href="#afad2558a4296d94b9f5640281ec3c0c3">More...</a><br /></td></tr>
<tr class="separator:afad2558a4296d94b9f5640281ec3c0c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0df6ffa4073301eb8e2b0436fc3a1359"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a0df6ffa4073301eb8e2b0436fc3a1359">scaleToFit</a> (float x, float y, float width, float height, bool preserveProportions) noexcept</td></tr>
<tr class="memdesc:a0df6ffa4073301eb8e2b0436fc3a1359"><td class="mdescLeft"> </td><td class="mdescRight">Rescales this path to make it fit neatly into a given space. <a href="#a0df6ffa4073301eb8e2b0436fc3a1359">More...</a><br /></td></tr>
<tr class="separator:a0df6ffa4073301eb8e2b0436fc3a1359"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0638121298883de841c8107cd68f6156"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAffineTransform.html">AffineTransform</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a0638121298883de841c8107cd68f6156">getTransformToScaleToFit</a> (float x, float y, float width, float height, bool preserveProportions, <a class="el" href="classJustification.html">Justification</a> justificationType=<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaf9d9adde20dce1aa38ff9a69be2b4384">Justification::centred</a>) const</td></tr>
<tr class="memdesc:a0638121298883de841c8107cd68f6156"><td class="mdescLeft"> </td><td class="mdescRight">Returns a transform that can be used to rescale the path to fit into a given space. <a href="#a0638121298883de841c8107cd68f6156">More...</a><br /></td></tr>
<tr class="separator:a0638121298883de841c8107cd68f6156"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80ca587e1bac9a5e32784614c0c1f93e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAffineTransform.html">AffineTransform</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a80ca587e1bac9a5e32784614c0c1f93e">getTransformToScaleToFit</a> (const <a class="el" href="classRectangle.html">Rectangle</a>< float > &area, bool preserveProportions, <a class="el" href="classJustification.html">Justification</a> justificationType=<a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaf9d9adde20dce1aa38ff9a69be2b4384">Justification::centred</a>) const</td></tr>
<tr class="memdesc:a80ca587e1bac9a5e32784614c0c1f93e"><td class="mdescLeft"> </td><td class="mdescRight">Returns a transform that can be used to rescale the path to fit into a given space. <a href="#a80ca587e1bac9a5e32784614c0c1f93e">More...</a><br /></td></tr>
<tr class="separator:a80ca587e1bac9a5e32784614c0c1f93e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad42a4b68cf4446dde7fea6595ee786f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPath.html">Path</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#ad42a4b68cf4446dde7fea6595ee786f3">createPathWithRoundedCorners</a> (float cornerRadius) const</td></tr>
<tr class="memdesc:ad42a4b68cf4446dde7fea6595ee786f3"><td class="mdescLeft"> </td><td class="mdescRight">Creates a version of this path where all sharp corners have been replaced by curves. <a href="#ad42a4b68cf4446dde7fea6595ee786f3">More...</a><br /></td></tr>
<tr class="separator:ad42a4b68cf4446dde7fea6595ee786f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a30f7bc89e2300f810a12f41bf76c5e9a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a30f7bc89e2300f810a12f41bf76c5e9a">setUsingNonZeroWinding</a> (bool isNonZeroWinding) noexcept</td></tr>
<tr class="memdesc:a30f7bc89e2300f810a12f41bf76c5e9a"><td class="mdescLeft"> </td><td class="mdescRight">Changes the winding-rule to be used when filling the path. <a href="#a30f7bc89e2300f810a12f41bf76c5e9a">More...</a><br /></td></tr>
<tr class="separator:a30f7bc89e2300f810a12f41bf76c5e9a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ccb7d18e3b0ca2dde5aa4ba64729b96"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a1ccb7d18e3b0ca2dde5aa4ba64729b96">isUsingNonZeroWinding</a> () const</td></tr>
<tr class="memdesc:a1ccb7d18e3b0ca2dde5aa4ba64729b96"><td class="mdescLeft"> </td><td class="mdescRight">Returns the flag that indicates whether the path should use a non-zero winding rule. <a href="#a1ccb7d18e3b0ca2dde5aa4ba64729b96">More...</a><br /></td></tr>
<tr class="separator:a1ccb7d18e3b0ca2dde5aa4ba64729b96"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00e0e38020c035feb29e498a0ab93433"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a00e0e38020c035feb29e498a0ab93433">loadPathFromStream</a> (<a class="el" href="classInputStream.html">InputStream</a> &source)</td></tr>
<tr class="memdesc:a00e0e38020c035feb29e498a0ab93433"><td class="mdescLeft"> </td><td class="mdescRight">Loads a stored path from a data stream. <a href="#a00e0e38020c035feb29e498a0ab93433">More...</a><br /></td></tr>
<tr class="separator:a00e0e38020c035feb29e498a0ab93433"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f89b06ebcaac3150d8e6a1483ce1e28"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a1f89b06ebcaac3150d8e6a1483ce1e28">loadPathFromData</a> (const void *data, size_t numberOfBytes)</td></tr>
<tr class="memdesc:a1f89b06ebcaac3150d8e6a1483ce1e28"><td class="mdescLeft"> </td><td class="mdescRight">Loads a stored path from a block of data. <a href="#a1f89b06ebcaac3150d8e6a1483ce1e28">More...</a><br /></td></tr>
<tr class="separator:a1f89b06ebcaac3150d8e6a1483ce1e28"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a352e79e085edac1136f1b38914da5e28"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a352e79e085edac1136f1b38914da5e28">writePathToStream</a> (<a class="el" href="classOutputStream.html">OutputStream</a> &destination) const</td></tr>
<tr class="memdesc:a352e79e085edac1136f1b38914da5e28"><td class="mdescLeft"> </td><td class="mdescRight">Stores the path by writing it out to a stream. <a href="#a352e79e085edac1136f1b38914da5e28">More...</a><br /></td></tr>
<tr class="separator:a352e79e085edac1136f1b38914da5e28"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0df8e52b3635a755fec36124e8867c37"><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="classPath.html#a0df8e52b3635a755fec36124e8867c37">toString</a> () const</td></tr>
<tr class="memdesc:a0df8e52b3635a755fec36124e8867c37"><td class="mdescLeft"> </td><td class="mdescRight">Creates a string containing a textual representation of this path. <a href="#a0df8e52b3635a755fec36124e8867c37">More...</a><br /></td></tr>
<tr class="separator:a0df8e52b3635a755fec36124e8867c37"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef179732c86b368fc6461d889fad4d6b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aef179732c86b368fc6461d889fad4d6b">restoreFromString</a> (<a class="el" href="classStringRef.html">StringRef</a> stringVersion)</td></tr>
<tr class="memdesc:aef179732c86b368fc6461d889fad4d6b"><td class="mdescLeft"> </td><td class="mdescRight">Restores this path from a string that was created with the <a class="el" href="classPath.html#a0df8e52b3635a755fec36124e8867c37" title="Creates a string containing a textual representation of this path. ">toString()</a> method. <a href="#aef179732c86b368fc6461d889fad4d6b">More...</a><br /></td></tr>
<tr class="separator:aef179732c86b368fc6461d889fad4d6b"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:aa23f987b8292143c3c9a6d9b0a131c3b"><td class="memItemLeft" align="right" valign="top">static const float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#aa23f987b8292143c3c9a6d9b0a131c3b">defaultToleranceForTesting</a></td></tr>
<tr class="separator:aa23f987b8292143c3c9a6d9b0a131c3b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e27579a740ab71d223ea7398a995fbb"><td class="memItemLeft" align="right" valign="top">static const float </td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a8e27579a740ab71d223ea7398a995fbb">defaultToleranceForMeasurement</a></td></tr>
<tr class="separator:a8e27579a740ab71d223ea7398a995fbb"><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 path is a sequence of lines and curves that may either form a closed shape or be open-ended. </p>
<p>To use a path, you can create an empty one, then add lines and curves to it to create shapes, then it can be rendered by a <a class="el" href="classGraphics.html" title="A graphics context, used for drawing a component or image. ">Graphics</a> context or used for geometric operations.</p>
<p>e.g.</p><div class="fragment"><div class="line"><a class="code" href="classPath.html">Path</a> myPath;</div><div class="line"></div><div class="line">myPath.<a class="code" href="classPath.html#a9c24222b2226b0e082069dbf789dca07">startNewSubPath</a> (10.0f, 10.0f); <span class="comment">// move the current position to (10, 10)</span></div><div class="line">myPath.<a class="code" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e">lineTo</a> (100.0f, 200.0f); <span class="comment">// draw a line from here to (100, 200)</span></div><div class="line">myPath.<a class="code" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b">quadraticTo</a> (0.0f, 150.0f, 5.0f, 50.0f); <span class="comment">// draw a curve that ends at (5, 50)</span></div><div class="line">myPath.<a class="code" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162">closeSubPath</a>(); <span class="comment">// close the subpath with a line back to (10, 10)</span></div><div class="line"></div><div class="line"><span class="comment">// add an ellipse as well, which will form a second sub-path within the path..</span></div><div class="line">myPath.<a class="code" href="classPath.html#a7514c5eaa928b64121490a7f0ce3088c">addEllipse</a> (50.0f, 50.0f, 40.0f, 30.0f);</div><div class="line"></div><div class="line"><span class="comment">// double the width of the whole thing..</span></div><div class="line">myPath.<a class="code" href="classPath.html#afad2558a4296d94b9f5640281ec3c0c3">applyTransform</a> (<a class="code" href="classAffineTransform.html#a43665170b0ec3ef0d1afef4053e77a24">AffineTransform::scale</a> (2.0f, 1.0f));</div><div class="line"></div><div class="line"><span class="comment">// and draw it to a graphics context with a 5-pixel thick outline.</span></div><div class="line">g.strokePath (myPath, <a class="code" href="classPathStrokeType.html">PathStrokeType</a> (5.0f));</div></div><!-- fragment --><p>A path object can actually contain multiple sub-paths, which may themselves be open or closed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPathFlatteningIterator.html" title="Flattens a Path object into a series of straight-line sections. ">PathFlatteningIterator</a>, <a class="el" href="classPathStrokeType.html" title="Describes a type of stroke used to render a solid outline along a path. ">PathStrokeType</a>, <a class="el" href="classGraphics.html" title="A graphics context, used for drawing a component or image. ">Graphics</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="af26cfab021ddf49af73da3b2beca85ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af26cfab021ddf49af73da3b2beca85ac">§ </a></span>Path() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Path::Path </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an empty path. </p>
</div>
</div>
<a id="aabf51b70a75823c1f32e56973e4406b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabf51b70a75823c1f32e56973e4406b6">§ </a></span>Path() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Path::Path </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPath.html">Path</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a copy of another path. </p>
</div>
</div>
<a id="a141da9ff89c85e0ba410b5a73864c267"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a141da9ff89c85e0ba410b5a73864c267">§ </a></span>~Path()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Path::~Path </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<a id="ab2f0cd710a7e0d54764556e574445dca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2f0cd710a7e0d54764556e574445dca">§ </a></span>Path() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Path::Path </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPath.html">Path</a> && </td>
<td class="paramname"></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">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8a91faa5b4e71c547cc70da13051fa5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a91faa5b4e71c547cc70da13051fa5b">§ </a></span>operator=() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPath.html">Path</a>& Path::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPath.html">Path</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copies this path from another one. </p>
</div>
</div>
<a id="a6a0da1f9754f107fee4c6ef07f0fb683"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a0da1f9754f107fee4c6ef07f0fb683">§ </a></span>operator=() <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"><a class="el" href="classPath.html">Path</a>& Path::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPath.html">Path</a> && </td>
<td class="paramname"></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">
</div>
</div>
<a id="a79cc780c856a2a41be5450fe9d4c848c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79cc780c856a2a41be5450fe9d4c848c">§ </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 Path::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPath.html">Path</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="ab72bce9d1aeaed78f3ca17c3ed267052"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab72bce9d1aeaed78f3ca17c3ed267052">§ </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 Path::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPath.html">Path</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="a89f5009bba5ce65b71cc8072f18c4775"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89f5009bba5ce65b71cc8072f18c4775">§ </a></span>isEmpty()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Path::isEmpty </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 true if the path doesn't contain any lines or curves. </p>
</div>
</div>
<a id="ab5059c0564fb8303d6d87dd09ef54ca5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5059c0564fb8303d6d87dd09ef54ca5">§ </a></span>getBounds()</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="classRectangle.html">Rectangle</a><float> Path::getBounds </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 smallest rectangle that contains all points within the path. </p>
</div>
</div>
<a id="a6e2d36b20feaf2cd1b95c7ff84b13e55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e2d36b20feaf2cd1b95c7ff84b13e55">§ </a></span>getBoundsTransformed()</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="classRectangle.html">Rectangle</a><float> Path::getBoundsTransformed </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classAffineTransform.html">AffineTransform</a> & </td>
<td class="paramname"><em>transform</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>Returns the smallest rectangle that contains all points within the path after it's been transformed with the given tranasform matrix. </p>
</div>
</div>
<a id="a7c65b793178fc6275c03dad429be9ba8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c65b793178fc6275c03dad429be9ba8">§ </a></span>contains() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Path::contains </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>tolerance</em> = <code><a class="el" href="classPath.html#aa23f987b8292143c3c9a6d9b0a131c3b">defaultToleranceForTesting</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks whether a point lies within the path. </p>
<p>This is only relevant for closed paths (see <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath()</a>), and may produce false results if used on a path which has open sub-paths.</p>
<p>The path's winding rule is taken into account by this method.</p>
<p>The tolerance parameter is the maximum error allowed when flattening the path, so this method could return a false positive when your point is up to this distance outside the path's boundary.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a>, <a class="el" href="classPath.html#a30f7bc89e2300f810a12f41bf76c5e9a" title="Changes the winding-rule to be used when filling the path. ">setUsingNonZeroWinding</a> </dd></dl>
</div>
</div>
<a id="ae1fe71db715ff22754cb4ad9455adf0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1fe71db715ff22754cb4ad9455adf0b">§ </a></span>contains() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Path::contains </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>point</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>tolerance</em> = <code><a class="el" href="classPath.html#aa23f987b8292143c3c9a6d9b0a131c3b">defaultToleranceForTesting</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks whether a point lies within the path. </p>
<p>This is only relevant for closed paths (see <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath()</a>), and may produce false results if used on a path which has open sub-paths.</p>
<p>The path's winding rule is taken into account by this method.</p>
<p>The tolerance parameter is the maximum error allowed when flattening the path, so this method could return a false positive when your point is up to this distance outside the path's boundary.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a>, <a class="el" href="classPath.html#a30f7bc89e2300f810a12f41bf76c5e9a" title="Changes the winding-rule to be used when filling the path. ">setUsingNonZeroWinding</a> </dd></dl>
</div>
</div>
<a id="a6ff16eb0e318cfc8a40a462a7abd8637"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ff16eb0e318cfc8a40a462a7abd8637">§ </a></span>intersectsLine()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Path::intersectsLine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classLine.html">Line</a>< float > </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>tolerance</em> = <code><a class="el" href="classPath.html#aa23f987b8292143c3c9a6d9b0a131c3b">defaultToleranceForTesting</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Checks whether a line crosses the path. </p>
<p>This will return positive if the line crosses any of the paths constituent lines or curves. It doesn't take into account whether the line is inside or outside the path, or whether the path is open or closed.</p>
<p>The tolerance parameter is the maximum error allowed when flattening the path, so this method could return a false positive when your point is up to this distance outside the path's boundary. </p>
</div>
</div>
<a id="aa26d457dd5d069330ad3be89661349fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa26d457dd5d069330ad3be89661349fb">§ </a></span>getClippedLine()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classLine.html">Line</a><float> Path::getClippedLine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classLine.html">Line</a>< float > </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>keepSectionOutsidePath</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Cuts off parts of a line to keep the parts that are either inside or outside this path. </p>
<p>Note that this isn't smart enough to cope with situations where the line would need to be cut into multiple pieces to correctly clip against a re-entrant shape.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">line</td><td>the line to clip </td></tr>
<tr><td class="paramname">keepSectionOutsidePath</td><td>if true, it's the section outside the path that will be kept; if false its the section inside the path </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a1116b5772da6fadbd3a78b580535dddd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1116b5772da6fadbd3a78b580535dddd">§ </a></span>getLength()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float Path::getLength </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classAffineTransform.html">AffineTransform</a> & </td>
<td class="paramname"><em>transform</em> = <code><a class="el" href="classAffineTransform.html">AffineTransform</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>tolerance</em> = <code><a class="el" href="classPath.html#a8e27579a740ab71d223ea7398a995fbb">defaultToleranceForMeasurement</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the length of the path. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#aa1a706355805a4dcbcfbd5a84062d4e5" title="Returns a point that is the specified distance along the path. ">getPointAlongPath</a> </dd></dl>
</div>
</div>
<a id="aa1a706355805a4dcbcfbd5a84062d4e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1a706355805a4dcbcfbd5a84062d4e5">§ </a></span>getPointAlongPath()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><float> Path::getPointAlongPath </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>distanceFromStart</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classAffineTransform.html">AffineTransform</a> & </td>
<td class="paramname"><em>transform</em> = <code><a class="el" href="classAffineTransform.html">AffineTransform</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>tolerance</em> = <code><a class="el" href="classPath.html#a8e27579a740ab71d223ea7398a995fbb">defaultToleranceForMeasurement</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a point that is the specified distance along the path. </p>
<p>If the distance is greater than the total length of the path, this will return the end point. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1116b5772da6fadbd3a78b580535dddd" title="Returns the length of the path. ">getLength</a> </dd></dl>
</div>
</div>
<a id="af389a0e74fee50bf32ae50572c2cba4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af389a0e74fee50bf32ae50572c2cba4a">§ </a></span>getNearestPoint()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float Path::getNearestPoint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>targetPoint</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > & </td>
<td class="paramname"><em>pointOnPath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classAffineTransform.html">AffineTransform</a> & </td>
<td class="paramname"><em>transform</em> = <code><a class="el" href="classAffineTransform.html">AffineTransform</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>tolerance</em> = <code><a class="el" href="classPath.html#a8e27579a740ab71d223ea7398a995fbb">defaultToleranceForMeasurement</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds the point along the path which is nearest to a given position. </p>
<p>This sets pointOnPath to the nearest point, and returns the distance of this point from the start of the path. </p>
</div>
</div>
<a id="a69d4fda65a46a1f1f32cbec49ebc0910"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69d4fda65a46a1f1f32cbec49ebc0910">§ </a></span>clear()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Path::clear </td>
<td>(</td>
<td class="paramname"></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>Removes all lines and curves, resetting the path completely. </p>
</div>
</div>
<a id="a9c24222b2226b0e082069dbf789dca07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c24222b2226b0e082069dbf789dca07">§ </a></span>startNewSubPath() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::startNewSubPath </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>startX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>startY</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Begins a new subpath with a given starting position. </p>
<p>This will move the path's current position to the coordinates passed in and make it ready to draw lines or curves starting from this position.</p>
<p>After adding whatever lines and curves are needed, you can either close the current sub-path using <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath()</a> or call <a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath()</a> to move to a new sub-path, leaving the old one open-ended.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo</a>, <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo</a>, <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="aed6716d1cf75ca2023798cfb1f0b563f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed6716d1cf75ca2023798cfb1f0b563f">§ </a></span>startNewSubPath() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::startNewSubPath </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>start</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Begins a new subpath with a given starting position. </p>
<p>This will move the path's current position to the coordinates passed in and make it ready to draw lines or curves starting from this position.</p>
<p>After adding whatever lines and curves are needed, you can either close the current sub-path using <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath()</a> or call <a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath()</a> to move to a new sub-path, leaving the old one open-ended.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo</a>, <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo</a>, <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="a3fb7879fd6e09ce7657260c7b2934162"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fb7879fd6e09ce7657260c7b2934162">§ </a></span>closeSubPath()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::closeSubPath </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Closes a the current sub-path with a line back to its start-point. </p>
<p>When creating a closed shape such as a triangle, don't use 3 <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo()</a> calls - instead use two <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo()</a> calls, followed by a <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath()</a> to join the final point back to the start.</p>
<p>This ensures that closes shapes are recognised as such, and this is important for tasks like drawing strokes, which needs to know whether to draw end-caps or not.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath</a>, <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo</a>, <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo</a>, <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="a6cfdf1dea900089ffee8eea61385062e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cfdf1dea900089ffee8eea61385062e">§ </a></span>lineTo() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::lineTo </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>endX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>endY</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a line from the shape's last position to a new end-point. </p>
<p>This will connect the end-point of the last line or curve that was added to a new point, using a straight line.</p>
<p>See the class description for an example of how to add lines and curves to a path.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath</a>, <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo</a>, <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="a82c60c67575e58437fc4e8d3d9609ac6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82c60c67575e58437fc4e8d3d9609ac6">§ </a></span>lineTo() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::lineTo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>end</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a line from the shape's last position to a new end-point. </p>
<p>This will connect the end-point of the last line or curve that was added to a new point, using a straight line.</p>
<p>See the class description for an example of how to add lines and curves to a path.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath</a>, <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo</a>, <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="ab50510cf385b9ea3fe64fef6be45f85b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab50510cf385b9ea3fe64fef6be45f85b">§ </a></span>quadraticTo() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::quadraticTo </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>controlPointX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>controlPointY</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>endPointX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>endPointY</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a quadratic bezier curve from the shape's last position to a new position. </p>
<p>This will connect the end-point of the last line or curve that was added to a new point, using a quadratic spline with one control-point.</p>
<p>See the class description for an example of how to add lines and curves to a path.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath</a>, <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo</a>, <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="ae8f91ebcdb4b89fda5771be9792b29c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8f91ebcdb4b89fda5771be9792b29c9">§ </a></span>quadraticTo() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::quadraticTo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>controlPoint</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>endPoint</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a quadratic bezier curve from the shape's last position to a new position. </p>
<p>This will connect the end-point of the last line or curve that was added to a new point, using a quadratic spline with one control-point.</p>
<p>See the class description for an example of how to add lines and curves to a path.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath</a>, <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo</a>, <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="a654df5afb3c113c0f6c5391a88d21811"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a654df5afb3c113c0f6c5391a88d21811">§ </a></span>cubicTo() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::cubicTo </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>controlPoint1X</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>controlPoint1Y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>controlPoint2X</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>controlPoint2Y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>endPointX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>endPointY</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a cubic bezier curve from the shape's last position to a new position. </p>
<p>This will connect the end-point of the last line or curve that was added to a new point, using a cubic spline with two control-points.</p>
<p>See the class description for an example of how to add lines and curves to a path.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath</a>, <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo</a>, <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="a781c3db731dd5e18e192ff7de71c3a50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a781c3db731dd5e18e192ff7de71c3a50">§ </a></span>cubicTo() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::cubicTo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>controlPoint1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>controlPoint2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>endPoint</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a cubic bezier curve from the shape's last position to a new position. </p>
<p>This will connect the end-point of the last line or curve that was added to a new point, using a cubic spline with two control-points.</p>
<p>See the class description for an example of how to add lines and curves to a path.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath</a>, <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo</a>, <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo</a>, <a class="el" href="classPath.html#a3fb7879fd6e09ce7657260c7b2934162" title="Closes a the current sub-path with a line back to its start-point. ">closeSubPath</a> </dd></dl>
</div>
</div>
<a id="ab94c81275ca8cb6e317d1566babe3de1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab94c81275ca8cb6e317d1566babe3de1">§ </a></span>getCurrentPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPoint.html">Point</a><float> Path::getCurrentPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the last point that was added to the path by one of the drawing methods. </p>
</div>
</div>
<a id="af63b8419acedc43ced5c79578be0f0ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af63b8419acedc43ced5c79578be0f0ea">§ </a></span>addRectangle() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addRectangle </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a rectangle to the path. </p>
<p>The rectangle is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a501f83b0e323fe86d33c047f83451065" title="Adds a rectangle with rounded corners to the path. ">addRoundedRectangle</a>, <a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1" title="Adds a triangle to the path. ">addTriangle</a> </dd></dl>
<p>Referenced by <a class="el" href="classRectangleList.html#a0a4008b5ce8466f31074a00830fb3f87">RectangleList< int >::toPath()</a>.</p>
</div>
</div>
<a id="adddc02efd034e8d1af46cb586e221204"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adddc02efd034e8d1af46cb586e221204">§ </a></span>addRectangle() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename ValueType > </div>
<table class="memname">
<tr>
<td class="memname">void Path::addRectangle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< ValueType > & </td>
<td class="paramname"><em>rectangle</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a rectangle to the path. </p>
<p>The rectangle is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a501f83b0e323fe86d33c047f83451065" title="Adds a rectangle with rounded corners to the path. ">addRoundedRectangle</a>, <a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1" title="Adds a triangle to the path. ">addTriangle</a> </dd></dl>
</div>
</div>
<a id="a501f83b0e323fe86d33c047f83451065"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a501f83b0e323fe86d33c047f83451065">§ </a></span>addRoundedRectangle() <span class="overload">[1/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addRoundedRectangle </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSize</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a rectangle with rounded corners to the path. </p>
<p>The rectangle is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#af63b8419acedc43ced5c79578be0f0ea" title="Adds a rectangle to the path. ">addRectangle</a>, <a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1" title="Adds a triangle to the path. ">addTriangle</a> </dd></dl>
</div>
</div>
<a id="a4f06d92e26aa83cca9e96110711ffa6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f06d92e26aa83cca9e96110711ffa6a">§ </a></span>addRoundedRectangle() <span class="overload">[2/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addRoundedRectangle </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSizeX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSizeY</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a rectangle with rounded corners to the path. </p>
<p>The rectangle is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#af63b8419acedc43ced5c79578be0f0ea" title="Adds a rectangle to the path. ">addRectangle</a>, <a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1" title="Adds a triangle to the path. ">addTriangle</a> </dd></dl>
</div>
</div>
<a id="ae99d7f45ea1ba9481a82d9e8ac3b76ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae99d7f45ea1ba9481a82d9e8ac3b76ab">§ </a></span>addRoundedRectangle() <span class="overload">[3/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addRoundedRectangle </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSizeX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSizeY</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>curveTopLeft</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>curveTopRight</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>curveBottomLeft</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>curveBottomRight</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a rectangle with rounded corners to the path. </p>
<p>The rectangle is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#af63b8419acedc43ced5c79578be0f0ea" title="Adds a rectangle to the path. ">addRectangle</a>, <a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1" title="Adds a triangle to the path. ">addTriangle</a> </dd></dl>
</div>
</div>
<a id="a8e76921426b35e65345bc76ca462ecf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e76921426b35e65345bc76ca462ecf8">§ </a></span>addRoundedRectangle() <span class="overload">[4/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename ValueType > </div>
<table class="memname">
<tr>
<td class="memname">void Path::addRoundedRectangle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< ValueType > & </td>
<td class="paramname"><em>rectangle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSizeX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSizeY</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a rectangle with rounded corners to the path. </p>
<p>The rectangle is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#af63b8419acedc43ced5c79578be0f0ea" title="Adds a rectangle to the path. ">addRectangle</a>, <a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1" title="Adds a triangle to the path. ">addTriangle</a> </dd></dl>
<p>References <a class="el" href="classRectangle.html#a92fff07d827126d92607d0d7c395c323">Rectangle< ValueType >::getHeight()</a>, <a class="el" href="classRectangle.html#a76c51bd8fcbdd3ac5d8f6dff3cf4a57e">Rectangle< ValueType >::getWidth()</a>, <a class="el" href="classRectangle.html#a4b8223fb659d6c7f95a72e8d3fbe793d">Rectangle< ValueType >::getX()</a>, and <a class="el" href="classRectangle.html#a3050042669b496be5f029b1ab6fc1f52">Rectangle< ValueType >::getY()</a>.</p>
</div>
</div>
<a id="a1999a0be77548a8624eeb3ce7486256e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1999a0be77548a8624eeb3ce7486256e">§ </a></span>addRoundedRectangle() <span class="overload">[5/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename ValueType > </div>
<table class="memname">
<tr>
<td class="memname">void Path::addRoundedRectangle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< ValueType > & </td>
<td class="paramname"><em>rectangle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerSize</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a rectangle with rounded corners to the path. </p>
<p>The rectangle is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#af63b8419acedc43ced5c79578be0f0ea" title="Adds a rectangle to the path. ">addRectangle</a>, <a class="el" href="classPath.html#a1508e0d3dd2048dc5304721bee6ee2c1" title="Adds a triangle to the path. ">addTriangle</a> </dd></dl>
<p>References <a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaf9d9adde20dce1aa38ff9a69be2b4384">Justification::centred</a>.</p>
</div>
</div>
<a id="a1508e0d3dd2048dc5304721bee6ee2c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1508e0d3dd2048dc5304721bee6ee2c1">§ </a></span>addTriangle() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addTriangle </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>x3</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y3</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a triangle to the path. </p>
<p>The triangle is added as a new closed sub-path. (Any currently open paths will be left open).</p>
<p>Note that whether the vertices are specified in clockwise or anticlockwise order will affect how the triangle is filled when it overlaps other shapes (the winding order setting will affect this of course). </p>
</div>
</div>
<a id="a5916146ffb0f70bbba6a4c72b7f0c3f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5916146ffb0f70bbba6a4c72b7f0c3f1">§ </a></span>addTriangle() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addTriangle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>point1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>point2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>point3</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a triangle to the path. </p>
<p>The triangle is added as a new closed sub-path. (Any currently open paths will be left open).</p>
<p>Note that whether the vertices are specified in clockwise or anticlockwise order will affect how the triangle is filled when it overlaps other shapes (the winding order setting will affect this of course). </p>
</div>
</div>
<a id="aced2dafcb8a12f73fcffe032def577be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aced2dafcb8a12f73fcffe032def577be">§ </a></span>addQuadrilateral()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addQuadrilateral </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>x3</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y3</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>x4</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y4</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a quadrilateral to the path. </p>
<p>The quad is added as a new closed sub-path. (Any currently open paths will be left open).</p>
<p>Note that whether the vertices are specified in clockwise or anticlockwise order will affect how the quad is filled when it overlaps other shapes (the winding order setting will affect this of course). </p>
</div>
</div>
<a id="a7514c5eaa928b64121490a7f0ce3088c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7514c5eaa928b64121490a7f0ce3088c">§ </a></span>addEllipse() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addEllipse </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds an ellipse to the path. </p>
<p>The shape is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1486b650a586f1be84e2decc47bcc844" title="Adds an elliptical arc to the current path. ">addArc</a> </dd></dl>
</div>
</div>
<a id="a34e131589e312853641df2fd6ca22579"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34e131589e312853641df2fd6ca22579">§ </a></span>addEllipse() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addEllipse </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classRectangle.html">Rectangle</a>< float > </td>
<td class="paramname"><em>area</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds an ellipse to the path. </p>
<p>The shape is added as a new sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1486b650a586f1be84e2decc47bcc844" title="Adds an elliptical arc to the current path. ">addArc</a> </dd></dl>
</div>
</div>
<a id="a1486b650a586f1be84e2decc47bcc844"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1486b650a586f1be84e2decc47bcc844">§ </a></span>addArc()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addArc </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>fromRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>toRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>startAsNewSubPath</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds an elliptical arc to the current path. </p>
<p>Note that when specifying the start and end angles, the curve will be drawn either clockwise or anti-clockwise according to whether the end angle is greater than the start. This means that sometimes you may need to use values greater than 2*Pi for the end angle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>the left-hand edge of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">y</td><td>the top edge of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">width</td><td>the width of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">height</td><td>the height of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">fromRadians</td><td>the angle (clockwise) in radians at which to start the arc segment (where 0 is the top-centre of the ellipse) </td></tr>
<tr><td class="paramname">toRadians</td><td>the angle (clockwise) in radians at which to end the arc segment (where 0 is the top-centre of the ellipse). This angle can be greater than 2*Pi, so for example to draw a curve clockwise from the 9 o'clock position to the 3 o'clock position via 12 o'clock, you'd use 1.5*Pi and 2.5*Pi as the start and finish points. </td></tr>
<tr><td class="paramname">startAsNewSubPath</td><td>if true, the arc will begin a new subpath from its starting point; if false, it will be added to the current sub-path, continuing from the current postition</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#ad72e6b6e7a058d521f26443bbddca420" title="Adds an arc which is centred at a given point, and can have a rotation specified. ...">addCentredArc</a>, arcTo, <a class="el" href="classPath.html#a6c09cddf0316e722af69129c6738be34" title="Adds a "pie-chart" shape to the path. ">addPieSegment</a>, <a class="el" href="classPath.html#a7514c5eaa928b64121490a7f0ce3088c" title="Adds an ellipse to the path. ">addEllipse</a> </dd></dl>
</div>
</div>
<a id="ad72e6b6e7a058d521f26443bbddca420"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad72e6b6e7a058d521f26443bbddca420">§ </a></span>addCentredArc()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addCentredArc </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>centreX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>centreY</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>radiusX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>radiusY</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>rotationOfEllipse</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>fromRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>toRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>startAsNewSubPath</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds an arc which is centred at a given point, and can have a rotation specified. </p>
<p>Note that when specifying the start and end angles, the curve will be drawn either clockwise or anti-clockwise according to whether the end angle is greater than the start. This means that sometimes you may need to use values greater than 2*Pi for the end angle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">centreX</td><td>the centre x of the ellipse </td></tr>
<tr><td class="paramname">centreY</td><td>the centre y of the ellipse </td></tr>
<tr><td class="paramname">radiusX</td><td>the horizontal radius of the ellipse </td></tr>
<tr><td class="paramname">radiusY</td><td>the vertical radius of the ellipse </td></tr>
<tr><td class="paramname">rotationOfEllipse</td><td>an angle by which the whole ellipse should be rotated about its centre, in radians (clockwise) </td></tr>
<tr><td class="paramname">fromRadians</td><td>the angle (clockwise) in radians at which to start the arc segment (where 0 is the top-centre of the ellipse) </td></tr>
<tr><td class="paramname">toRadians</td><td>the angle (clockwise) in radians at which to end the arc segment (where 0 is the top-centre of the ellipse). This angle can be greater than 2*Pi, so for example to draw a curve clockwise from the 9 o'clock position to the 3 o'clock position via 12 o'clock, you'd use 1.5*Pi and 2.5*Pi as the start and finish points. </td></tr>
<tr><td class="paramname">startAsNewSubPath</td><td>if true, the arc will begin a new subpath from its starting point; if false, it will be added to the current sub-path, continuing from the current postition</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1486b650a586f1be84e2decc47bcc844" title="Adds an elliptical arc to the current path. ">addArc</a>, arcTo </dd></dl>
</div>
</div>
<a id="a6c09cddf0316e722af69129c6738be34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c09cddf0316e722af69129c6738be34">§ </a></span>addPieSegment() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addPieSegment </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>fromRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>toRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>innerCircleProportionalSize</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a "pie-chart" shape to the path. </p>
<p>The shape is added as a new sub-path. (Any currently open paths will be left open).</p>
<p>Note that when specifying the start and end angles, the curve will be drawn either clockwise or anti-clockwise according to whether the end angle is greater than the start. This means that sometimes you may need to use values greater than 2*Pi for the end angle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>the left-hand edge of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">y</td><td>the top edge of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">width</td><td>the width of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">height</td><td>the height of the rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">fromRadians</td><td>the angle (clockwise) in radians at which to start the arc segment (where 0 is the top-centre of the ellipse) </td></tr>
<tr><td class="paramname">toRadians</td><td>the angle (clockwise) in radians at which to end the arc segment (where 0 is the top-centre of the ellipse) </td></tr>
<tr><td class="paramname">innerCircleProportionalSize</td><td>if this is > 0, then the pie will be drawn as a curved band around a hollow ellipse at its centre, where this value indicates the inner ellipse's size with respect to the outer one. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1486b650a586f1be84e2decc47bcc844" title="Adds an elliptical arc to the current path. ">addArc</a> </dd></dl>
</div>
</div>
<a id="aaf811f4a472bb525e05ec7e5c72c8d85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf811f4a472bb525e05ec7e5c72c8d85">§ </a></span>addPieSegment() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addPieSegment </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classRectangle.html">Rectangle</a>< float > </td>
<td class="paramname"><em>segmentBounds</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>fromRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>toRadians</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>innerCircleProportionalSize</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a "pie-chart" shape to the path. </p>
<p>The shape is added as a new sub-path. (Any currently open paths will be left open).</p>
<p>Note that when specifying the start and end angles, the curve will be drawn either clockwise or anti-clockwise according to whether the end angle is greater than the start. This means that sometimes you may need to use values greater than 2*Pi for the end angle.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">segmentBounds</td><td>the outer rectangle in which the elliptical outline fits </td></tr>
<tr><td class="paramname">fromRadians</td><td>the angle (clockwise) in radians at which to start the arc segment (where 0 is the top-centre of the ellipse) </td></tr>
<tr><td class="paramname">toRadians</td><td>the angle (clockwise) in radians at which to end the arc segment (where 0 is the top-centre of the ellipse) </td></tr>
<tr><td class="paramname">innerCircleProportionalSize</td><td>if this is > 0, then the pie will be drawn as a curved band around a hollow ellipse at its centre, where this value indicates the inner ellipse's size with respect to the outer one. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1486b650a586f1be84e2decc47bcc844" title="Adds an elliptical arc to the current path. ">addArc</a> </dd></dl>
</div>
</div>
<a id="a93c4d70100bed1ea07518fea36267035"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93c4d70100bed1ea07518fea36267035">§ </a></span>addLineSegment()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addLineSegment </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classLine.html">Line</a>< float > & </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>lineThickness</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a line with a specified thickness. </p>
<p>The line is added as a new closed sub-path. (Any currently open paths will be left open).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a6ff040e1113e2dd7c397511afdfd421a" title="Adds a line with an arrowhead on the end. ">addArrow</a> </dd></dl>
</div>
</div>
<a id="a6ff040e1113e2dd7c397511afdfd421a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ff040e1113e2dd7c397511afdfd421a">§ </a></span>addArrow()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addArrow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classLine.html">Line</a>< float > & </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>lineThickness</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>arrowheadWidth</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>arrowheadLength</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a line with an arrowhead on the end. </p>
<p>The arrow is added as a new closed sub-path. (Any currently open paths will be left open). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classPathStrokeType.html#aa92d4d852542c356080bb180d4d4e3d3" title="Applies this stroke type to a path and returns the resultant stroke as another Path. ">PathStrokeType::createStrokeWithArrowheads</a> </dd></dl>
</div>
</div>
<a id="affd494b97b5cc3ab0253b507d6261769"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affd494b97b5cc3ab0253b507d6261769">§ </a></span>addPolygon()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addPolygon </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>centre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>numberOfSides</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>radius</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>startAngle</em> = <code>0.0f</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a polygon shape to the path. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a7cea42a900a6b00f6809976b681f7184" title="Adds a star shape to the path. ">addStar</a> </dd></dl>
</div>
</div>
<a id="a7cea42a900a6b00f6809976b681f7184"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cea42a900a6b00f6809976b681f7184">§ </a></span>addStar()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addStar </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>centre</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>numberOfPoints</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>innerRadius</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>outerRadius</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>startAngle</em> = <code>0.0f</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a star shape to the path. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#affd494b97b5cc3ab0253b507d6261769" title="Adds a polygon shape to the path. ">addPolygon</a> </dd></dl>
</div>
</div>
<a id="a78e040f49047adb833a5518dbeca8033"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78e040f49047adb833a5518dbeca8033">§ </a></span>addBubble()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addBubble </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< float > & </td>
<td class="paramname"><em>bodyArea</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< float > & </td>
<td class="paramname"><em>maximumArea</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPoint.html">Point</a>< float > </td>
<td class="paramname"><em>arrowTipPosition</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const float </td>
<td class="paramname"><em>cornerSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const float </td>
<td class="paramname"><em>arrowBaseWidth</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a speech-bubble shape to the path. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">bodyArea</td><td>the area of the body of the bubble shape </td></tr>
<tr><td class="paramname">maximumArea</td><td>an area which encloses the body area and defines the limits within which the arrow tip can be drawn - if the tip lies outside this area, the bubble will be drawn without an arrow </td></tr>
<tr><td class="paramname">arrowTipPosition</td><td>the location of the tip of the arrow </td></tr>
<tr><td class="paramname">cornerSize</td><td>the size of the rounded corners </td></tr>
<tr><td class="paramname">arrowBaseWidth</td><td>the width of the base of the arrow where it joins the main rectangle </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad2d6833a36f348ab33a83309e3956c00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2d6833a36f348ab33a83309e3956c00">§ </a></span>addPath() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addPath </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPath.html">Path</a> & </td>
<td class="paramname"><em>pathToAppend</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds another path to this one. </p>
<p>The new path is added as a new sub-path. (Any currently open paths in this path will be left open).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pathToAppend</td><td>the path to add </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a12aa38ff3ea67622b43bac7791257865"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12aa38ff3ea67622b43bac7791257865">§ </a></span>addPath() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::addPath </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPath.html">Path</a> & </td>
<td class="paramname"><em>pathToAppend</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classAffineTransform.html">AffineTransform</a> & </td>
<td class="paramname"><em>transformToApply</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds another path to this one, transforming it on the way in. </p>
<p>The new path is added as a new sub-path, its points being transformed by the given matrix before being added.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pathToAppend</td><td>the path to add </td></tr>
<tr><td class="paramname">transformToApply</td><td>an optional transform to apply to the incoming vertices </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a2ee3f81a2712d4c31f59f1a8edba4111"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ee3f81a2712d4c31f59f1a8edba4111">§ </a></span>swapWithPath()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Path::swapWithPath </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPath.html">Path</a> & </td>
<td class="paramname"></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>Swaps the contents of this path with another one. </p>
<p>The internal data of the two paths is swapped over, so this is much faster than copying it to a temp variable and back. </p>
</div>
</div>
<a id="aead99ae2d7abf0063362eac7a8e9e776"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aead99ae2d7abf0063362eac7a8e9e776">§ </a></span>preallocateSpace()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::preallocateSpace </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>numExtraCoordsToMakeSpaceFor</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Preallocates enough space for adding the given number of coordinates to the path. </p>
<p>If you're about to add a large number of lines or curves to the path, it can make the task much more efficient to call this first and avoid costly reallocations as the structure grows. The actual value to pass is a bit tricky to calculate because the space required depends on what you're adding - e.g. each <a class="el" href="classPath.html#a6cfdf1dea900089ffee8eea61385062e" title="Adds a line from the shape's last position to a new end-point. ">lineTo()</a> or <a class="el" href="classPath.html#a9c24222b2226b0e082069dbf789dca07" title="Begins a new subpath with a given starting position. ">startNewSubPath()</a> will require 3 coords (x, y and a type marker). Each <a class="el" href="classPath.html#ab50510cf385b9ea3fe64fef6be45f85b" title="Adds a quadratic bezier curve from the shape's last position to a new position. ">quadraticTo()</a> will need 5, and a <a class="el" href="classPath.html#a654df5afb3c113c0f6c5391a88d21811" title="Adds a cubic bezier curve from the shape's last position to a new position. ">cubicTo()</a> will require 7. Closing a sub-path will require 1. </p>
</div>
</div>
<a id="afad2558a4296d94b9f5640281ec3c0c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afad2558a4296d94b9f5640281ec3c0c3">§ </a></span>applyTransform()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Path::applyTransform </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classAffineTransform.html">AffineTransform</a> & </td>
<td class="paramname"><em>transform</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>Applies a 2D transform to all the vertices in the path. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAffineTransform.html" title="Represents a 2D affine-transformation matrix. ">AffineTransform</a>, <a class="el" href="classPath.html#a0df6ffa4073301eb8e2b0436fc3a1359" title="Rescales this path to make it fit neatly into a given space. ">scaleToFit</a>, <a class="el" href="classPath.html#a0638121298883de841c8107cd68f6156" title="Returns a transform that can be used to rescale the path to fit into a given space. ">getTransformToScaleToFit</a> </dd></dl>
</div>
</div>
<a id="a0df6ffa4073301eb8e2b0436fc3a1359"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0df6ffa4073301eb8e2b0436fc3a1359">§ </a></span>scaleToFit()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Path::scaleToFit </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>preserveProportions</em> </td>
</tr>
<tr>
<td></td>
<td>)</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>Rescales this path to make it fit neatly into a given space. </p>
<p>This is effectively a quick way of calling applyTransform (getTransformToScaleToFit (x, y, w, h, preserveProportions))</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>the x position of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">y</td><td>the y position of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">width</td><td>the width of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">height</td><td>the height of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">preserveProportions</td><td>if true, it will fit the path into the space without altering its horizontal/vertical scale ratio; if false, it will distort the path to fill the specified ratio both horizontally and vertically</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#afad2558a4296d94b9f5640281ec3c0c3" title="Applies a 2D transform to all the vertices in the path. ">applyTransform</a>, <a class="el" href="classPath.html#a0638121298883de841c8107cd68f6156" title="Returns a transform that can be used to rescale the path to fit into a given space. ">getTransformToScaleToFit</a> </dd></dl>
</div>
</div>
<a id="a0638121298883de841c8107cd68f6156"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0638121298883de841c8107cd68f6156">§ </a></span>getTransformToScaleToFit() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classAffineTransform.html">AffineTransform</a> Path::getTransformToScaleToFit </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>preserveProportions</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJustification.html">Justification</a> </td>
<td class="paramname"><em>justificationType</em> = <code><a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaf9d9adde20dce1aa38ff9a69be2b4384">Justification::centred</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a transform that can be used to rescale the path to fit into a given space. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>the x position of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">y</td><td>the y position of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">width</td><td>the width of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">height</td><td>the height of the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">preserveProportions</td><td>if true, it will fit the path into the space without altering its horizontal/vertical scale ratio; if false, it will distort the path to fill the specified ratio both horizontally and vertically </td></tr>
<tr><td class="paramname">justificationType</td><td>if the proportions are preseved, the resultant path may be smaller than the available rectangle, so this describes how it should be positioned within the space. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an appropriate transformation</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#afad2558a4296d94b9f5640281ec3c0c3" title="Applies a 2D transform to all the vertices in the path. ">applyTransform</a>, <a class="el" href="classPath.html#a0df6ffa4073301eb8e2b0436fc3a1359" title="Rescales this path to make it fit neatly into a given space. ">scaleToFit</a> </dd></dl>
</div>
</div>
<a id="a80ca587e1bac9a5e32784614c0c1f93e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80ca587e1bac9a5e32784614c0c1f93e">§ </a></span>getTransformToScaleToFit() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classAffineTransform.html">AffineTransform</a> Path::getTransformToScaleToFit </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>< float > & </td>
<td class="paramname"><em>area</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>preserveProportions</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJustification.html">Justification</a> </td>
<td class="paramname"><em>justificationType</em> = <code><a class="el" href="classJustification.html#a1f8c07756c56fe8f31ed44964e51bfbcaf9d9adde20dce1aa38ff9a69be2b4384">Justification::centred</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a transform that can be used to rescale the path to fit into a given space. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">area</td><td>the rectangle to fit the path inside </td></tr>
<tr><td class="paramname">preserveProportions</td><td>if true, it will fit the path into the space without altering its horizontal/vertical scale ratio; if false, it will distort the path to fill the specified ratio both horizontally and vertically </td></tr>
<tr><td class="paramname">justificationType</td><td>if the proportions are preseved, the resultant path may be smaller than the available rectangle, so this describes how it should be positioned within the space. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an appropriate transformation</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#afad2558a4296d94b9f5640281ec3c0c3" title="Applies a 2D transform to all the vertices in the path. ">applyTransform</a>, <a class="el" href="classPath.html#a0df6ffa4073301eb8e2b0436fc3a1359" title="Rescales this path to make it fit neatly into a given space. ">scaleToFit</a> </dd></dl>
</div>
</div>
<a id="ad42a4b68cf4446dde7fea6595ee786f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad42a4b68cf4446dde7fea6595ee786f3">§ </a></span>createPathWithRoundedCorners()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPath.html">Path</a> Path::createPathWithRoundedCorners </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>cornerRadius</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a version of this path where all sharp corners have been replaced by curves. </p>
<p>Wherever two lines meet at an angle, this will replace the corner with a curve of the given radius. </p>
</div>
</div>
<a id="a30f7bc89e2300f810a12f41bf76c5e9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30f7bc89e2300f810a12f41bf76c5e9a">§ </a></span>setUsingNonZeroWinding()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Path::setUsingNonZeroWinding </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>isNonZeroWinding</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>Changes the winding-rule to be used when filling the path. </p>
<p>If set to true (which is the default), then the path uses a non-zero-winding rule to determine which points are inside the path. If set to false, it uses an alternate-winding rule.</p>
<p>The winding-rule comes into play when areas of the shape overlap other areas, and determines whether the overlapping regions are considered to be inside or outside.</p>
<p>Changing this value just sets a flag - it doesn't affect the contents of the path.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1ccb7d18e3b0ca2dde5aa4ba64729b96" title="Returns the flag that indicates whether the path should use a non-zero winding rule. ">isUsingNonZeroWinding</a> </dd></dl>
</div>
</div>
<a id="a1ccb7d18e3b0ca2dde5aa4ba64729b96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ccb7d18e3b0ca2dde5aa4ba64729b96">§ </a></span>isUsingNonZeroWinding()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Path::isUsingNonZeroWinding </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the flag that indicates whether the path should use a non-zero winding rule. </p>
<p>The default for a new path is true.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a30f7bc89e2300f810a12f41bf76c5e9a" title="Changes the winding-rule to be used when filling the path. ">setUsingNonZeroWinding</a> </dd></dl>
</div>
</div>
<a id="a00e0e38020c035feb29e498a0ab93433"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00e0e38020c035feb29e498a0ab93433">§ </a></span>loadPathFromStream()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::loadPathFromStream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classInputStream.html">InputStream</a> & </td>
<td class="paramname"><em>source</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a stored path from a data stream. </p>
<p>The data in the stream must have been written using <a class="el" href="classPath.html#a352e79e085edac1136f1b38914da5e28" title="Stores the path by writing it out to a stream. ">writePathToStream()</a>.</p>
<p>Note that this will append the stored path to whatever is currently in this path, so you might need to call <a class="el" href="classPath.html#a69d4fda65a46a1f1f32cbec49ebc0910" title="Removes all lines and curves, resetting the path completely. ">clear()</a> beforehand.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a1f89b06ebcaac3150d8e6a1483ce1e28" title="Loads a stored path from a block of data. ">loadPathFromData</a>, <a class="el" href="classPath.html#a352e79e085edac1136f1b38914da5e28" title="Stores the path by writing it out to a stream. ">writePathToStream</a> </dd></dl>
</div>
</div>
<a id="a1f89b06ebcaac3150d8e6a1483ce1e28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f89b06ebcaac3150d8e6a1483ce1e28">§ </a></span>loadPathFromData()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::loadPathFromData </td>
<td>(</td>
<td class="paramtype">const void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numberOfBytes</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a stored path from a block of data. </p>
<p>This is similar to <a class="el" href="classPath.html#a00e0e38020c035feb29e498a0ab93433" title="Loads a stored path from a data stream. ">loadPathFromStream()</a>, but just reads from a block of data. Useful if you're including stored shapes in your code as a block of static data.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a00e0e38020c035feb29e498a0ab93433" title="Loads a stored path from a data stream. ">loadPathFromStream</a>, <a class="el" href="classPath.html#a352e79e085edac1136f1b38914da5e28" title="Stores the path by writing it out to a stream. ">writePathToStream</a> </dd></dl>
</div>
</div>
<a id="a352e79e085edac1136f1b38914da5e28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a352e79e085edac1136f1b38914da5e28">§ </a></span>writePathToStream()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::writePathToStream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classOutputStream.html">OutputStream</a> & </td>
<td class="paramname"><em>destination</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Stores the path by writing it out to a stream. </p>
<p>After writing out a path, you can reload it using <a class="el" href="classPath.html#a00e0e38020c035feb29e498a0ab93433" title="Loads a stored path from a data stream. ">loadPathFromStream()</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a00e0e38020c035feb29e498a0ab93433" title="Loads a stored path from a data stream. ">loadPathFromStream</a>, <a class="el" href="classPath.html#a1f89b06ebcaac3150d8e6a1483ce1e28" title="Loads a stored path from a block of data. ">loadPathFromData</a> </dd></dl>
</div>
</div>
<a id="a0df8e52b3635a755fec36124e8867c37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0df8e52b3635a755fec36124e8867c37">§ </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> Path::toString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a string containing a textual representation of this path. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#aef179732c86b368fc6461d889fad4d6b" title="Restores this path from a string that was created with the toString() method. ">restoreFromString</a> </dd></dl>
</div>
</div>
<a id="aef179732c86b368fc6461d889fad4d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef179732c86b368fc6461d889fad4d6b">§ </a></span>restoreFromString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Path::restoreFromString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classStringRef.html">StringRef</a> </td>
<td class="paramname"><em>stringVersion</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Restores this path from a string that was created with the <a class="el" href="classPath.html#a0df8e52b3635a755fec36124e8867c37" title="Creates a string containing a textual representation of this path. ">toString()</a> method. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPath.html#a0df8e52b3635a755fec36124e8867c37" title="Creates a string containing a textual representation of this path. ">toString()</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa23f987b8292143c3c9a6d9b0a131c3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa23f987b8292143c3c9a6d9b0a131c3b">§ </a></span>defaultToleranceForTesting</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const float Path::defaultToleranceForTesting</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a8e27579a740ab71d223ea7398a995fbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e27579a740ab71d223ea7398a995fbb">§ </a></span>defaultToleranceForMeasurement</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const float Path::defaultToleranceForMeasurement</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </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__Path_8h.html">juce_Path.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|