(img image.Image, res Resolution, valign VerticalAlign)
| 594 | } |
| 595 | |
| 596 | func (rt *RichText) AddImage(img image.Image, res Resolution, valign VerticalAlign) *RichText { |
| 597 | fmt.Println("WARNING: deprecated RichText.AddImage, use RichText.WriteImage") // TODO: remove |
| 598 | rt.WriteImage(img, res, valign) |
| 599 | return rt |
| 600 | } |
| 601 | |
| 602 | func (rt *RichText) AddLaTeX(s string) *RichText { |
| 603 | fmt.Println("WARNING: deprecated RichText.AddLaTeX, use RichText.WriteLaTeX") // TODO: remove |
nothing calls this directly
no test coverage detected