#ifndef UI_GFX_GEOMETRY_AXIS_TRANSFORM2D_H_
#define UI_GFX_GEOMETRY_AXIS_TRANSFORM2D_H_
#include <optional>
#include "base/check_op.h"
#include "ui/gfx/geometry/clamp_float_geometry.h"
#include "ui/gfx/geometry/geometry_export.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/vector2d_f.h"
namespace gfx {
struct DecomposedTransform;
class GEOMETRY_EXPORT AxisTransform2d { … };
inline AxisTransform2d PreScaleAxisTransform2d(const AxisTransform2d& t,
float scale) { … }
inline AxisTransform2d PostScaleAxisTransform2d(const AxisTransform2d& t,
float scale) { … }
inline AxisTransform2d PreTranslateAxisTransform2d(
const AxisTransform2d& t,
const Vector2dF& translation) { … }
inline AxisTransform2d PostTranslateAxisTransform2d(
const AxisTransform2d& t,
const Vector2dF& translation) { … }
inline AxisTransform2d ConcatAxisTransform2d(const AxisTransform2d& post,
const AxisTransform2d& pre) { … }
inline AxisTransform2d InvertAxisTransform2d(const AxisTransform2d& t) { … }
void PrintTo(const AxisTransform2d&, ::std::ostream* os);
}
#endif