#include "third_party/blink/renderer/core/css/cssom/css_rotate.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_cssnumericvalue_double.h"
#include "third_party/blink/renderer/core/css/css_function_value.h"
#include "third_party/blink/renderer/core/css/css_primitive_value.h"
#include "third_party/blink/renderer/core/css/cssom/css_unit_value.h"
#include "third_party/blink/renderer/core/geometry/dom_matrix.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
namespace blink {
namespace {
bool IsValidRotateCoord(const CSSNumericValue* value) { … }
bool IsValidRotateAngle(const CSSNumericValue* value) { … }
CSSRotate* FromCSSRotate(const CSSFunctionValue& value) { … }
CSSRotate* FromCSSRotate3d(const CSSFunctionValue& value) { … }
CSSRotate* FromCSSRotateXYZ(const CSSFunctionValue& value) { … }
}
CSSRotate* CSSRotate::Create(CSSNumericValue* angle,
ExceptionState& exception_state) { … }
CSSRotate* CSSRotate::Create(const V8CSSNumberish* x,
const V8CSSNumberish* y,
const V8CSSNumberish* z,
CSSNumericValue* angle,
ExceptionState& exception_state) { … }
CSSRotate* CSSRotate::Create(CSSNumericValue* angle) { … }
CSSRotate* CSSRotate::Create(CSSNumericValue* x,
CSSNumericValue* y,
CSSNumericValue* z,
CSSNumericValue* angle) { … }
CSSRotate* CSSRotate::FromCSSValue(const CSSFunctionValue& value) { … }
void CSSRotate::setAngle(CSSNumericValue* angle,
ExceptionState& exception_state) { … }
DOMMatrix* CSSRotate::toMatrix(ExceptionState& exception_state) const { … }
const CSSFunctionValue* CSSRotate::ToCSSValue() const { … }
V8CSSNumberish* CSSRotate::x() { … }
V8CSSNumberish* CSSRotate::y() { … }
V8CSSNumberish* CSSRotate::z() { … }
void CSSRotate::setX(const V8CSSNumberish* x, ExceptionState& exception_state) { … }
void CSSRotate::setY(const V8CSSNumberish* y, ExceptionState& exception_state) { … }
void CSSRotate::setZ(const V8CSSNumberish* z, ExceptionState& exception_state) { … }
CSSRotate::CSSRotate(CSSNumericValue* x,
CSSNumericValue* y,
CSSNumericValue* z,
CSSNumericValue* angle,
bool is2D)
: … { … }
}