You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
450 B
16 lines
450 B
// 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
|