dp_rect_pack  1.1.3
Rectangle packing library for C++
Public Member Functions | Public Attributes | List of all members
dp::rect_pack::RectPacker< GeomT >::Padding Struct Reference

#include <dp_rect_pack.h>

Public Member Functions

 Padding (GeomT padding)
 Construct Padding with the same padding for all sides. More...
 
 Padding (GeomT top, GeomT bottom, GeomT left, GeomT right)
 

Public Attributes

GeomT top
 
GeomT bottom
 
GeomT left
 
GeomT right
 

Constructor & Destructor Documentation

◆ Padding() [1/2]

template<typename GeomT = int>
dp::rect_pack::RectPacker< GeomT >::Padding::Padding ( GeomT  padding)
inlineexplicit

Construct Padding with the same padding for all sides.

◆ Padding() [2/2]

template<typename GeomT = int>
dp::rect_pack::RectPacker< GeomT >::Padding::Padding ( GeomT  top,
GeomT  bottom,
GeomT  left,
GeomT  right 
)
inline

Member Data Documentation

◆ bottom

template<typename GeomT = int>
GeomT dp::rect_pack::RectPacker< GeomT >::Padding::bottom

◆ left

template<typename GeomT = int>
GeomT dp::rect_pack::RectPacker< GeomT >::Padding::left

◆ right

template<typename GeomT = int>
GeomT dp::rect_pack::RectPacker< GeomT >::Padding::right

◆ top

template<typename GeomT = int>
GeomT dp::rect_pack::RectPacker< GeomT >::Padding::top

The documentation for this struct was generated from the following file: