阅读背景:

QSvgRenderer boundsOnElement()总是返回文本元素的大小为0,0。

来源:互联网 

I've been having a little trouble with QSvgRenderer and text elements; every time I call boundsOnElement(), I get back a QRect that correctly corresponds to the top left corner of the text element (after applying matrixForElement(), of course), but its width and height are always zero.I've been having a little trouble with QSvgRend




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: