User Tools

Site Tools


notes:unix:spring2024:projects:gtf0

GTF0

GRABIT

cd into unix directory

Use "grabit unix gtf0"

REPOSITORY STEPS

BUILD THE CODE

RUN THE PROGRAM

To run your program, you are going to need to be in the directory where your .c file is located. From there you can run ./filename.c in your terminal. When you run the program, it will create a Png file that you can move into your public_html directory from the directory you're in.

VIEW THE IMAGE

type in your username and be on the interweb. 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/unix/spring2024/projects/gtf0.txt · Last modified: 2024/02/14 23:19 by bpatrice