File tree Expand file tree Collapse file tree 3 files changed +14
-258
lines changed Expand file tree Collapse file tree 3 files changed +14
-258
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ public static class RectanglePacker
21
21
/// <param name="packingHint">Specifies hints for optimizing performance.</param>
22
22
/// <param name="acceptableDensity">Searching stops once a bin is found with this density (usedArea/boundsArea) or better.</param>
23
23
/// <param name="stepSize">The amount by which to increment/decrement size when trying to pack another bin.</param>
24
+ /// <param name="maxBoundsWidth">The maximum allowed width for the resulting bin, or null for no limit.</param>
25
+ /// <param name="maxBoundsHeight">The maximum allowed height for the resulting bin, or null for no limit.</param>
24
26
/// <remarks>
25
27
/// The <see cref="PackingRectangle.Id"/> values are never touched. Use this to identify your rectangles.
26
28
/// </remarks>
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFramework >netstandard2.0</TargetFramework >
5
- <GeneratePackageOnBuild >false </GeneratePackageOnBuild >
5
+ <GeneratePackageOnBuild >False </GeneratePackageOnBuild >
6
6
<Authors >ThomasMiz</Authors >
7
7
<Company >ThomasMiz</Company >
8
8
<Product />
13
13
<PackageProjectUrl >https://github.com/ThomasMiz/RectpackSharp</PackageProjectUrl >
14
14
<PackageLicenseFile >LICENSE</PackageLicenseFile >
15
15
<PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
16
- <Version >1.0.2</Version >
17
- <PackageReleaseNotes >- Changed lock mechanism for better thread safety when calling Pack(...) from multiple threads at the same time
18
- - Now targets .NET Standard 2.0 rather than 2.1 for better compatibility (Credit to BenMcLean)</PackageReleaseNotes >
16
+ <Version >1.1</Version >
17
+ <PackageReleaseNotes >- Added maxBoundsWidth and maxBoundsHeight optional parameters
18
+ - Minor fixes to acceptableDensity mechanism</PackageReleaseNotes >
19
+ <Title >RectpackSharp</Title >
20
+ <PackageReadmeFile >README.md</PackageReadmeFile >
21
+ <RepositoryType >git</RepositoryType >
22
+ <GenerateDocumentationFile >True</GenerateDocumentationFile >
19
23
</PropertyGroup >
20
24
21
25
<PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|AnyCPU'" >
35
39
<Pack >True</Pack >
36
40
<PackagePath ></PackagePath >
37
41
</None >
42
+ <None Include =" ..\README.md" >
43
+ <Pack >True</Pack >
44
+ <PackagePath >\</PackagePath >
45
+ </None >
38
46
</ItemGroup >
39
47
40
48
<ItemGroup >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments