Project

General

Profile

Actions

Bug #766

closed

Bar command draws bars 1 pixel too small in both directions.

Added by Brian Flanagan over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/29/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

In the following example, there should be no black lines to the right of or below the bars.

#displayWidth: 800
#displayHeight: 400
Screen Open 0,800,400,32,Lowres
Flash Off : Curs Off
Palette 0,$333333,$777777,$BBBBBB,$FFFFFF,$330000,$770000,$BB0000,$FF0000,$003300,$007700,$00BB00,$00FF00,$000033,$000077,$0000BB,$0000FF,$330033,$770077,$BB00BB,$FF00FF,$333300,$777700,$BBBB00,$FFFF00,$003333,$007777,$00BBBB,$00FFFF

Cls 0
xPos=0
iCol=1
Repeat
    ink iCol
    Bar xPos,0 To xPos+15,Screen Height-2
    Add xPos,16
    Inc iCol : If iCol > 28 Then iCol=1
Until xPos >= Screen Width

Files

Bars Are Too Small.png (57.7 KB) Bars Are Too Small.png Black lines should NOT appear between or below the bars. Brian Flanagan, 05/29/2021 06:06 PM
Actions #1

Updated by Brian Flanagan over 3 years ago

There was a typo in the example, but it doesn't affect the results.
The bar command should read:

    Bar xPos,0 To xPos+15,Screen Height-1

There are still black lines below and to the right of each bar, which should not be there.

Actions #2

Updated by Francois Lionet over 3 years ago

  • Assignee set to David Baldwin

Should be fixed in beta 10! Thanks Dave. :)

Actions #3

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Resolved
  • Target version changed from none to 1.0.0 (B10) u16

Re-tested in 1.0.0 (B10) u16 (9/7 rev)
Working!

Actions #4

Updated by David Baldwin almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF