Skip to content

Commit e69680d

Browse files
committed
Publish 1.1.0 on NuGet
1 parent b9bd7db commit e69680d

File tree

3 files changed

+14
-258
lines changed

3 files changed

+14
-258
lines changed

RectpackSharp/RectanglePacker.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public static class RectanglePacker
2121
/// <param name="packingHint">Specifies hints for optimizing performance.</param>
2222
/// <param name="acceptableDensity">Searching stops once a bin is found with this density (usedArea/boundsArea) or better.</param>
2323
/// <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>
2426
/// <remarks>
2527
/// The <see cref="PackingRectangle.Id"/> values are never touched. Use this to identify your rectangles.
2628
/// </remarks>

RectpackSharp/RectpackSharp.csproj

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

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5-
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
5+
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
66
<Authors>ThomasMiz</Authors>
77
<Company>ThomasMiz</Company>
88
<Product />
@@ -13,9 +13,13 @@
1313
<PackageProjectUrl>https://github.com/ThomasMiz/RectpackSharp</PackageProjectUrl>
1414
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1515
<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>
1923
</PropertyGroup>
2024

2125
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
@@ -35,6 +39,10 @@
3539
<Pack>True</Pack>
3640
<PackagePath></PackagePath>
3741
</None>
42+
<None Include="..\README.md">
43+
<Pack>True</Pack>
44+
<PackagePath>\</PackagePath>
45+
</None>
3846
</ItemGroup>
3947

4048
<ItemGroup>

RectpackSharp/RectpackSharp.xml

Lines changed: 0 additions & 254 deletions
This file was deleted.

0 commit comments

Comments
 (0)