#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/transforms/affine_transform.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "ui/gfx/geometry/decomposed_transform.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/gfx/geometry/quad_f.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/transform.h"
namespace blink {
double AffineTransform::XScaleSquared() const { … }
double AffineTransform::XScale() const { … }
double AffineTransform::YScaleSquared() const { … }
double AffineTransform::YScale() const { … }
double AffineTransform::Det() const { … }
bool AffineTransform::IsInvertible() const { … }
AffineTransform AffineTransform::Inverse() const { … }
namespace {
inline AffineTransform DoMultiply(const AffineTransform& t1,
const AffineTransform& t2) { … }
}
AffineTransform& AffineTransform::PreConcat(const AffineTransform& other) { … }
AffineTransform& AffineTransform::PostConcat(const AffineTransform& other) { … }
AffineTransform& AffineTransform::Rotate(double a) { … }
AffineTransform& AffineTransform::RotateRadians(double a) { … }
AffineTransform& AffineTransform::Scale(double s) { … }
AffineTransform& AffineTransform::Scale(double sx, double sy) { … }
AffineTransform& AffineTransform::Translate(double tx, double ty) { … }
AffineTransform& AffineTransform::ScaleNonUniform(double sx, double sy) { … }
AffineTransform& AffineTransform::RotateFromVector(double x, double y) { … }
AffineTransform& AffineTransform::FlipX() { … }
AffineTransform& AffineTransform::FlipY() { … }
AffineTransform& AffineTransform::Shear(double sx, double sy) { … }
AffineTransform& AffineTransform::Skew(double angle_x, double angle_y) { … }
AffineTransform& AffineTransform::SkewX(double angle) { … }
AffineTransform& AffineTransform::SkewY(double angle) { … }
gfx::PointF AffineTransform::MapPoint(const gfx::PointF& point) const { … }
gfx::Rect AffineTransform::MapRect(const gfx::Rect& rect) const { … }
gfx::RectF AffineTransform::MapRect(const gfx::RectF& rect) const { … }
gfx::QuadF AffineTransform::MapQuad(const gfx::QuadF& q) const { … }
AffineTransform AffineTransform::FromTransform(const gfx::Transform& t) { … }
gfx::Transform AffineTransform::ToTransform() const { … }
AffineTransform& AffineTransform::Zoom(double zoom_factor) { … }
String AffineTransform::ToString(bool as_matrix) const { … }
std::ostream& operator<<(std::ostream& ostream,
const AffineTransform& transform) { … }
}