#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_WRITING_MODE_CONVERTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_WRITING_MODE_CONVERTER_H_
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/layout/geometry/logical_rect.h"
#include "third_party/blink/renderer/core/layout/geometry/physical_rect.h"
#include "third_party/blink/renderer/platform/text/writing_direction_mode.h"
namespace blink {
class CORE_EXPORT WritingModeConverter { … };
inline LogicalOffset WritingModeConverter::ToLogical(
const PhysicalOffset& offset,
const PhysicalSize& inner_size) const { … }
inline PhysicalOffset WritingModeConverter::ToPhysical(
const LogicalOffset& offset,
const PhysicalSize& inner_size) const { … }
inline LogicalSize WritingModeConverter::ToLogical(
const PhysicalSize& size) const { … }
inline PhysicalSize WritingModeConverter::ToPhysical(
const LogicalSize& size) const { … }
inline LogicalRect WritingModeConverter::ToLogical(
const PhysicalRect& rect) const { … }
inline PhysicalRect WritingModeConverter::ToPhysical(
const LogicalRect& rect) const { … }
inline gfx::PointF WritingModeConverter::ToLogical(
const gfx::PointF& offset) const { … }
inline gfx::SizeF WritingModeConverter::ToLogical(
const gfx::SizeF& size) const { … }
inline gfx::RectF WritingModeConverter::ToLogical(
const gfx::RectF& rect) const { … }
}
#endif