Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bin ¶
Bin represents a Bin with a width, height,and a list of rectangles have been packed.
type Rect ¶
Rect represents an immutable rectangle using value semantics.
func NewRectByPosAndSize ¶
func NewRectBySize ¶
func NewRectBySizeAndId ¶
func (Rect) CloneWithPos ¶
func (Rect) CloneWithSize ¶
func (Rect) IsContainedIn ¶
func (Rect) ToImageRect ¶
type Size ¶
Size represents a size with width and height. The width and height must be positive.
func (Size) PowerOfTwo ¶
Click to show internal directories.
Click to hide internal directories.