mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 13:23:10 +01:00
Qt: fixed #11602, problem was in TQtWidgetSet.DCSetPixel().
git-svn-id: trunk@16618 -
This commit is contained in:
parent
20accebb61
commit
c3e3cf9a44
@ -410,7 +410,7 @@ begin
|
||||
Painter := TQtDeviceContext(CanvasHandle).Widget;
|
||||
Pen := QPainter_pen(Painter);
|
||||
QPen_color(Pen, @ASavedColor);
|
||||
QColor_setRgb(QColorH(@Color),Red(AColor),Green(AColor),Blue(AColor));
|
||||
QColor_fromRgb(@Color, Red(AColor),Green(AColor),Blue(AColor));
|
||||
QPainter_setPen(Painter, @Color);
|
||||
QPainter_drawPoint(Painter, X,Y);
|
||||
QPainter_setPen(Painter, @ASavedColor);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user