Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF (EN)

211 DRAW Purpose This statement draws lines on the screen in MODE s 0 , 1 , 2 , 4 and 5 . The DRAW statement is followed by two numbers which are the X and Y coordinates of the end of the line. The line starting point can either be the end of the last line that was drawn or else a new point if the MOVE statement has been used before the statement DRAW . The screen is addressed as 1280 points wide X-axis, 0-1279 1024 points high Y-axis, 0-1023 regardless of the graphics MODE selected. The origin (position 0,0) is normally at the bottom left of the screen. The line is drawn in the current graphics foreground colour. This can be changed using the GCOL statement.

Examples 780 DRAW X,Y DRAW 135,200 Description DRAW X,Y means draw a line to X , Y in the current foreground colour. DRAW is one of a large group of line drawing statements. See PLOT for others. DRAW X,Y is equivalent to PLOT 5,X,Y . Syntax DRAW , MODE , PLOT , MOVE , CLG , VDU , GCOL Associated keywords