Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line stroking bug (modulo y coords?) #12

Closed
EmileRolley opened this issue Aug 9, 2021 · 0 comments
Closed

Line stroking bug (modulo y coords?) #12

EmileRolley opened this issue Aug 9, 2021 · 0 comments
Labels
bug Something isn't working 🔧 renderer

Comments

@EmileRolley
Copy link
Owner

EmileRolley commented Aug 9, 2021

let stroked_rect1 =
  let r =
    P.empty |> P.sub (v 0.25 0.25) |> P.line (v 1. 0.25) |> P.line (v 1. 1.)
  in
  I.cut
    ~area:(`O { P.o with P.width = 0.01 })
    r
    (I.const (Color.v 0.2 0.2 0.8 1.))

is rendered into:

Screenshot from 2021-08-09 11-55-14

@EmileRolley EmileRolley created this issue from a note in Vgr_bitmap v0.1.0 (To do) Aug 9, 2021
@EmileRolley EmileRolley added 🔧 renderer bug Something isn't working labels Aug 9, 2021
Vgr_bitmap v0.1.0 automation moved this from To do to Done Aug 9, 2021
EmileRolley added a commit that referenced this issue Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🔧 renderer
Projects
Development

No branches or pull requests

1 participant