OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "VectorCanvas.h" | 5 #include "skia/ext/vector_canvas.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/gfx/gdi_util.h" | 11 #include "base/gfx/gdi_util.h" |
12 #include "base/gfx/png_decoder.h" | 12 #include "base/gfx/png_decoder.h" |
13 #include "base/gfx/png_encoder.h" | 13 #include "base/gfx/png_encoder.h" |
14 #include "base/gfx/size.h" | 14 #include "base/gfx/size.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
(...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 | 1000 |
1001 { | 1001 { |
1002 vcanvas_->rotate(67); | 1002 vcanvas_->rotate(67); |
1003 pcanvas_->rotate(67); | 1003 pcanvas_->rotate(67); |
1004 vcanvas_->drawBitmap(bitmap, 20, -50, NULL); | 1004 vcanvas_->drawBitmap(bitmap, 20, -50, NULL); |
1005 pcanvas_->drawBitmap(bitmap, 20, -50, NULL); | 1005 pcanvas_->drawBitmap(bitmap, 20, -50, NULL); |
1006 EXPECT_EQ(0., ProcessImage(L"rotate")); | 1006 EXPECT_EQ(0., ProcessImage(L"rotate")); |
1007 } | 1007 } |
1008 } | 1008 } |
1009 | 1009 |
OLD | NEW |