All pastes #445388 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-17 20:55 UTC
rendered paste body
	double width = d->m_svgRenderer.boundsOnElement(d->m_elementId).width();
	double height = d->m_svgRenderer.boundsOnElement(d->m_elementId).height();

	kDebug () << "Element Width: " << width << " Element Height: " << height << endl;
	int x = static_cast<int>(width);
	int y = static_cast<int>(height);

	kDebug () << "Element Width: " << x << " Element Height: " << y << endl;

SAMPLE OUTPUT:

kapp4: Theme set to: Individual Digit
kapp4: cache has been cleared
kapp4: Element Width: 60 Element Height: 150
kapp4: Element Width: 60 Element Height: 149
kapp4: caching digit: ,