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

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

Issue 328453004: Replace ResamplingMode with InterpolationQuality. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: backpedal Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/platform/graphics/skia/NativeImageSkia.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 InterpolationNone, 46 InterpolationNone = SkPaint::kNone_FilterLevel,
47 InterpolationLow, 47 InterpolationLow = SkPaint::kLow_FilterLevel,
48 InterpolationMedium, 48 InterpolationMedium = SkPaint::kMedium_FilterLevel,
49 InterpolationHigh, 49 InterpolationHigh = SkPaint::kHigh_FilterLevel,
50 #if USE(LOW_QUALITY_IMAGE_INTERPOLATION) 50 #if USE(LOW_QUALITY_IMAGE_INTERPOLATION)
51 InterpolationDefault = InterpolationLow, 51 InterpolationDefault = InterpolationLow,
52 #else 52 #else
53 InterpolationDefault = InterpolationHigh, 53 InterpolationDefault = InterpolationHigh,
54 #endif 54 #endif
55 }; 55 };
56 56
57 enum CompositeOperator { 57 enum CompositeOperator {
58 CompositeClear, 58 CompositeClear,
59 CompositeCopy, 59 CompositeCopy,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 PLATFORM_EXPORT String textAlignName(TextAlign); 120 PLATFORM_EXPORT String textAlignName(TextAlign);
121 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); 121 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&);
122 122
123 PLATFORM_EXPORT String textBaselineName(TextBaseline); 123 PLATFORM_EXPORT String textBaselineName(TextBaseline);
124 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); 124 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&);
125 125
126 } // namespace WebCore 126 } // namespace WebCore
127 127
128 #endif 128 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/platform/graphics/skia/NativeImageSkia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698