OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com> | 2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com> |
3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
4 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
20 */ | 20 */ |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 | 23 |
24 #include "core/platform/graphics/filters/FETile.h" | 24 #include "core/platform/graphics/filters/FETile.h" |
25 | 25 |
26 #include "SkFlattenableBuffers.h" | 26 #include "SkFlattenableBuffers.h" |
27 #include "SkTileImageFilter.h" | 27 #include "SkTileImageFilter.h" |
28 | 28 |
29 #include "core/platform/graphics/GraphicsContext.h" | 29 #include "platform/graphics/GraphicsContext.h" |
30 #include "core/platform/graphics/Pattern.h" | 30 #include "platform/graphics/Pattern.h" |
31 #include "core/platform/graphics/filters/SkiaImageFilterBuilder.h" | 31 #include "platform/graphics/filters/SkiaImageFilterBuilder.h" |
32 #include "platform/text/TextStream.h" | 32 #include "platform/text/TextStream.h" |
33 #include "platform/transforms/AffineTransform.h" | 33 #include "platform/transforms/AffineTransform.h" |
34 #include "third_party/skia/include/core/SkDevice.h" | 34 #include "third_party/skia/include/core/SkDevice.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 FETile::FETile(Filter* filter) | 38 FETile::FETile(Filter* filter) |
39 : FilterEffect(filter) | 39 : FilterEffect(filter) |
40 { | 40 { |
41 } | 41 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 writeIndent(ts, indent); | 96 writeIndent(ts, indent); |
97 ts << "[feTile"; | 97 ts << "[feTile"; |
98 FilterEffect::externalRepresentation(ts); | 98 FilterEffect::externalRepresentation(ts); |
99 ts << "]\n"; | 99 ts << "]\n"; |
100 inputEffect(0)->externalRepresentation(ts, indent + 1); | 100 inputEffect(0)->externalRepresentation(ts, indent + 1); |
101 | 101 |
102 return ts; | 102 return ts; |
103 } | 103 } |
104 | 104 |
105 } // namespace WebCore | 105 } // namespace WebCore |
OLD | NEW |