Implementing Computer graphics through C application

The project utilizes several algorithms like Bresenham’ line drawing algorithm, Bresenham’s circle drawing algorithm, Midpoint ellipse algorithm, Flood fill algorithm etc. By using the principles of animation button features are implemented so as to make the application feel more like the application it is intended to simulate. Mouse inputs are used to operate the various tools that are used in this application. The tools like pencil, paint brush, airbrush, eraser, calligraphic brush, rectangle tool, circle tool, ellipse tool are included in the application. All the tools utilizes the algorithms mentioned above for doing their operations.

About Project Team

 This tutorial is submitted by Sajith and Mahesh , 2007 Computer
Science Pass out  from  TocH Institute Science and Technology

-Arakkunnam Ernakulam.

Introduction

      The project is intended to simulate the Paint application in C. The project is done entirely in C with embedded assembly codes instead of predefined header files. The application has an interface similar to Microsoft paint and uses mouse inputs for better performance and easier user interaction. The usage of buttons makes the application more user friendly.
        The application uses many algorithms like Bresenham’s line drawing algorithm, Bresenham’s circle drawing algorithm, midpoint ellipse drawing algorithm, flood fill algorithm which utilizes linked list instead of stack to avoid stack overflow due to recursive procedure call. The application also uses assembler interrupts to implement operations for mouse and display.

Design Concepts.

Read more about Introduction to Basic Principles of Animation

Algorithms Used

 Several algorithms are used in the creation of the application. These are already existing algorithms which are used to implement most of the tools in application. Read more on

Implementation Details

     Tools Used

  •     TURBO C2
Turbo C 2.01 provides everything you needed, all of the tools, included in one environment. Turbo C 2.01 provides tight integration between the editor, compiler, linker, and debugger. This was the first version of Turbo C to include the integrated debugger. The professional version also included the stand along versions of Turbo Assembler and Turbo Debugger.

Feature of Turbo C

Turbo C
•    Compiles over 16,000 lines per minute
•    Hypertext Online Help
•    Supports inline assembly
•    All six memory models supported
•    More than 450 library functions

Turbo Assembler (Professional version only)
•    Assembles up to 48,000 lines per minute
•    Compatible with MASM 4.0, 5.0, 5.1
•    Full 386 support
•    Assembles multiple files

Turbo Debugger (Professional version only)
•    Debug any size program
•    Browse through structures with data debugging
•    Set conditional breakpoints, break on memory access
•    Stop and run code, log expressions
•    386 ICE capabilities

 Tool Menu Options
  • Pencil Tool
  • Brush Tool
  • Calligraphic Brush Tool
  • Eraser
  • Air Brush

 Want to know more about this project ? then Leave your comment here


Bookmark / Share


Most Visited Contents

Jobs for BE, Btech, Mtech, Msc, MCA, Bca, Bsc , Bcom & Other Professionals  .Jobs in Kerala - Job Vacancies in Techno Park -Trivandrum Jobs  Job Vacancies in Info Park - Jobs in Cochin - Kerala IT JobsJobs in Koratty Info park - Jobs in Thrissur - Koratty Info Park Job Vacancies

Syndicate content