| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2014 Google Inc. | 3 * Copyright 2014 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef GrDashingEffect_DEFINED | 9 #ifndef GrDashingEffect_DEFINED |
| 10 #define GrDashingEffect_DEFINED | 10 #define GrDashingEffect_DEFINED |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 kRound_DashCap, | 28 kRound_DashCap, |
| 29 kNonRound_DashCap, | 29 kNonRound_DashCap, |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 /** | 32 /** |
| 33 * An effect that renders a dashed line. It is intended to be used as a cove
rage effect. | 33 * An effect that renders a dashed line. It is intended to be used as a cove
rage effect. |
| 34 * The effect is meant for dashed lines that only have a single on/off inter
val pair. | 34 * The effect is meant for dashed lines that only have a single on/off inter
val pair. |
| 35 * Bounding geometry is rendered and the effect computes coverage based on t
he fragment's | 35 * Bounding geometry is rendered and the effect computes coverage based on t
he fragment's |
| 36 * position relative to the dashed line. | 36 * position relative to the dashed line. |
| 37 */ | 37 */ |
| 38 GrEffect* Create(GrEffectEdgeType edgeType, const SkPathEffect::DashInfo& in
fo, | 38 GrEffectRef* Create(GrEffectEdgeType edgeType, const SkPathEffect::DashInfo&
info, |
| 39 SkScalar strokeWidth, DashCap cap); | 39 SkScalar strokeWidth, DashCap cap); |
| 40 } | 40 } |
| 41 | 41 |
| 42 #endif | 42 #endif |
| OLD | NEW |