| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   78     // Automatically finishes context rendering. |   78     // Automatically finishes context rendering. | 
|   79     ~SVGRenderingContext(); |   79     ~SVGRenderingContext(); | 
|   80  |   80  | 
|   81     // Used by all SVG renderers who apply clip/filter/etc. resources to the ren
     derer content. |   81     // Used by all SVG renderers who apply clip/filter/etc. resources to the ren
     derer content. | 
|   82     void prepareToRenderSVGContent(RenderObject*, PaintInfo&); |   82     void prepareToRenderSVGContent(RenderObject*, PaintInfo&); | 
|   83     bool isRenderingPrepared() const { return m_renderingFlags & RenderingPrepar
     ed; } |   83     bool isRenderingPrepared() const { return m_renderingFlags & RenderingPrepar
     ed; } | 
|   84  |   84  | 
|   85     static void renderSubtree(GraphicsContext*, RenderObject*); |   85     static void renderSubtree(GraphicsContext*, RenderObject*); | 
|   86  |   86  | 
|   87     static float calculateScreenFontSizeScalingFactor(const RenderObject*); |   87     static float calculateScreenFontSizeScalingFactor(const RenderObject*); | 
|   88     static void calculateDeviceSpaceTransformation(const RenderObject*, AffineTr
     ansform& absoluteTransform); |  | 
|   89  |   88  | 
|   90     // Support for the buffered-rendering hint. |   89     // Support for the buffered-rendering hint. | 
|   91     bool bufferForeground(OwnPtr<ImageBuffer>&); |   90     bool bufferForeground(OwnPtr<ImageBuffer>&); | 
|   92  |   91  | 
|   93 private: |   92 private: | 
|   94     // To properly revert partially successful initializtions in the destructor,
      we record all successful steps. |   93     // To properly revert partially successful initializtions in the destructor,
      we record all successful steps. | 
|   95     enum RenderingFlags { |   94     enum RenderingFlags { | 
|   96         RenderingPrepared = 1, |   95         RenderingPrepared = 1, | 
|   97         RestoreGraphicsContext = 1 << 1, |   96         RestoreGraphicsContext = 1 << 1, | 
|   98         EndOpacityLayer = 1 << 2, |   97         EndOpacityLayer = 1 << 2, | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  110     IntRect m_savedPaintRect; |  109     IntRect m_savedPaintRect; | 
|  111     RenderSVGResourceFilter* m_filter; |  110     RenderSVGResourceFilter* m_filter; | 
|  112     RenderSVGResourceClipper* m_clipper; |  111     RenderSVGResourceClipper* m_clipper; | 
|  113     RenderSVGResourceClipper::ClipperState m_clipperState; |  112     RenderSVGResourceClipper::ClipperState m_clipperState; | 
|  114     RenderSVGResourceMasker* m_masker; |  113     RenderSVGResourceMasker* m_masker; | 
|  115 }; |  114 }; | 
|  116  |  115  | 
|  117 } // namespace blink |  116 } // namespace blink | 
|  118  |  117  | 
|  119 #endif // SVGRenderingContext_h |  118 #endif // SVGRenderingContext_h | 
| OLD | NEW |