| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
| 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Google, Inc. All rights reserved. | 5 * Copyright (C) 2009 Google, Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>. | 7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 ~SVGRenderingContext(); | 73 ~SVGRenderingContext(); |
| 74 | 74 |
| 75 // Used by all SVG renderers who apply clip/filter/etc. resources to the ren
derer content. | 75 // Used by all SVG renderers who apply clip/filter/etc. resources to the ren
derer content. |
| 76 void prepareToRenderSVGContent(RenderObject*, PaintInfo&, NeedsGraphicsConte
xtSave = DontSaveGraphicsContext); | 76 void prepareToRenderSVGContent(RenderObject*, PaintInfo&, NeedsGraphicsConte
xtSave = DontSaveGraphicsContext); |
| 77 bool isRenderingPrepared() const { return m_renderingFlags & RenderingPrepar
ed; } | 77 bool isRenderingPrepared() const { return m_renderingFlags & RenderingPrepar
ed; } |
| 78 | 78 |
| 79 static void renderSubtree(GraphicsContext*, RenderObject*, const AffineTrans
form&); | 79 static void renderSubtree(GraphicsContext*, RenderObject*, const AffineTrans
form&); |
| 80 | 80 |
| 81 static float calculateScreenFontSizeScalingFactor(const RenderObject*); | 81 static float calculateScreenFontSizeScalingFactor(const RenderObject*); |
| 82 static void calculateDeviceSpaceTransformation(const RenderObject*, AffineTr
ansform& absoluteTransform); | 82 static void calculateDeviceSpaceTransformation(const RenderObject*, AffineTr
ansform& absoluteTransform); |
| 83 static FloatRect clampedAbsoluteTargetRect(const FloatRect& absoluteTargetRe
ct); | |
| 84 static void clear2DRotation(AffineTransform&); | 83 static void clear2DRotation(AffineTransform&); |
| 85 | 84 |
| 86 static IntRect calculateImageBufferRect(const FloatRect& targetRect, const A
ffineTransform& absoluteTransform) | 85 static IntRect calculateImageBufferRect(const FloatRect& targetRect, const A
ffineTransform& absoluteTransform) |
| 87 { | 86 { |
| 88 return enclosingIntRect(absoluteTransform.mapRect(targetRect)); | 87 return enclosingIntRect(absoluteTransform.mapRect(targetRect)); |
| 89 } | 88 } |
| 90 | 89 |
| 91 // Support for the buffered-rendering hint. | 90 // Support for the buffered-rendering hint. |
| 92 bool bufferForeground(OwnPtr<ImageBuffer>&); | 91 bool bufferForeground(OwnPtr<ImageBuffer>&); |
| 93 | 92 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 111 IntRect m_savedPaintRect; | 110 IntRect m_savedPaintRect; |
| 112 RenderSVGResourceFilter* m_filter; | 111 RenderSVGResourceFilter* m_filter; |
| 113 RenderSVGResourceClipper* m_clipper; | 112 RenderSVGResourceClipper* m_clipper; |
| 114 ClipperContext m_clipperContext; | 113 ClipperContext m_clipperContext; |
| 115 RenderSVGResourceMasker* m_masker; | 114 RenderSVGResourceMasker* m_masker; |
| 116 }; | 115 }; |
| 117 | 116 |
| 118 } // namespace blink | 117 } // namespace blink |
| 119 | 118 |
| 120 #endif // SVGRenderingContext_h | 119 #endif // SVGRenderingContext_h |
| OLD | NEW |