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 "base/gfx/vector_canvas.h" | 5 #include "base/gfx/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/bitmap_header.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" |
16 #include "base/string_util.h" | 16 #include "base/string_util.h" |
17 #include "base/win_util.h" | 17 #include "base/win_util.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 | 19 |
20 #include "SkDashPathEffect.h" | 20 #include "SkDashPathEffect.h" |
21 | 21 |
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
999 | 999 |
1000 { | 1000 { |
1001 vcanvas_->rotate(67); | 1001 vcanvas_->rotate(67); |
1002 pcanvas_->rotate(67); | 1002 pcanvas_->rotate(67); |
1003 vcanvas_->drawBitmap(bitmap, 20, -50, NULL); | 1003 vcanvas_->drawBitmap(bitmap, 20, -50, NULL); |
1004 pcanvas_->drawBitmap(bitmap, 20, -50, NULL); | 1004 pcanvas_->drawBitmap(bitmap, 20, -50, NULL); |
1005 EXPECT_EQ(0., ProcessImage(L"rotate")); | 1005 EXPECT_EQ(0., ProcessImage(L"rotate")); |
1006 } | 1006 } |
1007 } | 1007 } |
1008 | 1008 |
OLD | NEW |