SetPointSize sets the point size of the font.
(size float64)
| 86 | |
| 87 | // SetPointSize sets the point size of the font. |
| 88 | func (f *Font) SetPointSize(size float64) { |
| 89 | |
| 90 | if size == f.attrib.PointSize { |
| 91 | return |
| 92 | } |
| 93 | f.attrib.PointSize = size |
| 94 | f.changed = true |
| 95 | } |
| 96 | |
| 97 | // SetDPI sets the resolution of the font in dots per inches (DPI). |
| 98 | func (f *Font) SetDPI(dpi float64) { |