364 // ============================================================================= |
364 // ============================================================================= |
365 // |
365 // |
366 QList<LDPolygon> LDSubfile::inlinePolygons() |
366 QList<LDPolygon> LDSubfile::inlinePolygons() |
367 { |
367 { |
368 QList<LDPolygon> data = fileInfo()->inlinePolygons(); |
368 QList<LDPolygon> data = fileInfo()->inlinePolygons(); |
369 print ("LDSubfile::inlinePolygons: %1 has %2 polygons\n", fileInfo()->getDisplayName(), data.size()); |
|
370 |
369 |
371 for (LDPolygon& entry : data) |
370 for (LDPolygon& entry : data) |
372 for (int i = 0; i < entry.numVertices(); ++i) |
371 for (int i = 0; i < entry.numVertices(); ++i) |
373 entry.vertices[i].transform (transform(), position()); |
372 entry.vertices[i].transform (transform(), position()); |
374 |
373 |