| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved. |
| 3 * 2006 Rob Buis <buis@kde.org> | 3 * 2006 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007-2008 Torch Mobile, Inc. | 4 * Copyright (C) 2007-2008 Torch Mobile, Inc. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 class PlatformPathOpenVG; | 40 class PlatformPathOpenVG; |
| 41 } | 41 } |
| 42 typedef WebCore::PlatformPathOpenVG PlatformPath; | 42 typedef WebCore::PlatformPathOpenVG PlatformPath; |
| 43 #elif PLATFORM(QT) | 43 #elif PLATFORM(QT) |
| 44 #include <qpainterpath.h> | 44 #include <qpainterpath.h> |
| 45 typedef QPainterPath PlatformPath; | 45 typedef QPainterPath PlatformPath; |
| 46 #elif PLATFORM(WX) && USE(WXGC) | 46 #elif PLATFORM(WX) && USE(WXGC) |
| 47 class wxGraphicsPath; | 47 class wxGraphicsPath; |
| 48 typedef wxGraphicsPath PlatformPath; | 48 typedef wxGraphicsPath PlatformPath; |
| 49 #elif USE(CAIRO) | |
| 50 namespace WebCore { | |
| 51 class CairoPath; | |
| 52 } | |
| 53 typedef WebCore::CairoPath PlatformPath; | |
| 54 #elif USE(SKIA) | 49 #elif USE(SKIA) |
| 55 class SkPath; | 50 class SkPath; |
| 56 typedef SkPath PlatformPath; | 51 typedef SkPath PlatformPath; |
| 57 #elif OS(WINCE) | 52 #elif OS(WINCE) |
| 58 namespace WebCore { | 53 namespace WebCore { |
| 59 class PlatformPath; | 54 class PlatformPath; |
| 60 } | 55 } |
| 61 typedef WebCore::PlatformPath PlatformPath; | 56 typedef WebCore::PlatformPath PlatformPath; |
| 62 #else | 57 #else |
| 63 typedef void PlatformPath; | 58 typedef void PlatformPath; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 Path(const SkPath&); | 171 Path(const SkPath&); |
| 177 #endif | 172 #endif |
| 178 | 173 |
| 179 private: | 174 private: |
| 180 PlatformPathPtr m_path; | 175 PlatformPathPtr m_path; |
| 181 }; | 176 }; |
| 182 | 177 |
| 183 } | 178 } |
| 184 | 179 |
| 185 #endif | 180 #endif |
| OLD | NEW |