Module rounded_corners

Module rounded_corners 

Source
Expand description

Fallback rounded corners drawing helpers.

Functionsยง

apply_rounded_corners
Applies native rounded corners to the window if supported on the current platform. This should be called once after the window is created.
apply_rounded_corners_to_viewport
Applies native rounded corners to a viewport window. This should be called once per viewport after the window is created.
store_window_handle_for_viewport
Stores window handle information in the egui context for later use in viewport callbacks. This allows applying rounded corners to secondary viewports.