| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   63         prepareToRenderSVGContent(object, paintinfo, needsGraphicsContextSave); |   63         prepareToRenderSVGContent(object, paintinfo, needsGraphicsContextSave); | 
|   64     } |   64     } | 
|   65  |   65  | 
|   66     // Automatically finishes context rendering. |   66     // Automatically finishes context rendering. | 
|   67     ~SVGRenderingContext(); |   67     ~SVGRenderingContext(); | 
|   68  |   68  | 
|   69     // Used by all SVG renderers who apply clip/filter/etc. resources to the ren
     derer content. |   69     // Used by all SVG renderers who apply clip/filter/etc. resources to the ren
     derer content. | 
|   70     void prepareToRenderSVGContent(RenderObject*, PaintInfo&, NeedsGraphicsConte
     xtSave = DontSaveGraphicsContext); |   70     void prepareToRenderSVGContent(RenderObject*, PaintInfo&, NeedsGraphicsConte
     xtSave = DontSaveGraphicsContext); | 
|   71     bool isRenderingPrepared() const { return m_renderingFlags & RenderingPrepar
     ed; } |   71     bool isRenderingPrepared() const { return m_renderingFlags & RenderingPrepar
     ed; } | 
|   72  |   72  | 
|   73     static bool createImageBuffer(const FloatRect& paintRect, const AffineTransf
     orm& absoluteTransform, OwnPtr<ImageBuffer>&, ColorSpace, RenderingMode); |   73     static bool createImageBuffer(const FloatRect& paintRect, const AffineTransf
     orm& absoluteTransform, OwnPtr<ImageBuffer>&, RenderingMode); | 
|   74     // Patterns need a different float-to-integer coordinate mapping. |   74     // Patterns need a different float-to-integer coordinate mapping. | 
|   75     static bool createImageBufferForPattern(const FloatRect& absoluteTargetRect,
      const FloatRect& clampedAbsoluteTargetRect, OwnPtr<ImageBuffer>&, ColorSpace, R
     enderingMode); |   75     static bool createImageBufferForPattern(const FloatRect& absoluteTargetRect,
      const FloatRect& clampedAbsoluteTargetRect, OwnPtr<ImageBuffer>&, RenderingMode
     ); | 
|   76  |   76  | 
|   77     static void renderSubtreeToImageBuffer(ImageBuffer*, RenderObject*, const Af
     fineTransform&); |   77     static void renderSubtreeToImageBuffer(ImageBuffer*, RenderObject*, const Af
     fineTransform&); | 
|   78     static void clipToImageBuffer(GraphicsContext*, const AffineTransform& absol
     uteTransform, const FloatRect& targetRect, OwnPtr<ImageBuffer>&, bool safeToClea
     r); |   78     static void clipToImageBuffer(GraphicsContext*, const AffineTransform& absol
     uteTransform, const FloatRect& targetRect, OwnPtr<ImageBuffer>&, bool safeToClea
     r); | 
|   79  |   79  | 
|   80     static float calculateScreenFontSizeScalingFactor(const RenderObject*); |   80     static float calculateScreenFontSizeScalingFactor(const RenderObject*); | 
|   81     static void calculateTransformationToOutermostCoordinateSystem(const RenderO
     bject*, AffineTransform& absoluteTransform); |   81     static void calculateTransformationToOutermostCoordinateSystem(const RenderO
     bject*, AffineTransform& absoluteTransform); | 
|   82     static IntSize clampedAbsoluteSize(const IntSize&); |   82     static IntSize clampedAbsoluteSize(const IntSize&); | 
|   83     static FloatRect clampedAbsoluteTargetRect(const FloatRect& absoluteTargetRe
     ct); |   83     static FloatRect clampedAbsoluteTargetRect(const FloatRect& absoluteTargetRe
     ct); | 
|   84     static void clear2DRotation(AffineTransform&); |   84     static void clear2DRotation(AffineTransform&); | 
|   85  |   85  | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
|  109     RenderObject* m_object; |  109     RenderObject* m_object; | 
|  110     PaintInfo* m_paintInfo; |  110     PaintInfo* m_paintInfo; | 
|  111     GraphicsContext* m_savedContext; |  111     GraphicsContext* m_savedContext; | 
|  112     IntRect m_savedPaintRect; |  112     IntRect m_savedPaintRect; | 
|  113     RenderSVGResourceFilter* m_filter; |  113     RenderSVGResourceFilter* m_filter; | 
|  114 }; |  114 }; | 
|  115  |  115  | 
|  116 } // namespace WebCore |  116 } // namespace WebCore | 
|  117  |  117  | 
|  118 #endif // SVGRenderingContext_h |  118 #endif // SVGRenderingContext_h | 
| OLD | NEW |