#include "third_party/blink/renderer/platform/transforms/rotate_transform_operation.h"
#include "third_party/blink/renderer/platform/geometry/blend.h"
namespace blink {
namespace {
TransformOperation::OperationType GetTypeForRotation(const Rotation& rotation) { … }
}
bool RotateTransformOperation::IsEqualAssumingSameType(
const TransformOperation& other) const { … }
bool RotateTransformOperation::GetCommonAxis(const RotateTransformOperation* a,
const RotateTransformOperation* b,
gfx::Vector3dF& result_axis,
double& result_angle_a,
double& result_angle_b) { … }
TransformOperation* RotateTransformOperation::Accumulate(
const TransformOperation& other) { … }
TransformOperation* RotateTransformOperation::Blend(
const TransformOperation* from,
double progress,
bool blend_to_identity) { … }
RotateAroundOriginTransformOperation::RotateAroundOriginTransformOperation(
double angle,
double origin_x,
double origin_y)
: … { … }
void RotateAroundOriginTransformOperation::Apply(
gfx::Transform& transform,
const gfx::SizeF& box_size) const { … }
bool RotateAroundOriginTransformOperation::IsEqualAssumingSameType(
const TransformOperation& other) const { … }
TransformOperation* RotateAroundOriginTransformOperation::Blend(
const TransformOperation* from,
double progress,
bool blend_to_identity) { … }
TransformOperation* RotateAroundOriginTransformOperation::Zoom(double factor) { … }
}