| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 static RenderSVGResourceType s_resourceType; | 63 static RenderSVGResourceType s_resourceType; |
| 64 private: | 64 private: |
| 65 // clipPath can be clipped too, but don't have a boundingBox or repaintRect.
So we can't call | 65 // clipPath can be clipped too, but don't have a boundingBox or repaintRect.
So we can't call |
| 66 // applyResource directly and use the rects from the object, since they are
empty for RenderSVGResources | 66 // applyResource directly and use the rects from the object, since they are
empty for RenderSVGResources |
| 67 bool applyClippingToContext(RenderObject*, const FloatRect&, const FloatRect
&, GraphicsContext*); | 67 bool applyClippingToContext(RenderObject*, const FloatRect&, const FloatRect
&, GraphicsContext*); |
| 68 bool pathOnlyClipping(GraphicsContext*, const AffineTransform&, const FloatR
ect&); | 68 bool pathOnlyClipping(GraphicsContext*, const AffineTransform&, const FloatR
ect&); |
| 69 bool drawContentIntoMaskImage(ClipperData*, const FloatRect& objectBoundingB
ox); | 69 bool drawContentIntoMaskImage(ClipperData*, const FloatRect& objectBoundingB
ox); |
| 70 void calculateClipContentRepaintRect(); | 70 void calculateClipContentRepaintRect(); |
| 71 | 71 |
| 72 bool m_invalidationBlocked; | |
| 73 FloatRect m_clipBoundaries; | 72 FloatRect m_clipBoundaries; |
| 74 HashMap<RenderObject*, ClipperData*> m_clipper; | 73 HashMap<RenderObject*, ClipperData*> m_clipper; |
| 75 }; | 74 }; |
| 76 | 75 |
| 77 } | 76 } |
| 78 | 77 |
| 79 #endif | 78 #endif |
| 80 #endif | 79 #endif |
| OLD | NEW |