| 507 | } |
| 508 | |
| 509 | bool Shape::path (Shape::path_type &p) const |
| 510 | { |
| 511 | if (m_type == Path) { |
| 512 | p = path (); |
| 513 | return true; |
| 514 | } else if (m_type == PathRef || m_type == PathPtrArrayMember) { |
| 515 | path_ref ().instantiate (p); |
| 516 | return true; |
| 517 | } else { |
| 518 | return false; |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | Shape::text_ref_type Shape::text_ref () const |
| 523 | { |