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
{{ message }}
This repository was archived by the owner on Jun 18, 2025. It is now read-only.
My debugger indicates that the done input parameter passed to the function is true multiple times. It is not what I expected. I expected that it should be trueonce and only for the last span to be drawn. I mean, it should indicate whether the drawing is done. Right?
Why is the done parameter not behaving as I assumed? Am I missing something about it? Thanks.
I investigated the
doneinput parameter offunc (r *RGBAPainter) Paint(ss []Span, done bool) {}here:freetype/raster/paint.go
Line 127 in e2365df
My debugger indicates that the
doneinput parameter passed to the function istruemultiple times. It is not what I expected. I expected that it should betrueonce and only for the last span to be drawn. I mean, it should indicate whether the drawing is done. Right?Why is the
doneparameter not behaving as I assumed? Am I missing something about it? Thanks.