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

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

Issue 663313005: Comply Compositing spec [1]; remove 'plus-darker'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Mark virtual/display_list_2d_canvas/fast/canvas/canvas-composite NeedsRebaseline Created 5 years, 11 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
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 CompositeCopy, 60 CompositeCopy,
61 CompositeSourceOver, 61 CompositeSourceOver,
62 CompositeSourceIn, 62 CompositeSourceIn,
63 CompositeSourceOut, 63 CompositeSourceOut,
64 CompositeSourceAtop, 64 CompositeSourceAtop,
65 CompositeDestinationOver, 65 CompositeDestinationOver,
66 CompositeDestinationIn, 66 CompositeDestinationIn,
67 CompositeDestinationOut, 67 CompositeDestinationOut,
68 CompositeDestinationAtop, 68 CompositeDestinationAtop,
69 CompositeXOR, 69 CompositeXOR,
70 CompositePlusDarker, 70 CompositePlusLighter
71 CompositePlusLighter,
72 CompositeDifference
73 }; 71 };
74 72
75 enum ShadowMode { 73 enum ShadowMode {
76 DrawShadowAndForeground, 74 DrawShadowAndForeground,
77 DrawShadowOnly, 75 DrawShadowOnly,
78 }; 76 };
79 77
80 enum AntiAliasingMode { 78 enum AntiAliasingMode {
81 NotAntiAliased, 79 NotAntiAliased,
82 AntiAliased 80 AntiAliased
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 133
136 PLATFORM_EXPORT String textAlignName(TextAlign); 134 PLATFORM_EXPORT String textAlignName(TextAlign);
137 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); 135 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&);
138 136
139 PLATFORM_EXPORT String textBaselineName(TextBaseline); 137 PLATFORM_EXPORT String textBaselineName(TextBaseline);
140 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); 138 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&);
141 139
142 } // namespace blink 140 } // namespace blink
143 141
144 #endif 142 #endif
OLDNEW
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/platform/graphics/GraphicsTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698