CString ViewportConfiguration::description() const { TextStream ts; ts << "(viewport-configuration " << (void*)this; ts << "\n"; ts.increaseIndent(); ts.writeIndent(); ts << "(viewport arguments"; ts << m_viewportArguments; ts << ")"; ts.decreaseIndent(); ts << "\n"; ts.increaseIndent(); ts.writeIndent(); ts << "(configuration"; ts << m_configuration; ts << ")"; ts.decreaseIndent(); ts << "\n"; ts.increaseIndent(); ts.writeIndent(); ts << "(default configuration"; ts << m_defaultConfiguration; ts << ")"; ts.decreaseIndent(); ts.dumpProperty("contentSize", m_contentSize); ts.dumpProperty("minimumLayoutSize", m_minimumLayoutSize); ts << "\n"; ts.increaseIndent(); ts.writeIndent(); ts << "(computed initial scale " << initialScale() << ")\n"; ts.writeIndent(); ts << "(computed minimum scale " << minimumScale() << ")\n"; ts.writeIndent(); ts << "(computed layout size " << layoutSize() << ")\n"; ts.writeIndent(); ts << "(ignoring horizontal scaling constraints " << (shouldIgnoreHorizontalScalingConstraints() ? "true" : "false") << ")\n"; ts.writeIndent(); ts << "(ignoring vertical scaling constraints " << (shouldIgnoreVerticalScalingConstraints() ? "true" : "false") << ")"; ts.decreaseIndent(); ts << ")\n"; return ts.release().utf8(); }