#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/core/svg/svg_number.h"
#include "third_party/blink/renderer/core/svg/animation/smil_animation_effect_parameters.h"
#include "third_party/blink/renderer/core/svg/svg_parser_utilities.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/wtf/text/character_visitor.h"
namespace blink {
SVGNumber::SVGNumber(float value) : … { … }
SVGNumber* SVGNumber::Clone() const { … }
SVGPropertyBase* SVGNumber::CloneForAnimation(const String& value) const { … }
String SVGNumber::ValueAsString() const { … }
template <typename CharType>
SVGParsingError SVGNumber::Parse(const CharType* ptr, const CharType* end) { … }
SVGParsingError SVGNumber::SetValueAsString(const String& string) { … }
void SVGNumber::Add(const SVGPropertyBase* other, const SVGElement*) { … }
void SVGNumber::CalculateAnimatedValue(
const SMILAnimationEffectParameters& parameters,
float percentage,
unsigned repeat_count,
const SVGPropertyBase* from,
const SVGPropertyBase* to,
const SVGPropertyBase* to_at_end_of_duration,
const SVGElement*) { … }
float SVGNumber::CalculateDistance(const SVGPropertyBase* other,
const SVGElement*) const { … }
SVGNumber* SVGNumberAcceptPercentage::Clone() const { … }
template <typename CharType>
static SVGParsingError ParseNumberOrPercentage(const CharType*& ptr,
const CharType* end,
float& number) { … }
SVGParsingError SVGNumberAcceptPercentage::SetValueAsString(
const String& string) { … }
SVGNumberAcceptPercentage::SVGNumberAcceptPercentage(float value)
: … { … }
}