[Qt] TQtWidget
Den Jean
Den.Jean at telenet.be
Sun Jul 15 18:34:52 CEST 2007
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 ...
More information about the Qt
mailing list