Re: [Avogadro-devel] drawText method

2011-03-19 Thread Mickaël Gadroy
Hi, I have tested : int GLPainter::drawText(const Eigen::Vector3d &pos, const QString &string, const QFont &font) And I have problems : - The text isn't drawn ; - The 2nd text (using drawText(QPoint, QString)) isn't drawn correctly ; - the atoms are displayed as if there is no z-buffer .

Re: [Avogadro-devel] drawText method

2011-03-18 Thread Marcus D. Hanwell
Hi, On Fri, Mar 18, 2011 at 11:34 AM, Mickaël Gadroy wrote: > Hi all, > >   I would like to know if the use of : > int GLPainter::drawText ( const Eigen::Vector3d &pos, const QString &string > ) >   is "equals to" (performance, issuie known ...) (with the fonts support) : > int GLPainter::drawTex

[Avogadro-devel] drawText method

2011-03-18 Thread Mickaël Gadroy
Hi all, I would like to know if the use of : int GLPainter::drawText ( const Eigen::Vector3d &pos, const QString &string ) is "equals to" (performance, issuie known ...) (with the fonts support) : int GLPainter::drawText(const Eigen::Vector3d &pos, const QString &string, const QFont &font) ?