| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 void apply(void* info, PathApplierFunction) const; | 157 void apply(void* info, PathApplierFunction) const; |
| 158 void transform(const AffineTransform&); | 158 void transform(const AffineTransform&); |
| 159 | 159 |
| 160 void addPathForRoundedRect(const FloatRect&, const FloatSize& topLeftRad
ius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const F
loatSize& bottomRightRadius, RoundedRectStrategy = PreferNativeRoundedRect); | 160 void addPathForRoundedRect(const FloatRect&, const FloatSize& topLeftRad
ius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const F
loatSize& bottomRightRadius, RoundedRectStrategy = PreferNativeRoundedRect); |
| 161 void addBeziersForRoundedRect(const FloatRect&, const FloatSize& topLeft
Radius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, cons
t FloatSize& bottomRightRadius); | 161 void addBeziersForRoundedRect(const FloatRect&, const FloatSize& topLeft
Radius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, cons
t FloatSize& bottomRightRadius); |
| 162 | 162 |
| 163 #if USE(CG) | 163 #if USE(CG) |
| 164 void platformAddPathForRoundedRect(const FloatRect&, const FloatSize& to
pLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius,
const FloatSize& bottomRightRadius); | 164 void platformAddPathForRoundedRect(const FloatRect&, const FloatSize& to
pLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius,
const FloatSize& bottomRightRadius); |
| 165 #endif | 165 #endif |
| 166 | 166 |
| 167 #if PLATFORM(BLACKBERRY) | |
| 168 Path(const SkPath&); | |
| 169 #endif | |
| 170 | |
| 171 private: | 167 private: |
| 172 PlatformPathPtr m_path; | 168 PlatformPathPtr m_path; |
| 173 }; | 169 }; |
| 174 | 170 |
| 175 } | 171 } |
| 176 | 172 |
| 177 #endif | 173 #endif |
| OLD | NEW |