On Tuesday 18 March 2008 02:30:29 pm Michael Droettboom wrote:
> Darren Dale wrote:
> > I discovered another blitting bug in backend_qt4agg.py. Qt expects a
> > pixmap stringBuffer formatted in ARGB, but mpl formats in RGBA. The qt4
> > backend usually uses the _renderer.tostring_bgra method to ret
Darren Dale wrote:
> I discovered another blitting bug in backend_qt4agg.py. Qt expects a pixmap
> stringBuffer formatted in ARGB, but mpl formats in RGBA. The qt4 backend
> usually uses the _renderer.tostring_bgra method to return a properly
> formatted buffer:
>
> if QtCore.QSysInfo.ByteOrder
I discovered another blitting bug in backend_qt4agg.py. Qt expects a pixmap
stringBuffer formatted in ARGB, but mpl formats in RGBA. The qt4 backend
usually uses the _renderer.tostring_bgra method to return a properly
formatted buffer:
if QtCore.QSysInfo.ByteOrder == QtCore.QSysInfo.LittleEndi