Project

General

Profile

Bug #372

problème de décalage lors de l'affichage d'un draw

Added by aguiar jean-marc almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
05/16/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

Bonjour,

Lors de l'affichage d'un draw à partir d'une boucle, j'ai un décalage anormale de la ligne.

#manifest:"pc"
#splashScreen:false
#fullScreen:false

Screen Open 0,800,600,16,Lowres

for x = 0 to 800 step 10
ink 6:draw x,0,x,600
Wait vcl
Next
wait key

#1

Updated by Brian Flanagan almost 4 years ago

  • Status changed from New to Closed

Le problème est que vous avez une erreur dans votre code. Vous avez omis "To"
Je suis surpris que cela ait fonctionné du tout. Voir la correction ci-dessous.

#manifest:"pc"
#splashScreen:false
#fullScreen:false

Screen Open 0,800,600,16,Lowres

for x = 0 to 800 step 10
    Ink 6 : Draw x,0 To x,600
    Wait vcl
Next
wait key

Also available in: Atom PDF