]> git.saurik.com Git - wxWidgets.git/commit
Add wxFont::SetSymbolicSize() and SetSymbolicSizeRelativeTo().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:05 +0000 (12:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Feb 2011 12:47:05 +0000 (12:47 +0000)
commit19da7aaa9bf7aa54850bf087f5a670fc04e80183
treec04c5ceb832fbf6407694f007402ab8b0104d6cd
parent801423ee3454d200581cd51d35fbcdad19f2208a
Add wxFont::SetSymbolicSize() and SetSymbolicSizeRelativeTo().

These methods allow to set the font size using CSS-like absolute size
specifications.

Notice that the factors used here are incompatible with (but better than) the
ones used in wxBuildFontSizes() in src/html/winpars.cpp. In the future it
would be nice to reuse the new wxFont functions in wxHTML code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/font.h
interface/wx/font.h
src/common/fontcmn.cpp