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
Describe the bug
The screen start and end coordinates are off in the box command. Possibly LCD timing is wrong.
To Reproduce
Run this command:
ez.Cls(0)
-- These are outer pixels of the screen, [0,319] and [0,239] but shows a red line on top only
ez.Box (0,0,319,239,0xff0000) -- draw a red box
By trial and error this draws a red box filling the outer displayable pixels from 1,0 to 318, 238
ez.Cls(0xFFFFFF)
ez.Box (1,0,318,238,0xff0000) --These are outer pixels of the screen, shouldn't they be [0,319] and [0,239]?
Expected behavior
Randall the intern tried to draw a box the size of the screen and it was off center so by trial and error he found what he had to do to draw a one pixel thick box on the perimeter of the screen.
The text was updated successfully, but these errors were encountered:
Describe the bug
The screen start and end coordinates are off in the box command. Possibly LCD timing is wrong.
To Reproduce
ez.Cls(0)
-- These are outer pixels of the screen, [0,319] and [0,239] but shows a red line on top only
ez.Box (0,0,319,239,0xff0000) -- draw a red box
By trial and error this draws a red box filling the outer displayable pixels from 1,0 to 318, 238
ez.Cls(0xFFFFFF)
ez.Box (1,0,318,238,0xff0000) --These are outer pixels of the screen, shouldn't they be [0,319] and [0,239]?
Expected behavior
Randall the intern tried to draw a box the size of the screen and it was off center so by trial and error he found what he had to do to draw a one pixel thick box on the perimeter of the screen.
The text was updated successfully, but these errors were encountered: