Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O orbclient
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • redox-os
  • orbclient
  • Issues
  • #34

Closed
Open
Created May 14, 2017 by Jeremy Soller@jackpot51Owner

`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.

Image

Assignee
Assign to
Time tracking