Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: ui/gfx/geometry/axis_transform2d.cc

Issue 2563743004: [3/5] Add translated rasterization support for RasterBuffer & below (Closed)
Patch Set: all done Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
5 #include "ui/gfx/geometry/axis_transform2d.h"
6
7 #include "base/strings/stringprintf.h"
8
9 namespace gfx {
10
11 std::string AxisTransform2d::ToString() const {
12 return base::StringPrintf("[%f, %s]", scale_,
13 translation_.ToString().c_str());
14 }
15
16 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698