The documentation is embedded in the library and is also available online at https://danpla.github.io/dp_rect_pack.
See demo/main.cpp for an example of how to use the library.
https://github.com/danpla/dp_rect_pack