Searched refs:RectangleImpl (Results 1 – 3 of 3) sorted by relevance
54 struct RectangleImpl struct56 RectangleImpl() : x(T(0)), y(T(0)), width(T(0)), height(T(0)) {} in RectangleImpl() function57 constexpr RectangleImpl(T x_in, T y_in, T width_in, T height_in) in RectangleImpl() argument60 explicit constexpr RectangleImpl(const T corners[4]) in RectangleImpl() argument67 explicit constexpr RectangleImpl(const RectangleImpl<S> rect) in RectangleImpl() argument80 RectangleImpl<T> flip(bool flipX, bool flipY) const in flip() argument82 RectangleImpl flipped = *this; in flip()97 RectangleImpl<T> removeReversal() const { return flip(isReversedX(), isReversedY()); } in removeReversal() argument99 bool encloses(const RectangleImpl<T> &inside) const in encloses() argument114 bool operator==(const RectangleImpl<T> &a, const RectangleImpl<T> &b); argument[all …]
630 bool RectangleImpl<int>::empty() const in empty()636 bool RectangleImpl<float>::empty() const in empty()
273 using FloatRectangle = gl::RectangleImpl<float>;