Lines Matching refs:Insets
24 class GFX_EXPORT Insets {
26 constexpr Insets() : top_(0), left_(0), bottom_(0), right_(0) {} in Insets() function
27 constexpr explicit Insets(int all) in Insets() function
29 constexpr Insets(int vertical, int horizontal) in Insets() function
34 constexpr Insets(int top, int left, int bottom, int right) in Insets() function
60 bool operator==(const Insets& insets) const {
65 bool operator!=(const Insets& insets) const {
69 void operator+=(const Insets& insets) {
76 void operator-=(const Insets& insets) {
83 Insets operator-() const {
84 return Insets(-top_, -left_, -bottom_, -right_);
87 Insets Scale(float scale) const { in Scale()
91 Insets Scale(float x_scale, float y_scale) const { in Scale()
92 return Insets(static_cast<int>(top() * y_scale), in Scale()
101 Insets Offset(const gfx::Vector2d& vector) const;
118 inline Insets operator+(Insets lhs, const Insets& rhs) {
123 inline Insets operator-(Insets lhs, const Insets& rhs) {