Scroom  0.14
point.hh File Reference
#include <cmath>
#include <ostream>
#include <boost/operators.hpp>
#include <gdk/gdk.h>
#include <scroom/rounding.hh>
Include dependency graph for point.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Scroom::Utils::Point< T >
 

Namespaces

 Scroom
 
 Scroom::Utils
 

Functions

template<typename T >
Point< T > Scroom::Utils::make_point (T x, T y)
 
template<typename T >
Point< T > Scroom::Utils::make_point (T c)
 
template<typename T >
std::ostream & Scroom::Utils::operator<< (std::ostream &os, const Point< T > &p)
 
template<typename T , typename U >
Point< typename std::common_type< T, U >::type > Scroom::Utils::operator- (Point< T > left, Point< U > right)
 
template<typename T , typename U >
Point< typename std::common_type< T, U >::type > Scroom::Utils::operator+ (Point< T > left, Point< U > right)
 
template<typename T , typename U >
Point< typename std::common_type< T, U >::type > Scroom::Utils::operator* (Point< T > left, Point< U > right)
 
template<typename T , typename U >
Point< typename std::common_type< T, U >::type > Scroom::Utils::operator/ (Point< T > left, Point< U > right)
 
template<typename T , typename U >
Point< typename std::common_type< T, U >::type > Scroom::Utils::operator/ (T left, Point< U > right)
 
template<typename T , typename U >
Point< typename std::common_type< T, U >::type > Scroom::Utils::operator/ (Point< T > left, U right)
 
template<typename T >
Point< T > Scroom::Utils::rounded_divide_by (Point< T > value, T factor)
 
template<typename T >
Point< T > Scroom::Utils::ceiled_divide_by (Point< T > value, T factor)
 
template<typename T >
Point< T > Scroom::Utils::floored_divide_by (Point< T > value, T factor)
 
template<typename T >
Point< T > Scroom::Utils::rounded_divide_by (Point< T > value, Point< T > factor)
 
template<typename T >
Point< T > Scroom::Utils::ceiled_divide_by (Point< T > value, Point< T > factor)
 
template<typename T >
Point< T > Scroom::Utils::floored_divide_by (Point< T > value, Point< T > factor)
 
template<typename T >
Point< T > Scroom::Utils::ceil (Point< T > p)