Lines Matching refs:FloatPoint
155 class FloatPoint {
158 FloatPoint() { in FloatPoint() function
171 FloatPoint(float in_x, float in_y) { in FloatPoint() function
180 FloatPoint(const PP_FloatPoint& point) { // Implicit. in FloatPoint() function
185 ~FloatPoint() { in ~FloatPoint()
238 FloatPoint operator+(const FloatPoint& other) const {
239 return FloatPoint(x() + other.x(), y() + other.y());
248 FloatPoint operator-(const FloatPoint& other) const {
249 return FloatPoint(x() - other.x(), y() - other.y());
258 FloatPoint& operator+=(const FloatPoint& other) {
270 FloatPoint& operator-=(const FloatPoint& other) {
279 void swap(FloatPoint& other) { in swap()
321 inline bool operator==(const pp::FloatPoint& lhs, const pp::FloatPoint& rhs) {
332 inline bool operator!=(const pp::FloatPoint& lhs, const pp::FloatPoint& rhs) {