#include "third_party/blink/renderer/core/paint/rounded_border_geometry.h"
#include "third_party/blink/renderer/core/layout/geometry/physical_rect.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/platform/geometry/float_rounded_rect.h"
#include "third_party/blink/renderer/platform/geometry/length_functions.h"
#include "ui/gfx/geometry/rect_conversions.h"
namespace blink {
namespace {
FloatRoundedRect::Radii CalcRadiiFor(const ComputedStyle& style,
gfx::SizeF size,
PhysicalBoxSides sides_to_include) { … }
}
FloatRoundedRect RoundedBorderGeometry::RoundedBorder(
const ComputedStyle& style,
const PhysicalRect& border_rect) { … }
FloatRoundedRect RoundedBorderGeometry::PixelSnappedRoundedBorder(
const ComputedStyle& style,
const PhysicalRect& border_rect,
PhysicalBoxSides sides_to_include) { … }
FloatRoundedRect RoundedBorderGeometry::RoundedInnerBorder(
const ComputedStyle& style,
const PhysicalRect& border_rect) { … }
FloatRoundedRect RoundedBorderGeometry::PixelSnappedRoundedInnerBorder(
const ComputedStyle& style,
const PhysicalRect& border_rect,
PhysicalBoxSides sides_to_include) { … }
FloatRoundedRect RoundedBorderGeometry::PixelSnappedRoundedBorderWithOutsets(
const ComputedStyle& style,
const PhysicalRect& border_rect,
const PhysicalBoxStrut& outsets,
PhysicalBoxSides sides_to_include) { … }
}