[Qt] TQtWidget

zeljko at holobit.net zeljko at holobit.net
Sun Jul 15 19:38:03 CEST 2007


Quoting Den Jean <Den.Jean at telenet.be>:

> On Thursday 12 July 2007 10:23:45 pm Felipe Monteiro de Carvalho wrote:
>> Yes .... LCL was wrong, it was passing a Types.TPoint instead of a
>> TQtPoint to the function
>
> in qtwinapi.inc, the implementation of polygon and alike are wrong for Mac:
>
>
> function TQtWidgetSet.Polygon(DC: HDC; Points: PPoint; NumPts: Integer;
>   Winding: Boolean): boolean;
> ....
> QPainter_drawPolygon(TQtDeviceContext(DC).Widget, PQtPoint(Points), NumPts,
> QtWindingFill)
>
> the typecast is a problem ...

ah, now I see TQtPoint is reversed for mac ....



More information about the Qt mailing list