mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:29:38 +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;
|
||||||
end; {TQtWidgetSet.PromptUser}
|
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
|
Function: RawImage_CreateBitmaps
|
||||||
Params: ARawImage:
|
Params: ARawImage:
|
||||||
|
@ -65,7 +65,6 @@ function PromptUser(const DialogCaption : string;
|
|||||||
DefaultIndex : LongInt;
|
DefaultIndex : LongInt;
|
||||||
EscapeResult : LongInt) : LongInt; override;
|
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_CreateBitmaps(const ARawImage: TRawImage; out ABitmap, AMask: HBitmap; ASkipMask: Boolean = False): Boolean; override;
|
||||||
|
|
||||||
function RawImage_DescriptionFromBitmap(ABitmap: HBITMAP; out ADesc: TRawImageDescription): Boolean; override;
|
function RawImage_DescriptionFromBitmap(ABitmap: HBITMAP; out ADesc: TRawImageDescription): Boolean; override;
|
||||||
|
Loading…
Reference in New Issue
Block a user