#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_PHYSICAL_RECT_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_PHYSICAL_RECT_H_
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/layout/geometry/physical_offset.h"
#include "third_party/blink/renderer/core/layout/geometry/physical_size.h"
#include "third_party/blink/renderer/platform/geometry/layout_unit.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
#include "ui/gfx/geometry/rect_f.h"
namespace WTF {
class String;
class TextStream;
}
namespace blink {
struct PhysicalBoxStrut;
struct CORE_EXPORT PhysicalRect { … };
inline PhysicalRect UnionRect(const PhysicalRect& a, const PhysicalRect& b) { … }
inline PhysicalRect Intersection(const PhysicalRect& a, const PhysicalRect& b) { … }
inline gfx::Rect ToEnclosingRect(const PhysicalRect& r) { … }
inline gfx::Rect ToPixelSnappedRect(const PhysicalRect& r) { … }
CORE_EXPORT PhysicalRect UnionRect(const Vector<PhysicalRect>& rects);
CORE_EXPORT PhysicalRect
UnionRectEvenIfEmpty(const Vector<PhysicalRect>& rects);
CORE_EXPORT std::ostream& operator<<(std::ostream&, const PhysicalRect&);
CORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const PhysicalRect&);
}
#endif