Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: Source/platform/graphics/GraphicsTypes.h

Issue 201513003: Implement InterpolationMedium to filter animated images (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: only ode change Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 25 matching lines...) Expand all
36 enum StrokeStyle { 36 enum StrokeStyle {
37 NoStroke, 37 NoStroke,
38 SolidStroke, 38 SolidStroke,
39 DottedStroke, 39 DottedStroke,
40 DashedStroke, 40 DashedStroke,
41 DoubleStroke, 41 DoubleStroke,
42 WavyStroke, 42 WavyStroke,
43 }; 43 };
44 44
45 enum InterpolationQuality { 45 enum InterpolationQuality {
46 InterpolationDefault,
47 InterpolationNone, 46 InterpolationNone,
48 InterpolationLow, 47 InterpolationLow,
49 InterpolationMedium, 48 InterpolationMedium,
50 InterpolationHigh 49 InterpolationHigh,
50 #if USE(LOW_QUALITY_IMAGE_INTERPOLATION)
51 InterpolationDefault = InterpolationLow,
52 #else
53 InterpolationDefault = InterpolationHigh,
54 #endif
51 }; 55 };
52 56
53 enum CompositeOperator { 57 enum CompositeOperator {
54 CompositeClear, 58 CompositeClear,
55 CompositeCopy, 59 CompositeCopy,
56 CompositeSourceOver, 60 CompositeSourceOver,
57 CompositeSourceIn, 61 CompositeSourceIn,
58 CompositeSourceOut, 62 CompositeSourceOut,
59 CompositeSourceAtop, 63 CompositeSourceAtop,
60 CompositeDestinationOver, 64 CompositeDestinationOver,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 119
116 PLATFORM_EXPORT String textAlignName(TextAlign); 120 PLATFORM_EXPORT String textAlignName(TextAlign);
117 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); 121 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&);
118 122
119 PLATFORM_EXPORT String textBaselineName(TextBaseline); 123 PLATFORM_EXPORT String textBaselineName(TextBaseline);
120 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); 124 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&);
121 125
122 } // namespace WebCore 126 } // namespace WebCore
123 127
124 #endif 128 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsContextState.cpp ('k') | Source/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698