Chromium Code Reviews| 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 DrawForegroundOnly | |
|
jbroman
2014/10/14 21:09:48
This doesn't sound like a shadow mode to me; why n
| |
| 79 }; | |
| 80 | |
| 75 enum GradientSpreadMethod { | 81 enum GradientSpreadMethod { |
| 76 SpreadMethodPad, | 82 SpreadMethodPad, |
| 77 SpreadMethodReflect, | 83 SpreadMethodReflect, |
| 78 SpreadMethodRepeat | 84 SpreadMethodRepeat |
| 79 }; | 85 }; |
| 80 | 86 |
| 81 enum LineCap { | 87 enum LineCap { |
| 82 ButtCap = SkPaint::kButt_Cap, | 88 ButtCap = SkPaint::kButt_Cap, |
| 83 RoundCap = SkPaint::kRound_Cap, | 89 RoundCap = SkPaint::kRound_Cap, |
| 84 SquareCap = SkPaint::kSquare_Cap | 90 SquareCap = SkPaint::kSquare_Cap |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 125 | 131 |
| 126 PLATFORM_EXPORT String textAlignName(TextAlign); | 132 PLATFORM_EXPORT String textAlignName(TextAlign); |
| 127 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); | 133 PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&); |
| 128 | 134 |
| 129 PLATFORM_EXPORT String textBaselineName(TextBaseline); | 135 PLATFORM_EXPORT String textBaselineName(TextBaseline); |
| 130 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); | 136 PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&); |
| 131 | 137 |
| 132 } // namespace blink | 138 } // namespace blink |
| 133 | 139 |
| 134 #endif | 140 #endif |
| OLD | NEW |