// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GFX_GEOMETRY_INSETS_OUTSETS_BASE_H_ #define UI_GFX_GEOMETRY_INSETS_OUTSETS_BASE_H_ #include <string> #include "base/numerics/clamped_math.h" #include "base/strings/stringprintf.h" #include "ui/gfx/geometry/size.h" namespace gfx { // The common base template class for Insets and Outsets. // Represents the widths of the four borders or margins of an unspecified // rectangle. It stores the thickness of the top, left, bottom and right // edges, without storing the actual size and position of the rectangle itself. template <typename T> class InsetsOutsetsBase { … }; } // namespace gfx #endif // UI_GFX_GEOMETRY_INSETS_OUTSETS_BASE_H_