(pt *Plot)
| 40 | } |
| 41 | |
| 42 | func (ts *TextStyle) openFont(pt *Plot) { |
| 43 | if ts.Font.Face == nil { |
| 44 | paint.OpenFont(&ts.FontRender, &pt.Paint.UnitContext) // calls SetUnContext after updating metrics |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | func (ts *TextStyle) ToDots(uc *units.Context) { |
| 49 | ts.FontRender.ToDots(uc) |
no test coverage detected