mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-12 00:59:00 +08:00
Utility function for generating scaled points from wxPoints.
This commit is contained in:
parent
e835184cef
commit
014d134823
@ -14,6 +14,7 @@
|
|||||||
#include "Settings.hpp"
|
#include "Settings.hpp"
|
||||||
|
|
||||||
#include "Log.hpp"
|
#include "Log.hpp"
|
||||||
|
#include "Point.hpp"
|
||||||
|
|
||||||
|
|
||||||
/// Macro to build std::wstring that slic3r::log expects using << syntax of wxString
|
/// 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);
|
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
|
}} // namespace Slic3r::GUI
|
||||||
|
|
||||||
#endif // MISC_UI_HPP
|
#endif // MISC_UI_HPP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user