mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 07:36:14 +02:00
Qt: formatting
git-svn-id: trunk@31213 -
This commit is contained in:
parent
9e55bbb266
commit
74bcb1d11f
@ -631,8 +631,8 @@ begin
|
||||
|
||||
if (TQtDeviceContext(CanvasHandle).vImage <> nil) then
|
||||
begin
|
||||
// This code results in ARGB values, but TColor uses ABGR
|
||||
// Result := TColor(QImage_pixel(TQtDeviceContext(CanvasHandle).vImage.Handle, X, Y));
|
||||
// This code results in ARGB values, but TColor uses ABGR
|
||||
// Result := TColor(QImage_pixel(TQtDeviceContext(CanvasHandle).vImage.Handle, X, Y));
|
||||
|
||||
Color := QColor_create(QImage_pixel(TQtDeviceContext(CanvasHandle).vImage.Handle, X, Y));
|
||||
|
||||
@ -720,7 +720,7 @@ begin
|
||||
(aObject is TQtBrush) or
|
||||
(aObject is TQtImage) or
|
||||
(aObject is TQtPen) or
|
||||
(aObject is TQTRegion);
|
||||
(aObject is TQtRegion);
|
||||
end;
|
||||
except
|
||||
DebugLn(['Gdi object: ', GDIObject, ' is not an object!']);
|
||||
|
Loading…
Reference in New Issue
Block a user