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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 CompositeDestinationOver, | 65 CompositeDestinationOver, |
66 CompositeDestinationIn, | 66 CompositeDestinationIn, |
67 CompositeDestinationOut, | 67 CompositeDestinationOut, |
68 CompositeDestinationAtop, | 68 CompositeDestinationAtop, |
69 CompositeXOR, | 69 CompositeXOR, |
70 CompositePlusDarker, | 70 CompositePlusDarker, |
71 CompositePlusLighter, | 71 CompositePlusLighter, |
72 CompositeDifference | 72 CompositeDifference |
73 }; | 73 }; |
74 | 74 |
| 75 enum ShadowMode { |
| 76 DrawShadowAndForeground, |
| 77 DrawShadowOnly, |
| 78 }; |
| 79 |
75 enum GradientSpreadMethod { | 80 enum GradientSpreadMethod { |
76 SpreadMethodPad, | 81 SpreadMethodPad, |
77 SpreadMethodReflect, | 82 SpreadMethodReflect, |
78 SpreadMethodRepeat | 83 SpreadMethodRepeat |
79 }; | 84 }; |
80 | 85 |
81 enum LineCap { | 86 enum LineCap { |
82 ButtCap = SkPaint::kButt_Cap, | 87 ButtCap = SkPaint::kButt_Cap, |
83 RoundCap = SkPaint::kRound_Cap, | 88 RoundCap = SkPaint::kRound_Cap, |
84 SquareCap = SkPaint::kSquare_Cap | 89 SquareCap = SkPaint::kSquare_Cap |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 | 130 |
126 PLATFORM_EXPORT String textAlignName(TextAlign); | 131 PLATFORM_EXPORT String textAlignName(TextAlign); |
127 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); | 132 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); |
128 | 133 |
129 PLATFORM_EXPORT String textBaselineName(TextBaseline); | 134 PLATFORM_EXPORT String textBaselineName(TextBaseline); |
130 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); | 135 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); |
131 | 136 |
132 } // namespace blink | 137 } // namespace blink |
133 | 138 |
134 #endif | 139 #endif |
OLD | NEW |