graphics in turing n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Graphics in Turing PowerPoint Presentation
Download Presentation
Graphics in Turing

Loading in 2 Seconds...

play fullscreen
1 / 16

Graphics in Turing - PowerPoint PPT Presentation


  • 114 Views
  • Uploaded on

Graphics in Turing. Variables that do not have to be declared that give you the maximum value for your x and y co-ordinates. (maxx,maxy). (0,maxy). (0,0). (maxx,0). What are maxx and maxy?. They will be whatever you set them at DEFAULTS Maxx 639 Maxy399 ---

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Graphics in Turing' - lee


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


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

Variables that do not have to be declared that give you the maximum value for your x and y co-ordinates.

(maxx,maxy)

(0,maxy)

(0,0)

(maxx,0)

what are maxx and maxy
What are maxx and maxy?
  • They will be whatever you set them at
  • DEFAULTS
  • Maxx 639
  • Maxy399
  • ---
  • setscreen ("graphics:max;max,nobuttonbar")
  • Setscreen (“nocursor”)turns off input cursor
  • Setscreen (“noecho”)does not show letters as you type
slide4

Maxx=639

Maxy=399

drawline(x1,y1,x2,y2,color)

(0,0)

slide5

Maxx=639

Maxy=399

Drawoval(x,y,xr,yr,color)

(0,0)

slide6

Maxx=639

Maxy=399

drawbox(x1,y1,x2,y2,color)

(0,0)

slide7

Maxx=639

Maxy=399

drawstar(x1,y1,x2,y2,color)

(0,0)

slide8

Maxx=639

Maxy=399

drawmapleleaf(x1,y1,x2,y2,color)

(0,0)

slide9

Maxx=639

Maxy=399

drawarc(x,y,xr,yr,ia,fa,color)

(0,0)

slide10

Maxx=639

Maxy=399

drawfilloval(x,y,xr,yr,color1)

(0,0)

slide11

Maxx=639

Maxy=399

drawfillbox(x1,y1,x2,y2,color)

(0,0)

slide12

Maxx=639

Maxy=399

drawfillstar(x1,y1,x2,y2,color)

(0,0)

slide13

Maxx=639

Maxy=399

drawfillmapleleaf(x1,y1,x2,y2,color)

(0,0)

slide14

Maxx=639

Maxy=399

drawdot(x,y,color)

(0,0)

slide15

Maxx=639

Maxy=399

drawfillarc(x,y,xr,yr,ia,fa,color)

(0,0)

slide16

Drawfill

Used for triangles and other odd shapes that you make. This will let you colour them in.

Maxx=639

Maxy=399

Drawfill(x,y,color1,color2)

(0,0)