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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ColorFilterLuminanceToAlpha, | 107 ColorFilterLuminanceToAlpha, |
108 ColorFilterSRGBToLinearRGB, | 108 ColorFilterSRGBToLinearRGB, |
109 ColorFilterLinearRGBToSRGB | 109 ColorFilterLinearRGBToSRGB |
110 }; | 110 }; |
111 | 111 |
112 enum WindRule { | 112 enum WindRule { |
113 RULE_NONZERO = SkPath::kWinding_FillType, | 113 RULE_NONZERO = SkPath::kWinding_FillType, |
114 RULE_EVENODD = SkPath::kEvenOdd_FillType | 114 RULE_EVENODD = SkPath::kEvenOdd_FillType |
115 }; | 115 }; |
116 | 116 |
117 PLATFORM_EXPORT String compositeOperatorName(CompositeOperator, blink::WebBlendM
ode); | 117 PLATFORM_EXPORT String compositeOperatorName(CompositeOperator, WebBlendMode); |
118 PLATFORM_EXPORT bool parseCompositeAndBlendOperator(const String&, CompositeOper
ator&, blink::WebBlendMode&); | 118 PLATFORM_EXPORT bool parseCompositeAndBlendOperator(const String&, CompositeOper
ator&, WebBlendMode&); |
119 | 119 |
120 PLATFORM_EXPORT String lineCapName(LineCap); | 120 PLATFORM_EXPORT String lineCapName(LineCap); |
121 PLATFORM_EXPORT bool parseLineCap(const String&, LineCap&); | 121 PLATFORM_EXPORT bool parseLineCap(const String&, LineCap&); |
122 | 122 |
123 PLATFORM_EXPORT String lineJoinName(LineJoin); | 123 PLATFORM_EXPORT String lineJoinName(LineJoin); |
124 PLATFORM_EXPORT bool parseLineJoin(const String&, LineJoin&); | 124 PLATFORM_EXPORT bool parseLineJoin(const String&, LineJoin&); |
125 | 125 |
126 PLATFORM_EXPORT String textAlignName(TextAlign); | 126 PLATFORM_EXPORT String textAlignName(TextAlign); |
127 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); | 127 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); |
128 | 128 |
129 PLATFORM_EXPORT String textBaselineName(TextBaseline); | 129 PLATFORM_EXPORT String textBaselineName(TextBaseline); |
130 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); | 130 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); |
131 | 131 |
132 } // namespace blink | 132 } // namespace blink |
133 | 133 |
134 #endif | 134 #endif |
OLD | NEW |