|
|
@ -570,6 +570,7 @@ UBGraphicsScene* UBSvgSubsetAdaptor::UBSvgSubsetReader::loadScene() |
|
|
|
group = new UBGraphicsStrokesGroup(); |
|
|
|
group = new UBGraphicsStrokesGroup(); |
|
|
|
mStrokesList.insert(parentId,group); |
|
|
|
mStrokesList.insert(parentId,group); |
|
|
|
currentStroke = new UBGraphicsStroke(); |
|
|
|
currentStroke = new UBGraphicsStroke(); |
|
|
|
|
|
|
|
group->setTransform(polygonItem->transform()); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
group = mStrokesList.value(parentId); |
|
|
|
group = mStrokesList.value(parentId); |
|
|
@ -582,7 +583,6 @@ UBGraphicsScene* UBSvgSubsetAdaptor::UBSvgSubsetReader::loadScene() |
|
|
|
|
|
|
|
|
|
|
|
polygonItem->show(); |
|
|
|
polygonItem->show(); |
|
|
|
group->addToGroup(polygonItem); |
|
|
|
group->addToGroup(polygonItem); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else if (mXmlReader.name() == "polyline") |
|
|
|
else if (mXmlReader.name() == "polyline") |
|
|
@ -601,6 +601,7 @@ UBGraphicsScene* UBSvgSubsetAdaptor::UBSvgSubsetReader::loadScene() |
|
|
|
group = new UBGraphicsStrokesGroup(); |
|
|
|
group = new UBGraphicsStrokesGroup(); |
|
|
|
mStrokesList.insert(parentId,group); |
|
|
|
mStrokesList.insert(parentId,group); |
|
|
|
currentStroke = new UBGraphicsStroke(); |
|
|
|
currentStroke = new UBGraphicsStroke(); |
|
|
|
|
|
|
|
group->setTransform(polygonItem->transform()); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
group = mStrokesList.value(parentId); |
|
|
|
group = mStrokesList.value(parentId); |
|
|
|