From returns a copy of the provided font with its size set.
(fnt Font, size Length)
| 62 | |
| 63 | // From returns a copy of the provided font with its size set. |
| 64 | func From(fnt Font, size Length) Font { |
| 65 | o := fnt |
| 66 | o.Size = size |
| 67 | return o |
| 68 | } |
| 69 | |
| 70 | // Typeface identifies a particular typeface design. |
| 71 | // The empty string denotes the default typeface. |
no outgoing calls