diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-11 14:57:02 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-11 14:57:02 +0000 |
| commit | 7114a99bf210c5d41a13161aea868fe68dd06e84 (patch) | |
| tree | 5dc29fbcc15acd21d9c344d5b9cdb3789009adf9 /src/font_size.h | |
| parent | 8fd43fface7757bd0d7228ff0490a8c8ad074175 (diff) | |
Rudimentary SSA parser.
Diffstat (limited to 'src/font_size.h')
| -rw-r--r-- | src/font_size.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/font_size.h b/src/font_size.h index 6439c8f..62bbd09 100644 --- a/src/font_size.h +++ b/src/font_size.h @@ -52,6 +52,8 @@ public: float proportional (int screen_height_in_points) const; int points (int screen_height_in_points) const; + static FontSize from_points (int p); + private: /** as a proportion of screen height */ boost::optional<float> _proportional; |
