Skip to content

Commit

Permalink
ver. 3.2.1
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
carloBarazzetta committed May 28, 2024
1 parent c2fe3aa commit bea9d18
Show file tree
Hide file tree
Showing 89 changed files with 43,491 additions and 2,787 deletions.
205 changes: 136 additions & 69 deletions Ext/SVGIconImageList/Image32/source/Clipper.Core.pas

Large diffs are not rendered by default.

291 changes: 136 additions & 155 deletions Ext/SVGIconImageList/Image32/source/Clipper.Engine.pas

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions Ext/SVGIconImageList/Image32/source/Clipper.Minkowski.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

(*******************************************************************************
* Author : Angus Johnson *
* Date : 15 October 2022 *
* Date : 21 December 2023 *
* Copyright : Angus Johnson 2010-2022 *
* Purpose : Minkowski Addition and Difference *
* License : http://www.boost.org/LICENSE_1_0.txt *
Expand Down Expand Up @@ -51,9 +51,7 @@ function Minkowski(const Base, Path: TPath64;
tmp: TPaths64;
quad: TPath64;
begin
if IsClosed then
delta := 0 else
delta := 1;
delta := Iif(IsClosed, 0 , 1);
baseLen := Length(Base);
pathLen := Length(Path);
setLength(tmp, pathLen);
Expand All @@ -71,10 +69,7 @@ function Minkowski(const Base, Path: TPath64;

SetLength(quad, 4);
SetLength(Result, (pathLen - delta) * baseLen);

if IsClosed then
g := pathLen - 1 else
g := 0;
g := Iif(IsClosed, pathLen - 1, 0);

for i := delta to pathLen - 1 do
begin
Expand Down
Loading

0 comments on commit bea9d18

Please sign in to comment.