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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Ipelib: IpeGroup Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<h1>IpeGroup Class Reference<br>
<small>
[<a class="el" href="group__obj.html">Ipe Objects</a>]</small>
</h1><!-- doxytag: class="IpeGroup" --><!-- doxytag: inherits="IpeFillable" -->The group object.
<a href="#_details">More...</a>
<p>
Inherits <a class="el" href="class_ipe_fillable.html">IpeFillable</a>.
<p>
<a href="class_ipe_group-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li><a class="anchor" name="25a2050d6afd34bd736a5e645747513d"></a><!-- doxytag: member="IpeGroup::const_iterator" ref="25a2050d6afd34bd736a5e645747513d" args="" -->
typedef List::const_iterator <b>const_iterator</b>
</ul>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="class_ipe_group.html#d0f0c0af65d4d76ae206a6fd00107866">IpeGroup</a> ()
<li><a class="el" href="class_ipe_group.html#079b9ade1c7ac60ec2871fcd44c247c1">IpeGroup</a> (<a class="el" href="class_ipe_repository.html">IpeRepository</a> *rep, const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> &attr)
<li><a class="el" href="class_ipe_group.html#546ca7f20272d60608ace822c2c53b04">IpeGroup</a> (const <a class="el" href="class_ipe_group.html">IpeGroup</a> &rhs)
<li>virtual <a class="el" href="class_ipe_group.html#a7ef46b66092854f1c33b478b1d1f601">~IpeGroup</a> ()
<li><a class="el" href="class_ipe_group.html">IpeGroup</a> & <a class="el" href="class_ipe_group.html#12c08d6817a517db30bd6a762ef96d04">operator=</a> (const <a class="el" href="class_ipe_group.html">IpeGroup</a> &rhs)
<li>virtual <a class="el" href="class_ipe_object.html">IpeObject</a> * <a class="el" href="class_ipe_group.html#90743ffd1d0d259fc752722922985b1b">Clone</a> () const
<li>virtual <a class="el" href="class_ipe_group.html">IpeGroup</a> * <a class="el" href="class_ipe_group.html#c5fd925722a10319b3ec5d668f890a0a">AsGroup</a> ()
<li>virtual TPinned <a class="el" href="class_ipe_group.html#c30924cf55f1828a92b7ff89eb6e4bc0">pinned</a> () const
<li>virtual void <a class="el" href="class_ipe_group.html#59ad49d995c1e20c1124f1fbf2618e60">Accept</a> (<a class="el" href="class_ipe_visitor.html">IpeVisitor</a> &visitor) const
<li>virtual void <a class="el" href="class_ipe_group.html#c90d144a5fb4cf0cb99df1049d27e4c7">SaveAsXml</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter, <a class="el" href="class_ipe_stream.html">IpeStream</a> &stream, <a class="el" href="class_ipe_string.html">IpeString</a> layer) const
<li>virtual void <a class="el" href="class_ipe_group.html#93ed260434751ca1349b0149b618fb44">Draw</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter) const
<li>virtual void <a class="el" href="class_ipe_group.html#bf8bdf3d3f8cca47b934543b1e5c439a">AddToBBox</a> (<a class="el" href="class_ipe_rect.html">IpeRect</a> &box, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m) const
<li>virtual double <a class="el" href="class_ipe_group.html#1fdd11d04b3d993f8e26a3d6c973951e">Distance</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &v, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m, double bound) const
<li>virtual void <a class="el" href="class_ipe_group.html#9634bab1d607b4f54a7df6c5b7b2dc8a">SnapVtx</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &mouse, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos, double &bound) const
<li>virtual void <a class="el" href="class_ipe_group.html#24f0724171a316ed49fd5afbe0e3aecc">SnapBnd</a> (const <a class="el" href="class_ipe_vector.html">IpeVector</a> &mouse, const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> &m, <a class="el" href="class_ipe_vector.html">IpeVector</a> &pos, double &bound) const
<li>int <a class="el" href="class_ipe_group.html#d33f7d0caf4656bfddf05150be58af9a">size</a> () const
<li>const_iterator <a class="el" href="class_ipe_group.html#8126da50c389af87f0cbac1f6b0c1698">begin</a> () const
<li>const_iterator <a class="el" href="class_ipe_group.html#2c0d19360fb7787b73388f621cc30c03">end</a> () const
<li>void <a class="el" href="class_ipe_group.html#5fa834fe4f8564e64801049806b88021">push_back</a> (const <a class="el" href="class_ipe_object.html">IpeObject</a> *)
<li>void <a class="el" href="class_ipe_group.html#4d76f2b0158c8a7a8ea80969ea6d9261">SaveComponentsAsXml</a> (<a class="el" href="class_ipe_painter.html">IpePainter</a> &painter, <a class="el" href="class_ipe_stream.html">IpeStream</a> &stream) const
<li>virtual void <a class="el" href="class_ipe_group.html#202ab4d7a4b8f5e2b41d68a909a93200">CheckStyle</a> (const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> *sheet, <a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> &seq) const
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_group.html#4f0755a24561aaba492e170da1672a57">TextSize</a> () const
<li><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> <a class="el" href="class_ipe_group.html#a3f750d0c19a9fdebe43523e559016e9">MarkSize</a> () const
<li>int <a class="el" href="class_ipe_group.html#51b49c546f00acb52e0d0f8ed273251e">MarkShape</a> () const
<li>bool <a class="el" href="class_ipe_group.html#6c89077e9447a8c722b385bd0ce2e8a9">HasTexts</a> () const
<li>bool <a class="el" href="class_ipe_group.html#7634d25e39f32cd18f5e795456f788be">HasMarks</a> () const
<li>void <a class="el" href="class_ipe_group.html#10dc6e6c0264b715f18e0e04709e6b32">SetTextSize</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> size)
<li>void <a class="el" href="class_ipe_group.html#f4ca357ab2d4bbcecfecff69304065b9">SetMarkSize</a> (<a class="el" href="class_ipe_attribute.html">IpeAttribute</a> size)
<li>void <a class="el" href="class_ipe_group.html#9b55e5fe72213b69a7760bfe65ec0bf3">SetMarkShape</a> (int shape)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The group object.
<p>
Ipe objects can be grouped together, and the resulting composite can be used like any Ipe object.<p>
This is an application of the "Composite" pattern.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="d0f0c0af65d4d76ae206a6fd00107866"></a><!-- doxytag: member="IpeGroup::IpeGroup" ref="d0f0c0af65d4d76ae206a6fd00107866" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IpeGroup::IpeGroup </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create empty group (objects added later).
<p>
</div>
</div><p>
<a class="anchor" name="079b9ade1c7ac60ec2871fcd44c247c1"></a><!-- doxytag: member="IpeGroup::IpeGroup" ref="079b9ade1c7ac60ec2871fcd44c247c1" args="(IpeRepository *rep, const IpeXmlAttributes &attr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IpeGroup::IpeGroup </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_repository.html">IpeRepository</a> * </td>
<td class="paramname"> <em>rep</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_ipe_xml_attributes.html">IpeXmlAttributes</a> & </td>
<td class="paramname"> <em>attr</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [explicit]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Create empty group with these attributes (objects added later).
<p>
</div>
</div><p>
<a class="anchor" name="546ca7f20272d60608ace822c2c53b04"></a><!-- doxytag: member="IpeGroup::IpeGroup" ref="546ca7f20272d60608ace822c2c53b04" args="(const IpeGroup &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IpeGroup::IpeGroup </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_ipe_group.html">IpeGroup</a> & </td>
<td class="paramname"> <em>rhs</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Copy constructor. Constant time --- components are not copied!
<p>
</div>
</div><p>
<a class="anchor" name="a7ef46b66092854f1c33b478b1d1f601"></a><!-- doxytag: member="IpeGroup::~IpeGroup" ref="a7ef46b66092854f1c33b478b1d1f601" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IpeGroup::~IpeGroup </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="12c08d6817a517db30bd6a762ef96d04"></a><!-- doxytag: member="IpeGroup::operator=" ref="12c08d6817a517db30bd6a762ef96d04" args="(const IpeGroup &rhs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_group.html">IpeGroup</a> & IpeGroup::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_ipe_group.html">IpeGroup</a> & </td>
<td class="paramname"> <em>rhs</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Assignment operator (constant-time).
<p>
</div>
</div><p>
<a class="anchor" name="90743ffd1d0d259fc752722922985b1b"></a><!-- doxytag: member="IpeGroup::Clone" ref="90743ffd1d0d259fc752722922985b1b" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_object.html">IpeObject</a> * IpeGroup::Clone </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Clone a group object (constant-time).
<p>
<p>
Implements <a class="el" href="class_ipe_object.html#544473557223336afe1b967223f71c8a">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="c5fd925722a10319b3ec5d668f890a0a"></a><!-- doxytag: member="IpeGroup::AsGroup" ref="c5fd925722a10319b3ec5d668f890a0a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_group.html">IpeGroup</a> * IpeGroup::AsGroup </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return pointer to this object.
<p>
<p>
Reimplemented from <a class="el" href="class_ipe_object.html#8f1d6b0095edb08db03b1dbfbaa10e82">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="c30924cf55f1828a92b7ff89eb6e4bc0"></a><!-- doxytag: member="IpeGroup::pinned" ref="c30924cf55f1828a92b7ff89eb6e4bc0" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">IpeObject::TPinned IpeGroup::pinned </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return pinning mode of the object.
<p>
<p>
Reimplemented from <a class="el" href="class_ipe_object.html#300a88477f2e49fa7ed702e4ad2ff807">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="59ad49d995c1e20c1124f1fbf2618e60"></a><!-- doxytag: member="IpeGroup::Accept" ref="59ad49d995c1e20c1124f1fbf2618e60" args="(IpeVisitor &visitor) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::Accept </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_visitor.html">IpeVisitor</a> & </td>
<td class="paramname"> <em>visitor</em> </td>
<td> ) </td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Call VisitGroup of visitor.
<p>
<p>
Implements <a class="el" href="class_ipe_object.html#5e1c2d5483175375a3a83aaf61fa4900">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="c90d144a5fb4cf0cb99df1049d27e4c7"></a><!-- doxytag: member="IpeGroup::SaveAsXml" ref="c90d144a5fb4cf0cb99df1049d27e4c7" args="(IpePainter &painter, IpeStream &stream, IpeString layer) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::SaveAsXml </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
<td class="paramname"> <em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> & </td>
<td class="paramname"> <em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_ipe_string.html">IpeString</a> </td>
<td class="paramname"> <em>layer</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Save the object in XML format.
<p>
<p>
Implements <a class="el" href="class_ipe_object.html#65b22ef539b3c7966f6a68977ed36486">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="93ed260434751ca1349b0149b618fb44"></a><!-- doxytag: member="IpeGroup::Draw" ref="93ed260434751ca1349b0149b618fb44" args="(IpePainter &painter) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::Draw </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
<td class="paramname"> <em>painter</em> </td>
<td> ) </td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Draw the object.
<p>
<p>
Implements <a class="el" href="class_ipe_object.html#60f71ffee0f934072452b4dbed660de4">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="bf8bdf3d3f8cca47b934543b1e5c439a"></a><!-- doxytag: member="IpeGroup::AddToBBox" ref="bf8bdf3d3f8cca47b934543b1e5c439a" args="(IpeRect &box, const IpeMatrix &m) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::AddToBBox </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_rect.html">IpeRect</a> & </td>
<td class="paramname"> <em>box</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
<td class="paramname"> <em>m</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Extend <em>box</em> to include the object transformed by <em>m</em>.
<p>
For Ipe objects in a page, don't call this directly. The <a class="el" href="class_ipe_pg_object.html">IpePgObject</a> caches the bounding box, so it is far more efficient to call <a class="el" href="class_ipe_pg_object.html#24d9716bac48f23ee727db17f94dcfd1">IpePgObject::BBox</a>.<p>
If called with an empty box, the result of this function is a tight bounding box for the object, with a little leeway in case the boundary is determined by a spline (it has to be approximated to perform this operation).
<p>
Implements <a class="el" href="class_ipe_object.html#86fb97b574a854c49c2b5cd6aee1bb75">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="1fdd11d04b3d993f8e26a3d6c973951e"></a><!-- doxytag: member="IpeGroup::Distance" ref="1fdd11d04b3d993f8e26a3d6c973951e" args="(const IpeVector &v, const IpeMatrix &m, double bound) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double IpeGroup::Distance </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
<td class="paramname"> <em>v</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
<td class="paramname"> <em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"> <em>bound</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return distance of transformed object to point <em>v</em>. If larger than <em>bound</em>, can just return <em>bound</em>.
<p>
Implements <a class="el" href="class_ipe_object.html#ccf553420ac0b3435e686bb85adf7b88">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="9634bab1d607b4f54a7df6c5b7b2dc8a"></a><!-- doxytag: member="IpeGroup::SnapVtx" ref="9634bab1d607b4f54a7df6c5b7b2dc8a" args="(const IpeVector &mouse, const IpeMatrix &m, IpeVector &pos, double &bound) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::SnapVtx </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
<td class="paramname"> <em>mouse</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
<td class="paramname"> <em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
<td class="paramname"> <em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double & </td>
<td class="paramname"> <em>bound</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Compute possible vertex snapping position for transformed object.
<p>
Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>.
<p>
Implements <a class="el" href="class_ipe_object.html#2ebde3cb7e75c55a61d2092c82f29146">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="24f0724171a316ed49fd5afbe0e3aecc"></a><!-- doxytag: member="IpeGroup::SnapBnd" ref="24f0724171a316ed49fd5afbe0e3aecc" args="(const IpeVector &mouse, const IpeMatrix &m, IpeVector &pos, double &bound) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::SnapBnd </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
<td class="paramname"> <em>mouse</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="class_ipe_matrix.html">IpeMatrix</a> & </td>
<td class="paramname"> <em>m</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_ipe_vector.html">IpeVector</a> & </td>
<td class="paramname"> <em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double & </td>
<td class="paramname"> <em>bound</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Compute boundary snapping position for transformed object.
<p>
Looks only for positions closer than <em>bound</em>. If successful, modify <em>pos</em> and <em>bound</em>. The default implementation does nothing.
<p>
Reimplemented from <a class="el" href="class_ipe_object.html#f72b15786e9028360d2a44fc8c3c9820">IpeObject</a>.
</div>
</div><p>
<a class="anchor" name="d33f7d0caf4656bfddf05150be58af9a"></a><!-- doxytag: member="IpeGroup::size" ref="d33f7d0caf4656bfddf05150be58af9a" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int IpeGroup::size </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return number of component objects.
<p>
</div>
</div><p>
<a class="anchor" name="8126da50c389af87f0cbac1f6b0c1698"></a><!-- doxytag: member="IpeGroup::begin" ref="8126da50c389af87f0cbac1f6b0c1698" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const_iterator IpeGroup::begin </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return iterator for first object.
<p>
</div>
</div><p>
<a class="anchor" name="2c0d19360fb7787b73388f621cc30c03"></a><!-- doxytag: member="IpeGroup::end" ref="2c0d19360fb7787b73388f621cc30c03" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const_iterator IpeGroup::end </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return iterator for end of sequence.
<p>
</div>
</div><p>
<a class="anchor" name="5fa834fe4f8564e64801049806b88021"></a><!-- doxytag: member="IpeGroup::push_back" ref="5fa834fe4f8564e64801049806b88021" args="(const IpeObject *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::push_back </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_ipe_object.html">IpeObject</a> * </td>
<td class="paramname"> <em>obj</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Add an object.
<p>
This will panic if the object shares its implementation! The method is only useful right after construction of the group.
</div>
</div><p>
<a class="anchor" name="4d76f2b0158c8a7a8ea80969ea6d9261"></a><!-- doxytag: member="IpeGroup::SaveComponentsAsXml" ref="4d76f2b0158c8a7a8ea80969ea6d9261" args="(IpePainter &painter, IpeStream &stream) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::SaveComponentsAsXml </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_painter.html">IpePainter</a> & </td>
<td class="paramname"> <em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_ipe_stream.html">IpeStream</a> & </td>
<td class="paramname"> <em>stream</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Save all the components, one by one, in XML format.
<p>
</div>
</div><p>
<a class="anchor" name="202ab4d7a4b8f5e2b41d68a909a93200"></a><!-- doxytag: member="IpeGroup::CheckStyle" ref="202ab4d7a4b8f5e2b41d68a909a93200" args="(const IpeStyleSheet *sheet, IpeAttributeSeq &seq) const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::CheckStyle </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_ipe_style_sheet.html">IpeStyleSheet</a> * </td>
<td class="paramname"> <em>sheet</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__attr.html#g8592bdde9e4ad7b2ad81f5dd2638e43c">IpeAttributeSeq</a> & </td>
<td class="paramname"> <em>seq</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Check all symbolic attributes.
<p>
<p>
Reimplemented from <a class="el" href="class_ipe_fillable.html#a54b5e3feff44e4e04aa908507610ba9">IpeFillable</a>.
</div>
</div><p>
<a class="anchor" name="4f0755a24561aaba492e170da1672a57"></a><!-- doxytag: member="IpeGroup::TextSize" ref="4f0755a24561aaba492e170da1672a57" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeGroup::TextSize </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return font size of text objects in the group.
<p>
</div>
</div><p>
<a class="anchor" name="a3f750d0c19a9fdebe43523e559016e9"></a><!-- doxytag: member="IpeGroup::MarkSize" ref="a3f750d0c19a9fdebe43523e559016e9" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> IpeGroup::MarkSize </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return size of mark objects in the group.
<p>
</div>
</div><p>
<a class="anchor" name="51b49c546f00acb52e0d0f8ed273251e"></a><!-- doxytag: member="IpeGroup::MarkShape" ref="51b49c546f00acb52e0d0f8ed273251e" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int IpeGroup::MarkShape </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return shape of mark objects in the group.
<p>
</div>
</div><p>
<a class="anchor" name="6c89077e9447a8c722b385bd0ce2e8a9"></a><!-- doxytag: member="IpeGroup::HasTexts" ref="6c89077e9447a8c722b385bd0ce2e8a9" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IpeGroup::HasTexts </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Does this group contain any text objects?
<p>
</div>
</div><p>
<a class="anchor" name="7634d25e39f32cd18f5e795456f788be"></a><!-- doxytag: member="IpeGroup::HasMarks" ref="7634d25e39f32cd18f5e795456f788be" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool IpeGroup::HasMarks </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Does this group contain any mark objects?
<p>
</div>
</div><p>
<a class="anchor" name="10dc6e6c0264b715f18e0e04709e6b32"></a><!-- doxytag: member="IpeGroup::SetTextSize" ref="10dc6e6c0264b715f18e0e04709e6b32" args="(IpeAttribute size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::SetTextSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> </td>
<td class="paramname"> <em>size</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set font size of text objects in the group.
<p>
This is a no op if there are no text objects in the group. It invalidates (and destroys) the XForms stored with all text objects in the group.
</div>
</div><p>
<a class="anchor" name="f4ca357ab2d4bbcecfecff69304065b9"></a><!-- doxytag: member="IpeGroup::SetMarkSize" ref="f4ca357ab2d4bbcecfecff69304065b9" args="(IpeAttribute size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::SetMarkSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_ipe_attribute.html">IpeAttribute</a> </td>
<td class="paramname"> <em>size</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set size of mark objects in the group.
<p>
This is a no op if there are no mark objects in the group.
</div>
</div><p>
<a class="anchor" name="9b55e5fe72213b69a7760bfe65ec0bf3"></a><!-- doxytag: member="IpeGroup::SetMarkShape" ref="9b55e5fe72213b69a7760bfe65ec0bf3" args="(int shape)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeGroup::SetMarkShape </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>shape</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set shape of mark objects in the group.
<p>
This is a no op if there are no mark objects in the group.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>ipegroup.h<li>ipegroup.cpp</ul>
<hr>
</body></html>
|