CanvasLib
Loading...
Searching...
No Matches
canv Namespace Reference

Classes

class  Canvas
 The main class representing the canvas. To use it you only need to: More...
 
class  Color
 Utility Color class operating uint8(0..255) values. More...
 
class  Colors
 
class  Vec2
 Utility Vec2 class with x, y coordinates. More...
 

Typedefs

using Vec2f = Vec2<float>
 
using Vec2d = Vec2<double>
 
using Vec2i = Vec2<int32_t>
 
using Vec2ui = Vec2<uint32_t>
 

Functions

template<typename T , typename U >
auto operator* (const Vec2< T > &vec, const U &value) -> Vec2< T >
 
template<typename T , typename U >
auto operator* (const U &value, const Vec2< T > &vec) -> Vec2< T >
 
template<typename U >
auto operator<< (std::ostream &out, const Vec2< U > &v) -> std::ostream &
 

Detailed Description

Main namespace of the library (to keep my Vec2/Color away from your Vec2/Color)