| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
| 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008, 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 4 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
| 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 6 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> |
| 7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 7 * Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
| 8 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 8 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| 9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 9 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 10 * | 10 * |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 28 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 28 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 */ | 31 */ |
| 32 | 32 |
| 33 #include "config.h" | 33 #include "config.h" |
| 34 #include "core/html/canvas/CanvasRenderingContext2D.h" | 34 #include "core/html/canvas/CanvasRenderingContext2D.h" |
| 35 | 35 |
| 36 #include "CSSPropertyNames.h" | 36 #include "CSSPropertyNames.h" |
| 37 #include "HTMLCanvasElement.h" | |
| 38 #include "HTMLImageElement.h" | |
| 39 #include "HTMLMediaElement.h" | |
| 40 #include "HTMLNames.h" | 37 #include "HTMLNames.h" |
| 41 #include "HTMLVideoElement.h" | |
| 42 #include "ImageData.h" | |
| 43 #include "TextMetrics.h" | |
| 44 #include "core/css/CSSFontSelector.h" | 38 #include "core/css/CSSFontSelector.h" |
| 45 #include "core/css/CSSParser.h" | 39 #include "core/css/CSSParser.h" |
| 46 #include "core/css/StylePropertySet.h" | 40 #include "core/css/StylePropertySet.h" |
| 47 #include "core/css/StyleResolver.h" | 41 #include "core/css/StyleResolver.h" |
| 48 #include "core/dom/ExceptionCode.h" | 42 #include "core/dom/ExceptionCode.h" |
| 49 #include "core/dom/ExceptionCodePlaceholder.h" | 43 #include "core/dom/ExceptionCodePlaceholder.h" |
| 44 #include "core/html/HTMLCanvasElement.h" |
| 45 #include "core/html/HTMLImageElement.h" |
| 46 #include "core/html/HTMLMediaElement.h" |
| 47 #include "core/html/HTMLVideoElement.h" |
| 48 #include "core/html/ImageData.h" |
| 49 #include "core/html/TextMetrics.h" |
| 50 #include "core/html/canvas/CanvasGradient.h" | 50 #include "core/html/canvas/CanvasGradient.h" |
| 51 #include "core/html/canvas/CanvasPattern.h" | 51 #include "core/html/canvas/CanvasPattern.h" |
| 52 #include "core/html/canvas/CanvasStyle.h" | 52 #include "core/html/canvas/CanvasStyle.h" |
| 53 #include "core/html/canvas/DOMPath.h" | 53 #include "core/html/canvas/DOMPath.h" |
| 54 #include "core/loader/cache/CachedImage.h" | 54 #include "core/loader/cache/CachedImage.h" |
| 55 #include "core/page/Console.h" | 55 #include "core/page/Console.h" |
| 56 #include "core/page/Page.h" | 56 #include "core/page/Page.h" |
| 57 #include "core/page/SecurityOrigin.h" | 57 #include "core/page/SecurityOrigin.h" |
| 58 #include "core/page/Settings.h" | 58 #include "core/page/Settings.h" |
| 59 #include "core/platform/FloatConversion.h" | 59 #include "core/platform/FloatConversion.h" |
| (...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2244 return; | 2244 return; |
| 2245 | 2245 |
| 2246 realizeSaves(); | 2246 realizeSaves(); |
| 2247 modifiableState().m_imageSmoothingEnabled = enabled; | 2247 modifiableState().m_imageSmoothingEnabled = enabled; |
| 2248 GraphicsContext* c = drawingContext(); | 2248 GraphicsContext* c = drawingContext(); |
| 2249 if (c) | 2249 if (c) |
| 2250 c->setImageInterpolationQuality(enabled ? DefaultInterpolationQuality :
InterpolationNone); | 2250 c->setImageInterpolationQuality(enabled ? DefaultInterpolationQuality :
InterpolationNone); |
| 2251 } | 2251 } |
| 2252 | 2252 |
| 2253 } // namespace WebCore | 2253 } // namespace WebCore |
| OLD | NEW |