`Renderer::rect()` draws pixels on the screen, even when the rect is fully outside the window.
Created by: ca1ek
let mut window = orbclient::Window::new(-1, -1, 640, 480, "kek").unwrap(); window.set(Color::rgb(255, 255, 255)); window.rect(700, 20, 10, 10, Color::rgb(12,34,56)); window.sync(); thread::sleep(time::Duration::from_secs(5));
Even though that the rect is at
x=700, and the window has
w=640 you still can see a small line of pixels at the edge of the window.