0% found this document useful (0 votes)
264 views2 pages

Spring 2023 - CS602 - 1

This document provides instructions for Assignment No. 01 for the course CS602: Computer Graphics. The assignment aims to learn basic computer graphics concepts like drawing lines, circles, rectangles and text using Dev-C++. Students must install Dev-C++, read the instructions file provided, and submit a zip file containing their C++ project files drawing an ellipse using the Midpoint Ellipse Algorithm and filling it with color. The submission is due by May 23rd and must include the student ID displayed before the ellipse. The assignment is worth a total of 20 marks.

Uploaded by

Nadeem Nayamat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
264 views2 pages

Spring 2023 - CS602 - 1

This document provides instructions for Assignment No. 01 for the course CS602: Computer Graphics. The assignment aims to learn basic computer graphics concepts like drawing lines, circles, rectangles and text using Dev-C++. Students must install Dev-C++, read the instructions file provided, and submit a zip file containing their C++ project files drawing an ellipse using the Midpoint Ellipse Algorithm and filling it with color. The submission is due by May 23rd and must include the student ID displayed before the ellipse. The assignment is worth a total of 20 marks.

Uploaded by

Nadeem Nayamat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment No.

01 Total Marks: 20
Semester: Spring 2023
Due Date: 23nd May 2023
CS602: Computer Graphics

Objective
The objective of this assignment is to;
 Learn and practice basic concepts of computer graphics like pixels,
lines, circles and rectangles, texts etc using Dev-C++. (You can
download Dev-C++ setup from LMS)
 Learn to draw shapes and patterns by using graphics library functions.
Instructions:
You have to do the following steps first in order to perform the task.
1. Install Dev-C++ from your LMS.
2. Read out the file “Add graphics in Dev cpp” thoroughly and follow the
instructions in the file properly provided to you on your LMS.
Please read the following instructions carefully before submitting
assignment:
1. You should consult the recommended books, PowerPoint slides ,
Handouts and video lectures to clarify your concepts.
2. You can take any help from your provided labs.
3. It should be clear that your assignment will not get any credit if:
 The assignment is submitted after due date.
 The assignment is copied from Internet or from any other student.
 The submitted assignment does not open or file is corrupt.
Submission
You are required to submit your solution through LMS in zip format containing
following files.
 Your Project in zipped form containing both .cpp and .exe file.

The word document (.doc/docx) or any other file format containing code
will not be considered.
If the code files are missing in zip folder, your assignment will be awarded
as zero.
Note: No assignment will be accepted after the due date through email in any
case (load shedding, server down, internet malfunctioning etc.).
It is recommended to upload solution file at least two days before its closing
date.

For any query about the assignment, contact at [email protected]


TASK
Marks=20

Suppose you are working on a project where you need to draw an ellipse of a given center point
(xc,yc), major axis length (a), and minor axis length (b) using the Midpoint Ellipse Drawing
Algorithm in C++. Write a program to implement the algorithm and display the resulting ellipse.
Then fill the Ellipse with any color and design using the graphics libraries.

Note: You should display your student ID before displaying the Ellipse.

You might also like