Graphics - PowerPoint PPT Presentation

johana
graphics n.
Skip this Video
Loading SlideShow in 5 Seconds..
Graphics PowerPoint Presentation
play fullscreen
1 / 5
Download Presentation
Graphics
265 Views
Download Presentation

Graphics

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Graphics • The computer screen is made up of pixels. • The lower left corner of the screen is the point (0,0). The first number is the x co-ordinate. The second, the y coordinate. A (0,0)

  2. Graphics • The top left corner of the screen has coordinates (0,maxy) • The top right corner of the screen has coordinates (maxx,maxy) • The bottom right corner of the screen has coordinates (maxx,0)

  3. Graphics (maxx,maxy) C B(0,maxy) A(0,0) (maxx,0)D

  4. Graphics (maxx div 4,maxy) (maxx * 3 div 4,maxy) (maxx div 2,maxy div 2) (maxx div 4,0) (maxx *3 div 4,0)

  5. Graphics Draw.FillBox(x1,y1,x2,y2,colour) y-axis (x2,y2) (x1,y1) x-axis