Skip to content

Commit bea9d18

Browse files
ver. 3.2.1
- Aligned to latest Image32 Library - Fixed Initialization of GDI+ - Added File Changed notification and reload - Added use of StyledComponents and Rounded Buttons in Editor and Viewer
1 parent c2fe3aa commit bea9d18

File tree

89 files changed

+43491
-2787
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+43491
-2787
lines changed

Ext/SVGIconImageList/Image32/source/Clipper.Core.pas

Lines changed: 136 additions & 69 deletions
Large diffs are not rendered by default.

Ext/SVGIconImageList/Image32/source/Clipper.Engine.pas

Lines changed: 136 additions & 155 deletions
Large diffs are not rendered by default.

Ext/SVGIconImageList/Image32/source/Clipper.Minkowski.pas

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(*******************************************************************************
44
* Author : Angus Johnson *
5-
* Date : 15 October 2022 *
5+
* Date : 21 December 2023 *
66
* Copyright : Angus Johnson 2010-2022 *
77
* Purpose : Minkowski Addition and Difference *
88
* License : http://www.boost.org/LICENSE_1_0.txt *
@@ -51,9 +51,7 @@ function Minkowski(const Base, Path: TPath64;
5151
tmp: TPaths64;
5252
quad: TPath64;
5353
begin
54-
if IsClosed then
55-
delta := 0 else
56-
delta := 1;
54+
delta := Iif(IsClosed, 0 , 1);
5755
baseLen := Length(Base);
5856
pathLen := Length(Path);
5957
setLength(tmp, pathLen);
@@ -71,10 +69,7 @@ function Minkowski(const Base, Path: TPath64;
7169

7270
SetLength(quad, 4);
7371
SetLength(Result, (pathLen - delta) * baseLen);
74-
75-
if IsClosed then
76-
g := pathLen - 1 else
77-
g := 0;
72+
g := Iif(IsClosed, pathLen - 1, 0);
7873

7974
for i := delta to pathLen - 1 do
8075
begin

0 commit comments

Comments
 (0)