#include "third_party/blink/renderer/core/css/css_basic_shape_values.h"
#include "base/check.h"
#include "third_party/blink/renderer/core/css/css_identifier_value.h"
#include "third_party/blink/renderer/core/css/css_numeric_literal_value.h"
#include "third_party/blink/renderer/core/css/css_primitive_value.h"
#include "third_party/blink/renderer/core/css/css_value_pair.h"
#include "third_party/blink/renderer/platform/geometry/length.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
namespace cssvalue {
static String BuildCircleString(const String& radius,
const String& center_x,
const String& center_y,
bool has_explicit_center) { … }
static String SerializePositionOffset(const CSSValuePair& offset,
const CSSValuePair& other) { … }
static CSSValuePair* BuildSerializablePositionOffset(CSSValue* offset,
CSSValueID default_side) { … }
String CSSBasicShapeCircleValue::CustomCSSText() const { … }
bool CSSBasicShapeCircleValue::Equals(
const CSSBasicShapeCircleValue& other) const { … }
void CSSBasicShapeCircleValue::TraceAfterDispatch(
blink::Visitor* visitor) const { … }
static String BuildEllipseString(const String& radius_x,
const String& radius_y,
const String& center_x,
const String& center_y,
bool has_explicit_center) { … }
String CSSBasicShapeEllipseValue::CustomCSSText() const { … }
bool CSSBasicShapeEllipseValue::Equals(
const CSSBasicShapeEllipseValue& other) const { … }
void CSSBasicShapeEllipseValue::TraceAfterDispatch(
blink::Visitor* visitor) const { … }
static String BuildPolygonString(const WindRule& wind_rule,
const Vector<String>& points) { … }
String CSSBasicShapePolygonValue::CustomCSSText() const { … }
bool CSSBasicShapePolygonValue::Equals(
const CSSBasicShapePolygonValue& other) const { … }
void CSSBasicShapePolygonValue::TraceAfterDispatch(
blink::Visitor* visitor) const { … }
static bool BuildInsetRadii(Vector<String>& radii,
const String& top_left_radius,
const String& top_right_radius,
const String& bottom_right_radius,
const String& bottom_left_radius) { … }
static void AppendRoundedCorners(const char* separator,
const String& top_left_radius_width,
const String& top_left_radius_height,
const String& top_right_radius_width,
const String& top_right_radius_height,
const String& bottom_right_radius_width,
const String& bottom_right_radius_height,
const String& bottom_left_radius_width,
const String& bottom_left_radius_height,
StringBuilder& result) { … }
static String BuildRectStringCommon(const char* opening,
bool show_left_arg,
const String& top,
const String& right,
const String& bottom,
const String& left,
const String& top_left_radius_width,
const String& top_left_radius_height,
const String& top_right_radius_width,
const String& top_right_radius_height,
const String& bottom_right_radius_width,
const String& bottom_right_radius_height,
const String& bottom_left_radius_width,
const String& bottom_left_radius_height) { … }
static String BuildXYWHString(const String& x,
const String& y,
const String& width,
const String& height,
const String& top_left_radius_width,
const String& top_left_radius_height,
const String& top_right_radius_width,
const String& top_right_radius_height,
const String& bottom_right_radius_width,
const String& bottom_right_radius_height,
const String& bottom_left_radius_width,
const String& bottom_left_radius_height) { … }
static inline void UpdateCornerRadiusWidthAndHeight(
const CSSValuePair* corner_radius,
String& width,
String& height) { … }
String CSSBasicShapeInsetValue::CustomCSSText() const { … }
bool CSSBasicShapeInsetValue::Equals(
const CSSBasicShapeInsetValue& other) const { … }
void CSSBasicShapeInsetValue::TraceAfterDispatch(
blink::Visitor* visitor) const { … }
String CSSBasicShapeRectValue::CustomCSSText() const { … }
bool CSSBasicShapeRectValue::Equals(const CSSBasicShapeRectValue& other) const { … }
void CSSBasicShapeRectValue::TraceAfterDispatch(blink::Visitor* visitor) const { … }
void CSSBasicShapeRectValue::Validate() const { … }
String CSSBasicShapeXYWHValue::CustomCSSText() const { … }
bool CSSBasicShapeXYWHValue::Equals(const CSSBasicShapeXYWHValue& other) const { … }
void CSSBasicShapeXYWHValue::TraceAfterDispatch(blink::Visitor* visitor) const { … }
void CSSBasicShapeXYWHValue::Validate() const { … }
}
}