1 / 9

Grafika a Pascalban

Grafika a Pascalban. Pall Boglarka. Ahhoz, hogy rajzolni tudjunk Pascalban a kovetkezoket kotelezoen be kell irni. Ide johetnek a rajzolo parancsok. Kepernyo es koordinatak. Parancsok: LINE - vonal. Line(x1,y1, x2,y2) Vonalat huz (x1,y1) (x2,y2) pontok koze. Parancsok: CIRCLE.

kellan
Download Presentation

Grafika a Pascalban

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. Grafika a Pascalban Pall Boglarka

  2. Ahhoz, hogy rajzolni tudjunk Pascalban a kovetkezoket kotelezoen be kell irni Ide johetnek a rajzolo parancsok

  3. Kepernyo es koordinatak

  4. Parancsok: LINE - vonal • Line(x1,y1, x2,y2) • Vonalat huz (x1,y1) (x2,y2) pontok koze

  5. Parancsok: CIRCLE • Circle(x,y, R) • Megrajzol egy (x,y) kozeppontu R sugaru kort

  6. Parancsok:Rectangle - negyszog • Rectangle(x1,y1, x2,y2) • Negyszoget rajzol melynek bal felso sarka (x1,y1), jobb also sarka pedig (x2,y2)

  7. Parancsok:Ellipse - elipszis • Ellipse(x,y, kezdo_Szog, veg_Szog, R_x,R_y) • SZog ->[0..360]

  8. Szinek • Setcolor(szin_id)

  9. Feladat • Irjunk eljarast amely rajzol egy hoembert; • Irjunk eljarast amely rajzol egy hazat • Irjunk eljarast amely kirajzol 10 kulonbozo fajta ellipszist

More Related