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

/inkscape/src/util/
H A Dfixed_point.h29 FixedPoint(char value) : v(static_cast<T>(value)<<precision) {}
30 FixedPoint(unsigned char value) : v(static_cast<T>(value)<<precision) {}
53 FixedPoint& operator*=(char val) { v *= val; return *this; }
54 FixedPoint& operator*=(unsigned char val) { v *= val; return *this; }
64 FixedPoint operator*(char val) const { FixedPoint r(*this); return r*=val; }
65 FixedPoint operator*(unsigned char val) const { FixedPoint r(*this); return r*=val; }
74 operator char() const { return v>>precision; }
75 operator unsigned char() const { return v>>precision; }
87 template<typename T, unsigned int precision> FixedPoint<T,precision> operator *(char a, FixedPoint<T,precision> b) { return b*=a; }
88 template<typename T, unsigned int precision> FixedPoint<T,precision> operator *(unsigned char
[all...]

Completed in 14 milliseconds