Searched refs:lastInfoElt (Results 1 – 1 of 1) sorted by relevance
/dports/graphics/krita/krita-4.4.8/libs/image/ |
H A D | kis_distance_information.cpp | 212 QDomElement lastInfoElt = doc.createElement("LastInfo"); in toXML() local 213 lastInfoElt.setAttribute("lastPosX", QString::number(m_d->lastPosition.x(), 'g', 15)); in toXML() 214 lastInfoElt.setAttribute("lastPosY", QString::number(m_d->lastPosition.y(), 'g', 15)); in toXML() 215 lastInfoElt.setAttribute("lastAngle", QString::number(m_d->lastAngle, 'g', 15)); in toXML() 216 elt.appendChild(lastInfoElt); in toXML() 228 const QDomElement lastInfoElt = elt.firstChildElement("LastInfo"); in fromXML() local 229 const bool hasLastInfo = !lastInfoElt.isNull(); in fromXML() 232 const qreal lastPosX = qreal(KisDomUtils::toDouble(lastInfoElt.attribute("lastPosX", in fromXML() 234 const qreal lastPosY = qreal(KisDomUtils::toDouble(lastInfoElt.attribute("lastPosY", in fromXML() 236 const qreal lastAngle = qreal(KisDomUtils::toDouble(lastInfoElt.attribute("lastAngle", in fromXML()
|