pub fn command_visual_rect( cmd: &DrawCommand, matrix: [f32; 6], font_metrics: &FontMetrics, ) -> Option<Rect>