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
The current OLED.Display.Impl.SSD1306.Draw.line_v/4 implementation doesn't work if the height (y2-y1) is negative. Although the implementation is similar for OLED.Display.Impl.SSD1306.Draw.line_h/4 it's not affected as x1 and x2 get sorted in line/6
The text was updated successfully, but these errors were encountered:
Fixespappersverk#13, pappersverk#14
Replace general coordinate sorting with specific sorting for line_h/line_v.
Replace generic x-based line drawing with standard Bresenham drawing
which provides better results in all octants.
The current
OLED.Display.Impl.SSD1306.Draw.line_v/4
implementation doesn't work if theheight
(y2-y1
) is negative. Although the implementation is similar forOLED.Display.Impl.SSD1306.Draw.line_h/4
it's not affected asx1
andx2
get sorted inline/6
The text was updated successfully, but these errors were encountered: