/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h
Calculates the popup window position from the passed in window position and size. Adjusts position for popup windows which are outside of the work area of the monitor where they reside
The adjusted position
virtual [UE::Slate::FDeprecateVector2DResult](API\Runtime\SlateCore\Types\FDeprecateVector2DResult) CalculatePopupWindowPosition ( const [FSlateRect](API\Runtime\SlateCore\Layout\FSlateRect) & InAnchor, const [UE::Slate::FDeprecateVector2DParameter](API\Runtime\SlateCore\Types\FDeprecateVector2DParameter) & InSize, bool bAutoAdjustForDPIScale, const [UE::Slate::FDeprecateVector2DParameter](API\Runtime\SlateCore\Types\FDeprecateVector2DParameter) & InProposedPlacement, const EOrientation Orientation ) const