[Qt] QPointFH
zeljko
zeljko at holobit.net
Tue Feb 16 08:14:24 CET 2010
On Monday 15 February 2010 20:05, Den Jean wrote:
> try 2.1RC, will make release after feedback.
>
> Version V2.1:
> - QPointF support
> * via new Pascal types: TQtPointF,PQtPointF and convenience function
> QtPointF (like QtPoint) * the pascal record TQtPointF is compatible with
> QPointF internal representation. *
> http://wiki.freepascal.org/Qt4_binding#Solution:Pascalify
>
> - new QtVersion function (returns
> qVersion:http://doc.qt.nokia.com/4.5/qtglobal.html#qVersion)
>
> Download urls (temporarily):
>
> http://users.telenet.be/Jan.Van.hijfte/qtforfpc/qt4pas-V2.1RC_Qt4.5.3.tar.g
>z
> http://users.telenet.be/Jan.Van.hijfte/qtforfpc/bin-qt4pas-V2.1RC_Qt4.5.3.t
>ar.gz
> http://users.telenet.be/Jan.Van.hijfte/qtforfpc/demos-V2.1RC_Qt4.5.3.tar.gz
Great news ! thanks Den :)
> Changes for Lazarus:
>
> you will need this one line change.
>
> --- qtwinapi.inc (revision 23707)
> +++ qtwinapi.inc (working copy)
> @@ -1178,7 +1178,7 @@
> QTransform_inverted(Matrix, MatrixInv, @Inverted);
> QtPoint.X := P^.X;
> QtPoint.Y := P^.Y;
> - QTransform_map(MatrixInv, @QtPoint, @QtPoint);
> + QTransform_map(MatrixInv, PQtPoint(@QtPoint), PQtPoint(@QtPoint));
> P^.X := QtPoint.X;
> P^.Y := QtPoint.Y;
> Inc(P);
This changes in winapi must be applied with current 1.72, or it's 2.XX change
only ?
zeljko
More information about the Qt
mailing list