//! Renderer utility functions.
use Rect;
/// Create a centered rectangle within the given area.
///
/// # Arguments
/// * `percent_x` - Width as percentage of area width
/// * `percent_y` - Height as percentage of area height
/// * `area` - The area to center within