Switched the parenting collection back to derive directly from the .NET Framework collection class to simplify the implementation of the DisposeItems() method; fixed some documentation errors in one of the rectangle packers
git-svn-id: file:///srv/devel/repo-conversion/nusu@41 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
fba9d87e65
commit
cf92f22b31
3 changed files with 30 additions and 19 deletions
|
@ -110,8 +110,8 @@ namespace Nuclex.Support.Packing {
|
|||
/// <summary>Finds the best position for a rectangle of the given dimensions</summary>
|
||||
/// <param name="rectangleWidth">Width of the rectangle to find a position for</param>
|
||||
/// <param name="rectangleHeight">Height of the rectangle to find a position for</param>
|
||||
/// <param name="placement">Received the best placement found for the rectangle</param>
|
||||
/// <returns>The best position for a rectangle of the specified dimensions</returns>
|
||||
/// <param name="placement">Receives the best placement found for the rectangle</param>
|
||||
/// <returns>True if a valid placement for the rectangle could be found</returns>
|
||||
private bool tryFindBestPlacement(
|
||||
int rectangleWidth, int rectangleHeight, out Point placement
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue