Utility function for generating scaled points from wxPoints.

This commit is contained in:
Joseph Lenox 2018-05-09 21:56:15 -05:00
parent e835184cef
commit 014d134823

View File

@ -14,6 +14,7 @@
#include "Settings.hpp"
#include "Log.hpp"
#include "Point.hpp"
/// Macro to build std::wstring that slic3r::log expects using << syntax of wxString
@ -133,6 +134,8 @@ wxString encode_path(const wxString& in);
std::vector<wxString> open_model(wxWindow* parent, const Settings& settings, wxWindow* top);
inline Slic3r::Point new_scale(const wxPoint& p) { return Slic3r::Point::new_scale(p.x, p.y); }
}} // namespace Slic3r::GUI
#endif // MISC_UI_HPP