Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::text::BinPacker::Rectangle Struct Reference

Structure representing a rectangle to pack into the bin. More...

#include "binpacker.h"

Collaboration diagram for ion::text::BinPacker::Rectangle:

Public Member Functions

 Rectangle ()=delete
 
 Rectangle (uint64 id_in, const math::Vector2ui &size_in)
 Constructor that takes an ID and size. More...
 

Public Attributes

uint64 id
 
math::Vector2ui size
 
math::Point2ui bottom_left
 

Detailed Description

Structure representing a rectangle to pack into the bin.

Definition at line 39 of file binpacker.h.

Constructor & Destructor Documentation

ion::text::BinPacker::Rectangle::Rectangle ( )
delete
ion::text::BinPacker::Rectangle::Rectangle ( uint64  id_in,
const math::Vector2ui &  size_in 
)
inline

Constructor that takes an ID and size.

Definition at line 43 of file binpacker.h.

Member Data Documentation

math::Point2ui ion::text::BinPacker::Rectangle::bottom_left

Definition at line 48 of file binpacker.h.

uint64 ion::text::BinPacker::Rectangle::id

Definition at line 46 of file binpacker.h.

math::Vector2ui ion::text::BinPacker::Rectangle::size

Definition at line 47 of file binpacker.h.


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