Function Popup.popupCenteredRatio

Popup (show the control in modal form) in the center of the screen relative to the current canvas transform, scaled at a ratio of size of the screen.

void popupCenteredRatio (
  const(double) ratio = 0.75
) nothrow @nogc;