Euphoria
Classes | Namespaces | Enumerations | Functions
rect.h File Reference
#include "assert/assert.h"
#include "base/vec2.h"
#include "base/range.h"

Go to the source code of this file.

Classes

struct  eu::Lrtb
 offset from sides More...
 
struct  eu::Rect
 

Namespaces

namespace  eu
 

Enumerations

enum class  eu::RectCut { eu::left , eu::right , eu::top , eu::bottom }
 

Functions

v2 eu::to_01 (const Rect &r, const v2 &from)
 
v2 eu::from_01 (const Rect &r, const v2 &from)
 
bool eu::is_within (const v2 &p, const Rect &r)
 is the point contained within the rect?
 
std::string eu::to_string (const Rect &r)