Dasher struct extends the Stroker and can draw dashed lines with end capping
| 15 | // Dasher struct extends the Stroker and can draw |
| 16 | // dashed lines with end capping |
| 17 | type Dasher struct { |
| 18 | Stroker |
| 19 | Dashes []fixed.Int26_6 |
| 20 | DashPlace int |
| 21 | FirstDashIsGap bool |
| 22 | DashIsGap bool |
| 23 | DeltaDash fixed.Int26_6 |
| 24 | DashOffset fixed.Int26_6 |
| 25 | |
| 26 | // Sgm allows us to switch between dashing |
| 27 | // and non-dashing rasterizers in the SetStroke function. |
| 28 | Sgm Raster |
| 29 | } |
| 30 | |
| 31 | // NewDasher returns a Dasher ptr with default values. |
| 32 | // A Dasher has all of the capabilities of a Stroker, Filler, and Scanner, plus the ability |
nothing calls this directly
no outgoing calls
no test coverage detected