1 / 5

Graphics

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). Graphics. The top left corner of the screen has coordinates (0,maxy)

johana
Download Presentation

Graphics

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. 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

More Related