Contour2< float > Contour2f
Definition MRMeshFwd.h:380
namespace for easy access to functions related to ImGui MultiViewport
Definition MRImGuiMultiViewport.h:9
ImVec2 Screen2WindowSpaceImVec2(const ImVec2 &point)
convert points from screen space to window space
ImVec2 GetMainViewportShift()
returns the shift of the main viewport relative to global coordinates
Vector2f Window2ScreenSpaceVector2f(const Vector2f &point)
void SetNextWindowPosMainViewport(const ImVec2 &pos, ImGuiCond cond=0, const ImVec2 &pivot=ImVec2(0, 0))
attaches the next window to the viewport of the main window and sets the position relative to it
ImVec2 GetLocalMousePos()
returns the coordinates of the mouse in the main viewport space
Contour2f Screen2WindowSpaceContour2f(const Contour2f &points)
ImVec2 Window2ScreenSpaceImVec2(const ImVec2 &point)
convert points from window space to screen space