| Index: ui/gfx/geometry/axis_transform2d.cc
|
| diff --git a/ui/gfx/geometry/axis_transform2d.cc b/ui/gfx/geometry/axis_transform2d.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5b7d86a45079d04c068c7bc3e95003b2335e2d5b
|
| --- /dev/null
|
| +++ b/ui/gfx/geometry/axis_transform2d.cc
|
| @@ -0,0 +1,16 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/gfx/geometry/axis_transform2d.h"
|
| +
|
| +#include "base/strings/stringprintf.h"
|
| +
|
| +namespace gfx {
|
| +
|
| +std::string AxisTransform2d::ToString() const {
|
| + return base::StringPrintf("[%f, %s]", scale_,
|
| + translation_.ToString().c_str());
|
| +}
|
| +
|
| +} // namespace gfx
|
|
|