OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 11 matching lines...) Expand all Loading... |
22 */ | 22 */ |
23 | 23 |
24 #include "config.h" | 24 #include "config.h" |
25 | 25 |
26 #include "core/rendering/svg/RenderSVGResourceFilter.h" | 26 #include "core/rendering/svg/RenderSVGResourceFilter.h" |
27 | 27 |
28 #include "core/page/Page.h" | 28 #include "core/page/Page.h" |
29 #include "core/page/Settings.h" | 29 #include "core/page/Settings.h" |
30 #include "core/platform/graphics/filters/SourceAlpha.h" | 30 #include "core/platform/graphics/filters/SourceAlpha.h" |
31 #include "core/platform/graphics/filters/SourceGraphic.h" | 31 #include "core/platform/graphics/filters/SourceGraphic.h" |
| 32 #include "core/rendering/svg/RenderSVGResourceFilterPrimitive.h" |
32 #include "core/rendering/svg/SVGRenderingContext.h" | 33 #include "core/rendering/svg/SVGRenderingContext.h" |
33 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 34 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
34 | 35 |
35 using namespace std; | 36 using namespace std; |
36 | 37 |
37 namespace WebCore { | 38 namespace WebCore { |
38 | 39 |
39 RenderSVGResourceType RenderSVGResourceFilter::s_resourceType = FilterResourceTy
pe; | 40 RenderSVGResourceType RenderSVGResourceFilter::s_resourceType = FilterResourceTy
pe; |
40 | 41 |
41 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) | 42 RenderSVGResourceFilter::RenderSVGResourceFilter(SVGFilterElement* node) |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 markAllClientLayersForInvalidation(); | 344 markAllClientLayersForInvalidation(); |
344 } | 345 } |
345 | 346 |
346 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const | 347 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const |
347 { | 348 { |
348 FilterData* filterData = m_filter.get(object); | 349 FilterData* filterData = m_filter.get(object); |
349 return filterData ? filterData->drawingRegion : FloatRect(); | 350 return filterData ? filterData->drawingRegion : FloatRect(); |
350 } | 351 } |
351 | 352 |
352 } | 353 } |
OLD | NEW |