| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Rik Cabanier (cabanier@adobe.com) | 3 * Copyright (C) 2012 Rik Cabanier (cabanier@adobe.com) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 "copy", | 37 "copy", |
| 38 "source-over", | 38 "source-over", |
| 39 "source-in", | 39 "source-in", |
| 40 "source-out", | 40 "source-out", |
| 41 "source-atop", | 41 "source-atop", |
| 42 "destination-over", | 42 "destination-over", |
| 43 "destination-in", | 43 "destination-in", |
| 44 "destination-out", | 44 "destination-out", |
| 45 "destination-atop", | 45 "destination-atop", |
| 46 "xor", | 46 "xor", |
| 47 "darker", | |
| 48 "lighter" | 47 "lighter" |
| 49 }; | 48 }; |
| 50 | 49 |
| 51 static const char* const blendOperatorNames[] = { | 50 static const char* const blendOperatorNames[] = { |
| 52 "normal", | 51 "normal", |
| 53 "multiply", | 52 "multiply", |
| 54 "screen", | 53 "screen", |
| 55 "overlay", | 54 "overlay", |
| 56 "darken", | 55 "darken", |
| 57 "lighten", | 56 "lighten", |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 return true; | 213 return true; |
| 215 } | 214 } |
| 216 if (s == "hanging") { | 215 if (s == "hanging") { |
| 217 baseline = HangingTextBaseline; | 216 baseline = HangingTextBaseline; |
| 218 return true; | 217 return true; |
| 219 } | 218 } |
| 220 return false; | 219 return false; |
| 221 } | 220 } |
| 222 | 221 |
| 223 } // namespace blink | 222 } // namespace blink |
| OLD | NEW |