1390:3eace926af7f | 1391:5fa4bf1fc781 |
---|---|
103 void LDDocument::setTabIndex (int value) | 103 void LDDocument::setTabIndex (int value) |
104 { | 104 { |
105 m_tabIndex = value; | 105 m_tabIndex = value; |
106 } | 106 } |
107 | 107 |
108 const QList<LDPolygon>& LDDocument::polygonData() const | 108 const QVector<LDPolygon>& LDDocument::polygonData() const |
109 { | 109 { |
110 return m_polygonData; | 110 return m_polygonData; |
111 } | 111 } |
112 | 112 |
113 long LDDocument::savePosition() const | 113 long LDDocument::savePosition() const |
503 } | 503 } |
504 } | 504 } |
505 | 505 |
506 // ============================================================================= | 506 // ============================================================================= |
507 // | 507 // |
508 QList<LDPolygon> LDDocument::inlinePolygons() | 508 QVector<LDPolygon> LDDocument::inlinePolygons() |
509 { | 509 { |
510 initializeCachedData(); | 510 initializeCachedData(); |
511 return polygonData(); | 511 return polygonData(); |
512 } | 512 } |
513 | 513 |
532 // Got another sub-file reference, recurse and inline it too if we're deep-inlining. | 532 // Got another sub-file reference, recurse and inline it too if we're deep-inlining. |
533 // If not, just add it into the objects normally. | 533 // If not, just add it into the objects normally. |
534 if (deep and object->type() == LDObjectType::SubfileReference) | 534 if (deep and object->type() == LDObjectType::SubfileReference) |
535 { | 535 { |
536 LDSubfileReference* reference = static_cast<LDSubfileReference*>(object); | 536 LDSubfileReference* reference = static_cast<LDSubfileReference*>(object); |
537 reference->inlineContents( | 537 reference->rasterize( |
538 documentManager(), | 538 documentManager(), |
539 this->winding(), | 539 this->winding(), |
540 model, | 540 model, |
541 deep, | 541 deep, |
542 renderinline | 542 renderinline |