|
dp_rect_pack
1.1.3
Rectangle packing library for C++
|
Status of the RectPacker::InsertResult. More...
#include <dp_rect_pack.h>
Public Types | |
| enum | Type { ok, negativeSize, zeroSize, rectTooBig } |
Status of the RectPacker::InsertResult.
Only InsertStatus::ok indicates a successful insertion; all other values are kinds of errors.
| Enumerator | |
|---|---|
| ok | Successful insertion. |
| negativeSize | Width and/or height is negative. |
| zeroSize | Width and/or height is zero. |
| rectTooBig | Rectangle is too big to fit in a single page. Width and/or height of the rectangle exceeds the maximum size a single page can hold, which is the maximum page size minus the padding.
|
1.8.13