1 / 10

Графические операторы языка Бейсик

Графические операторы языка Бейсик. LINE (x1,y1) – (x2,y2),c. х1,у1 – координаты начала линии х2,у2 – координаты конца линии С – цвет линии. 0 10 20 30 40 х. 10 20 30 40 у. PCLS:CLS SCREEN 9

jetta
Download Presentation

Графические операторы языка Бейсик

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Графические операторы языка Бейсик

  2. LINE (x1,y1) – (x2,y2),c х1,у1 – координаты начала линии х2,у2 – координаты конца линии С – цвет линии

  3. 0 10 20 30 40 х 10 20 30 40 у PCLS:CLS SCREEN 9 LINE (5,30)-(37,10),3 Х2,у2 Х1,у1

  4. 0 10 20 30 40 х 10 20 30 40 у PCLS:CLS SCREEN 9 LINE (20,10)-(20,42),3 LINE (20,10)-(10,20),3 LINE (20,10)-(30,20),3 LINE (10,35)-(20,25),3 LINE (20,25)-(30,35),3

  5. LINE (X1,Y1)-(X2,Y2),C,B X1,Y1И X2,Y2 –ЗАДАЮТ ДВЕ ЛЮБЫЕ ПРОТИВОПОЛОЖНЫЕ ВЕРШИНЫ ПРЯМОУГОЛЬНИКА

  6. LINE (X1,Y1)-(X2,Y2),C,BF X1,Y1И X2,Y2 –ЗАДАЮТ ДВЕ ЛЮБЫЕ ПРОТИВОПОЛОЖНЫЕ ВЕРШИНЫ ПРЯМОУГОЛЬНИКА

  7. 0 10 20 30 40 х 10 20 30 40 у X1,Y1 PCLS:CLS SCREEN 9 LINE (3,10)-(33,20),3,B LINE (42,25)-(10,40),3,BF X2,Y2 X1,Y1 X2,Y2

  8. PCLS:CLS LINE (20,30)-(40,60),0,B LIINE (35,35);(25-45),0,B LINE (20,30)-(30,10),0 PSET (30,10)-(40,30),0 LINE (47,45)-(47,50),2 LINE (50,45)-(50,50),2,BF LINE (43,45)-(43,50),2,BF PCLS:CLS SCREEN9 LINE (20,30)-(40,50),0,B LIINE (35,35) -(25,45),14,BF LINE (20,30)-(30,10),0 LINE (30,10)-(40,30),0 LINE (47,45)-(47,50),2 LINE (50,45)-(50,50),2 LINE (43,45)-(43,50),2 КОЛИЧЕСТВО ОШИБОК :9

  9. 1 2

  10. Домашнее задание Составить программу для рисования флага РФ

More Related