style set in adaptors

new_vector_item
thomas_lucky13 2 years ago
parent ed46bc6121
commit 5e946e575f
  1. 11
      src/adaptors/UBCFFSubsetAdaptor.cpp

@ -729,7 +729,16 @@ bool UBCFFSubsetAdaptor::UBCFFSubsetReader::parseSvgVector(const QDomElement &el
QTransform transform; QTransform transform;
QString textTransform = element.attribute(aTransform); QString textTransform = element.attribute(aTransform);
//graphicsVector->setStyle(style); if (style == 2)
{
graphicsVector->setStyle(UBVectorStyle::FromTo);
} else if (style == 1)
{
graphicsVector->setStyle(UBVectorStyle::From);
} else
{
graphicsVector->setStyle(UBVectorStyle::To);
}
graphicsVector->resetTransform(); graphicsVector->resetTransform();
if (!textTransform.isNull()) { if (!textTransform.isNull()) {

Loading…
Cancel
Save