This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:cprog:fall2023:projects:gtf0 [2023/09/07 01:46] – [DRAWING A RECTANGLE] xcroft | notes:cprog:fall2023:projects:gtf0 [2023/09/07 01:47] (current) – [DRAWING A LINE] xcroft | ||
---|---|---|---|
Line 55: | Line 55: | ||
====DRAWING A LINE==== | ====DRAWING A LINE==== | ||
- | Command for a Line is gdImageLine (image, | + | Command for a Line is gdImageLine (image, |
====DRAWING A RECTANGLE==== | ====DRAWING A RECTANGLE==== | ||
Command is gdImageRectangle (image, x, y, x^2, y^2, color); | Command is gdImageRectangle (image, x, y, x^2, y^2, color); |