mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 20:36:09 +02:00
Qt: removed TQtWidgetSet.RadialPie() implementation, it's wrong since qt have different meaning of calculating pie parameters. let lcl draw it.
git-svn-id: trunk@34085 -
This commit is contained in:
parent
372a68c92c
commit
d34721833f
@ -445,14 +445,6 @@ begin
|
||||
end;
|
||||
end; {TQtWidgetSet.PromptUser}
|
||||
|
||||
function TQtWidgetSet.RadialPie(DC: HDC; x1, y1, x2, y2, Angle1, Angle2: Integer
|
||||
): Boolean;
|
||||
begin
|
||||
Result := IsValidDC(DC);
|
||||
if Result then
|
||||
QPainter_drawPie(TQtDeviceContext(DC).Widget, x1, y1, x2, y2, Angle1, Angle2);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Function: RawImage_CreateBitmaps
|
||||
Params: ARawImage:
|
||||
|
@ -65,7 +65,6 @@ function PromptUser(const DialogCaption : string;
|
||||
DefaultIndex : LongInt;
|
||||
EscapeResult : LongInt) : LongInt; override;
|
||||
|
||||
function RadialPie(DC: HDC; x1, y1, x2, y2, Angle1, Angle2: Integer): Boolean; override;
|
||||
function RawImage_CreateBitmaps(const ARawImage: TRawImage; out ABitmap, AMask: HBitmap; ASkipMask: Boolean = False): Boolean; override;
|
||||
|
||||
function RawImage_DescriptionFromBitmap(ABitmap: HBITMAP; out ADesc: TRawImageDescription): Boolean; override;
|
||||
|
Loading…
Reference in New Issue
Block a user