Searched defs:short (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/util/
H A Dfixed_point.h31 FixedPoint(short value) : v(static_cast<T>(value)<<precision) {}
32 FixedPoint(unsigned short value) : v(static_cast<T>(value)<<precision) {}
55 FixedPoint& operator*=(short val) { v *= val; return *this; }
56 FixedPoint& operator*=(unsigned short val) { v *= val; return *this; }
66 FixedPoint operator*(short val) const { FixedPoint r(*this); return r*=val; }
67 FixedPoint operator*(unsigned short val) const { FixedPoint r(*this); return r*=val; }
76 operator short() const { return v>>precision; }
77 operator unsigned short() const { return v>>precision; }
89 template<typename T, unsigned int precision> FixedPoint<T,precision> operator *(short a, FixedPoint<T,precision> b) { return b*=a; }
90 template<typename T, unsigned int precision> FixedPoint<T,precision> operator *(unsigned short
[all...]

Completed in 894 milliseconds