Из исходников хромиума.
Базовая библиотека геометрии, всё просто и понятно, пастораль и идиллия...
// gfx/geometry/point.h
class GFX_EXPORT Point {
public:
constexpr Point() : x_(0), y_(0) {}
constexpr Point(int x, int y) : x_(x), y_(y) {}
. . .
// gfx/geometry/size.h
class GFX_EXPORT Size {
public:
constexpr Size() : width_(0), height_(0) {}
constexpr Size(int width, int height)
. . .
// gfx/geometry/rect.h
class GFX_EXPORT Rect {
public:
constexpr Rect() = default;
constexpr Rect(int width, int height) : size_(width, height) {}
constexpr Rect(int x, int y, int width, int height)
. . .
И тут внезапно
// gfx/geometry/insets.h
class GFX_EXPORT Insets {
public:
constexpr Insets() : top_(0), left_(0), bottom_(0), right_(0) {}
constexpr explicit Insets(int all)
: top_(all), left_(all), bottom_(all), right_(all) {}
constexpr Insets(int vertical, int horizontal)
: top_(vertical),
left_(horizontal),
bottom_(vertical),
right_(horizontal) {}
constexpr Insets(int top, int left, int bottom, int right)
: top_(top), left_(left), bottom_(bottom), right_(right) {}
. . .
Уважаемые знатоки! Как вы думаете, почему я обратил на это внимание?