OLD | NEW |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 CompositePlusLighter | 70 CompositePlusLighter |
71 }; | 71 }; |
72 | 72 |
| 73 enum OpacityMode { |
| 74 NonOpaque, |
| 75 Opaque, |
| 76 }; |
| 77 |
| 78 // TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2D
State.h once |
| 79 // GraphicsContext no longer uses it. |
73 enum ShadowMode { | 80 enum ShadowMode { |
74 DrawShadowAndForeground, | 81 DrawShadowAndForeground, |
75 DrawShadowOnly, | 82 DrawShadowOnly, |
| 83 DrawForegroundOnly |
76 }; | 84 }; |
77 | 85 |
78 enum AntiAliasingMode { | 86 enum AntiAliasingMode { |
79 NotAntiAliased, | 87 NotAntiAliased, |
80 AntiAliased | 88 AntiAliased |
81 }; | 89 }; |
82 | 90 |
83 enum GradientSpreadMethod { | 91 enum GradientSpreadMethod { |
84 SpreadMethodPad, | 92 SpreadMethodPad, |
85 SpreadMethodReflect, | 93 SpreadMethodReflect, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 141 |
134 PLATFORM_EXPORT String textAlignName(TextAlign); | 142 PLATFORM_EXPORT String textAlignName(TextAlign); |
135 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); | 143 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); |
136 | 144 |
137 PLATFORM_EXPORT String textBaselineName(TextBaseline); | 145 PLATFORM_EXPORT String textBaselineName(TextBaseline); |
138 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); | 146 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); |
139 | 147 |
140 } // namespace blink | 148 } // namespace blink |
141 | 149 |
142 #endif | 150 #endif |
OLD | NEW |