[PyQt] QPolygonF::data() method
Phil Thompson
phil at riverbankcomputing.co.uk
Fri Sep 26 08:42:39 BST 2008
On Thu, 25 Sep 2008 17:55:25 +0200, Giovanni Bajo <rasky at develer.com>
wrote:
> 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.
It will be in tonight's snapshot - also added to QPolygon and
QXmlAttributes.
Phil
More information about the PyQt
mailing list