[PyQt] QPolygonF::data() method

Giovanni Bajo rasky at develer.com
Thu Sep 25 16:55:25 BST 2008


Hi Phil,

is there a reason why QPolygonF does not expose the data() method 
(inherited from QVector<QPointF>)? I added it as a method returning a 
sip voidptr and it's very useful for me, as a way to pass the raw buffer 
to C code which is not Qt-aware without doing heavy data copying.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com


More information about the PyQt mailing list