| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google, Inc. | 2 * Copyright (C) 2012 Google, Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 const float yrY = center.y() / m_radii.height(); | 122 const float yrY = center.y() / m_radii.height(); |
| 123 return xrX * xrX + yrY * yrY <= 1.0; | 123 return xrX * xrX + yrY * yrY <= 1.0; |
| 124 } | 124 } |
| 125 | 125 |
| 126 bool LayoutSVGEllipse::hasContinuousStroke() const | 126 bool LayoutSVGEllipse::hasContinuousStroke() const |
| 127 { | 127 { |
| 128 const SVGComputedStyle& svgStyle = style()->svgStyle(); | 128 const SVGComputedStyle& svgStyle = style()->svgStyle(); |
| 129 return svgStyle.strokeDashArray()->isEmpty(); | 129 return svgStyle.strokeDashArray()->isEmpty(); |
| 130 } | 130 } |
| 131 | 131 |
| 132 } | 132 } // namespace blink |
| OLD | NEW |