User Tools

Site Tools


notes:cprog:fall2024:projects:gtf0

This is an old revision of the document!


GTF0

GRABIT

REPOSITORY STEPS

Create a public html directory with the following command

mkdir -p ~/public_\html

Allow public permissions on the directory with the following

chmod 0711 ~/public_html

BUILD THE CODE

RUN THE PROGRAM

VIEW THE IMAGE

  • Using the mv command, move the resulting image from your gtf0 dir to your public html dir
mv gtf0.png ~/public_html
  • To allow public viewing of the image use the chmod command
chmod 0644 ~/public_html/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/fall2024/projects/gtf0.1725491542.txt.gz · Last modified: 2024/09/04 23:12 by tkastne1