Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
aurore::Size Struct Reference

#include <aurore/core/geometry.hpp>

Public Member Functions

 Size ()
 
 Size (float width, float height)
 
Size operator+ (const Size &a) const
 
Size operator- (const Size &a) const
 
Size operator/ (const float &a) const
 
Size operator* (const float &a) const
 
bool operator== (const Size &other) const
 

Public Attributes

float width
 
float height
 

Constructor & Destructor Documentation

◆ Size() [1/2]

aurore::Size::Size ( )

◆ Size() [2/2]

aurore::Size::Size ( float  width,
float  height 
)

Member Function Documentation

◆ operator*()

Size aurore::Size::operator* ( const float &  a) const

◆ operator+()

Size aurore::Size::operator+ ( const Size &  a) const

◆ operator-()

Size aurore::Size::operator- ( const Size &  a) const

◆ operator/()

Size aurore::Size::operator/ ( const float &  a) const

◆ operator==()

bool aurore::Size::operator== ( const Size &  other) const

Member Data Documentation

◆ height

float aurore::Size::height

◆ width

float aurore::Size::width

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