You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While reading draw/private/dc I saw a line that may or may not be a bug.
In make-pattern-surface a new surface s is created.
Then a cairo context cr2 is created and a few settings are made using cr2.
But in line 868 the setting is made to cr and not cr2.
I am wondering whether this was on purpose?
Turns out make-pattern-surface despite its name isn't a general function.
It's only used in the code that draws stipples - and it makes sense that stipples are drawn with a round line cap.
While reading from top-to-bottom it was difficult to see that.
While reading
draw/private/dc
I saw a line that may or may not be a bug.In
make-pattern-surface
a new surfaces
is created.Then a cairo context
cr2
is created and a few settings are made usingcr2
.But in line 868 the setting is made to
cr
and notcr2
.I am wondering whether this was on purpose?
https://github.com/racket/draw/blob/master/draw-lib/racket/draw/private/dc.rkt#L868
The text was updated successfully, but these errors were encountered: