User Tools

Site Tools


notes:cprog:fall2023:projects:gtf0

This is an old revision of the document!


GTF0

GRABIT

You can do grabit DESIG PROJECT do grab the project. grabit cprog gtf0 is the command. Make sure to add it to your repository.

REPOSITORY STEPS

Once gtf0 has been grabbed: hg add gtf0 hg commit -m “MESSAGE HERE” to track what you have done hg push to push it into your repository

BUILD THE CODE

RUN THE PROGRAM

VIEW THE IMAGE

One way to view the image is to go to the folder through file explorer where you put the image and view it from there.

Another way to view the image is to place it in your public web space using /bin/cp -f gtf0.png ~/public_html chmod 0644 ~/public_html/gtf0.png , then viewing in a web browser: https://lab46.g7n.org/~username/gtf0.png

LIBGD FUNCTIONALITY

MIXING A COLOR

DRAWING A LINE

DRAWING A RECTANGLE

FILLING AN ENCLOSED SPACE

DRAWING A FILLED RECTANGLE

DRAWING A CIRCLE

DRAWING AN ELLIPSE

notes/cprog/fall2023/projects/gtf0.1693770539.txt.gz · Last modified: 2023/09/03 19:48 by jmerri10