src/svg/qsvgtinydocument_p.h
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
   171     return m_heightPercent;
   171     return m_heightPercent;
   172 }
   172 }
   173 
   173 
   174 inline QRectF QSvgTinyDocument::viewBox() const
   174 inline QRectF QSvgTinyDocument::viewBox() const
   175 {
   175 {
   176     if (m_viewBox.isNull()) {
   176     if (m_viewBox.isNull())
   177         m_viewBox = transformedBounds(QTransform());
   177         m_viewBox = transformedBounds();
   178     }
       
   179 
   178 
   180     return m_viewBox;
   179     return m_viewBox;
   181 }
   180 }
   182 
   181 
   183 inline bool QSvgTinyDocument::preserveAspectRatio() const
   182 inline bool QSvgTinyDocument::preserveAspectRatio() const