axis_transform2d.cc 469 B

12345678910111213141516
  1. // Copyright 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ui/gfx/geometry/axis_transform2d.h"
  5. #include "base/strings/stringprintf.h"
  6. namespace gfx {
  7. std::string AxisTransform2d::ToString() const {
  8. return base::StringPrintf("[%s, %s]", scale_.ToString().c_str(),
  9. translation_.ToString().c_str());
  10. }
  11. } // namespace gfx