Function adder_codec_rs::utils::viz::draw_rect
source · pub fn draw_rect(
x1: PixelAddress,
y1: PixelAddress,
x2: PixelAddress,
y2: PixelAddress,
img: &mut Frame,
three_color: bool,
color: Option<[u8; 3]>
)
Expand description
Draw a rectangle on the given img
with the given color