OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. 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 25 matching lines...) Expand all Loading... |
36 { | 36 { |
37 m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect
, compositeOp, blendMode); | 37 m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect
, compositeOp, blendMode); |
38 } | 38 } |
39 | 39 |
40 void SVGImageForContainer::drawPattern(GraphicsContext* context, const FloatRect
& srcRect, const FloatSize& scale, | 40 void SVGImageForContainer::drawPattern(GraphicsContext* context, const FloatRect
& srcRect, const FloatSize& scale, |
41 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dst
Rect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) | 41 const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dst
Rect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) |
42 { | 42 { |
43 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect,
scale, phase, compositeOp, dstRect, blendMode, repeatSpacing); | 43 m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect,
scale, phase, compositeOp, dstRect, blendMode, repeatSpacing); |
44 } | 44 } |
45 | 45 |
46 PassRefPtr<NativeImageSkia> SVGImageForContainer::nativeImageForCurrentFrame() | 46 PassRefPtr<NativeImageSkia> SVGImageForContainer::nativeImageForCurrentFrame(Sca
leHint hint) |
47 { | 47 { |
48 return m_image->nativeImageForCurrentFrame(); | 48 return m_image->nativeImageForCurrentFrame(hint); |
49 } | 49 } |
50 | 50 |
51 } // namespace WebCore | 51 } // namespace WebCore |
OLD | NEW |