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

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

Issue 1013803002: SkPaint::FilterLevel -> SkFilterQuality (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: I think I caught the last one Created 5 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
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/ImageBuffer.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 26 matching lines...) Expand all
37 enum StrokeStyle { 37 enum StrokeStyle {
38 NoStroke, 38 NoStroke,
39 SolidStroke, 39 SolidStroke,
40 DottedStroke, 40 DottedStroke,
41 DashedStroke, 41 DashedStroke,
42 DoubleStroke, 42 DoubleStroke,
43 WavyStroke, 43 WavyStroke,
44 }; 44 };
45 45
46 enum InterpolationQuality { 46 enum InterpolationQuality {
47 InterpolationNone = SkPaint::kNone_FilterLevel, 47 InterpolationNone = kNone_SkFilterQuality,
48 InterpolationLow = SkPaint::kLow_FilterLevel, 48 InterpolationLow = kLow_SkFilterQuality,
49 InterpolationMedium = SkPaint::kMedium_FilterLevel, 49 InterpolationMedium = kMedium_SkFilterQuality,
50 InterpolationHigh = SkPaint::kHigh_FilterLevel, 50 InterpolationHigh = kHigh_SkFilterQuality,
51 #if USE(LOW_QUALITY_IMAGE_INTERPOLATION) 51 #if USE(LOW_QUALITY_IMAGE_INTERPOLATION)
52 InterpolationDefault = InterpolationLow, 52 InterpolationDefault = InterpolationLow,
53 #else 53 #else
54 InterpolationDefault = InterpolationHigh, 54 InterpolationDefault = InterpolationHigh,
55 #endif 55 #endif
56 }; 56 };
57 57
58 enum CompositeOperator { 58 enum CompositeOperator {
59 CompositeClear, 59 CompositeClear,
60 CompositeCopy, 60 CompositeCopy,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 PLATFORM_EXPORT String textAlignName(TextAlign); 134 PLATFORM_EXPORT String textAlignName(TextAlign);
135 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); 135 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&);
136 136
137 PLATFORM_EXPORT String textBaselineName(TextBaseline); 137 PLATFORM_EXPORT String textBaselineName(TextBaseline);
138 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); 138 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&);
139 139
140 } // namespace blink 140 } // namespace blink
141 141
142 #endif 142 #endif
OLDNEW
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698