mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 09:19:15 +02:00
Adds CreateEllipticRgn to win32
git-svn-id: trunk@18697 -
This commit is contained in:
parent
3ef10c5da2
commit
3366947be6
@ -1795,6 +1795,19 @@ begin
|
||||
Result := Windows.CreateDIBSection(DC, Windows.PBitmapInfo(@p2)^, p3, p4, p5, p6)
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: CreateEllipticRgn
|
||||
Params: p1, p2 = X1 and Y1 top-left position of the ellipse
|
||||
Params: p3, p4 = X2 and Y2 bottom-right position of the ellipse
|
||||
Returns: The handle of the region created
|
||||
|
||||
Creates an elliptic region.
|
||||
------------------------------------------------------------------------------}
|
||||
function TWin32WidgetSet.CreateEllipticRgn(p1, p2, p3, p4: Integer): HRGN;
|
||||
begin
|
||||
Result := Windows.CreateEllipticRgn(p1, p2, p3, p4);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: GetFocus
|
||||
Params: none
|
||||
|
@ -53,6 +53,7 @@ function CreateCompatibleBitmap(DC: HDC; Width, Height: Integer): HBITMAP; overr
|
||||
function CreateCompatibleDC(DC: HDC): HDC; override;
|
||||
function CreateDIBSection(DC: HDC; const p2: tagBitmapInfo; p3: UINT;
|
||||
var p4: Pointer; p5: THandle; p6: DWORD): HBITMAP; override;
|
||||
function CreateEllipticRgn(p1, p2, p3, p4: Integer): HRGN; override;
|
||||
function CreateFontIndirect(const LogFont: TLogFont): HFONT; override;
|
||||
function CreateIconIndirect(IconInfo: PIconInfo): HICON; override;
|
||||
function CreatePatternBrush(ABitmap: HBITMAP): HBRUSH; override;
|
||||
|
Loading…
Reference in New Issue
Block a user