use squircle_mask;
use RasterBuffer;
/// Apply the squircle mask to `buf`, making every pixel outside the boundary
/// fully transparent.
///
/// The mask is generated analytically from the superellipse formula with
/// the given power `n` — no external SVG file is needed. Anti-aliased at
/// ±1 pixel from the boundary.
///
/// Call this AFTER `apply_squircle_depth` (if used) so depth shading is
/// clipped cleanly by the squircle edge.