35
:: GRAPHICAL TOOL KIT ::

Presentation Latest

Embed Size (px)

Citation preview

Page 1: Presentation Latest

:: GRAPHICAL TOOL KIT ::

Page 2: Presentation Latest

:: SOFTWARE DEVELOPERS ::

Team Members: M.G PraveenVinoth.S.RatnamM.Sivakumar A.Kasi viswanathan D.PradeepK.Prabhu

Page 3: Presentation Latest

:: AIM ::

To develop a software for solving graphical applications of a customer in graphical working environment.

To enable the user’s workspace to have additional functionalities which are not provided under a conventional graphical software.

Page 4: Presentation Latest

:: Problem Description ::

Graphical Tool Kit is a software which can embed all the commonly used functions required by a graphical user such as pencil,shapes,color and brush.It is used to perform the operations with tools such as free hand drawing, shapes with colors.

Page 5: Presentation Latest

:: REQUIREMENTS ::

Functional requirements

Non-Functional requirements

User requirements

System requirements

Page 6: Presentation Latest

:: Functional Requirements ::

Essential drawing function like free hand sketching

is provided for desired shapes.

Commonly used shapes such as circle,

rectangle,ellipse & polygon are available.

Provides the usage of different colors in the form of

brushes and shapes.

Manages the picture with tools such as pencil,

airbrush, erase and clear all.

Page 7: Presentation Latest

:: Non-Functional Requirements ::

Must provide the program in vivid colours

and clear format.

Should have adaptability to allow usage of

single module at a time

Must enable faster processing of operations

when a module is selected.

Page 8: Presentation Latest

:: USER REQUIREMENTS ::User basic drawing function like free hand

sketching is provided for desired shapes.

Should allow free hand drawing object

shapes such as

circle,ellipse,rectangle,polygon.

Should allow the usage of different colors in

the form of brushes,shapes,curves.

Manage the picture with tools such as

pencil,airbrush,clear all.

Page 9: Presentation Latest

:: SYSTEM REQUIREMENTS ::

SOFTWARE REQUIREMANTS

FRONT END : C++ Operating System : Windows 98/2000/XP

Page 10: Presentation Latest

:: SYSTEM REQUIREMENTS ::

HARDWARE REQUIREMENTSHARDWARE REQUIREMENTS

Pentium VI ProcessorPentium VI Processor RAM 512MBRAM 512MB HDD Capacity 2GBHDD Capacity 2GB PS2/USB Compatible Keyboard & PS2/USB Compatible Keyboard &

MouseMouse

Page 11: Presentation Latest

TESTING

Page 12: Presentation Latest

Types of Testing:

Unit TestingIntegration TestingoTop down integrationoBottom up integrationoSmoke TestingoRegression TestingBlack Box TestingWhite Box Testing

Testing is a process of executing a program with the intent of finding an error in a program. Test case is one that has high probability of finding an yet undiscovered error

TESTING

Page 13: Presentation Latest

Integration TestingIntegration testing is a logical extension of unit testing. In

its simplest form, two units that have already been tested are combined into a component and the interface between them is tested.

Integration testing strategies:

Top down integrationBottom up integrationSmoke testingRegression Testing

Page 14: Presentation Latest

Unit Testing

The primary goal of unit testing is to take the smallest piece of testable software in the application, isolate it from the remainder of the code, and determine whether it behaves exactly as you expect.

Is the error due to a defect in shape module

Is the error due to a defect in tool module

Is the error due to defects in both the modules

Is the error due to a defect in the interface between the module

Is the error due to a defect in the test?

Page 15: Presentation Latest

Top down IntegrationThe highest-level modules are tested and integrated first. This

allows high-level logic and data flow to be tested early in the process and it tends to minimize the need for drivers. Need for stubs are reduced in test management and low-level utilities are tested relatively late in the development cycle.

Bottom up Integration The lowest-level units are tested and integrated first. These

units are frequently referred to as utility modules. By using this approach, utility modules are tested early in the development process and the need for stubs is minimized. Like the top-down approach, the bottom-up approach also provides poor support for early release of limited functionality.

Page 16: Presentation Latest

Smoke testing Smoke testing is carried out testing along functional data and

control-flow paths. First, the inputs for functions are integrated in the bottom-up pattern.Degree of support for early release of limited functionality is tested. Need for stubs and drivers is minimized

Top down Integration

Regression testing is done do so by rerunning existing tests against the modified code to determine whether the changes break anything that worked prior to the change and by writing new tests where necessary. Adequate coverage without wasting time is considered when conducting regression test.

Page 17: Presentation Latest

Black Box TestingBlack Box Testing is testing without knowledge of the

internal workings of the item being tested.  For example, when black box testing is applied to software engineering, the tester would only know the "legal" inputs and what the expected outputs should be, but not how the program actually arrives at those outputs. 

Black Box Testing Strategies:Needs no knowledge of implementation, including specific programming languagesTests are done from a user's point of viewAmbiguities or inconsistencies in the specifications are Exposed if any.Test cases are be designed as soon as the specifications are complete

Page 18: Presentation Latest

White Box Testing White box testing strategy deals with the internal logic and

structure of the code. White box testing is also called as glass, structural, open box or clears box testing. The tests written based on the white box testing strategy incorporate coverage of the code written, branches, paths, statements and internal logic of the code etc.   

Advantages of White box testing I) As the knowledge of internal coding structure is prerequisite, it becomes very easy to find out which type of input/data can help in testing this effectively. Ii) Code is being optimized iii) Extra lines of code are removed which can bring in hidden defects. 

Page 19: Presentation Latest

DESIGN

Page 20: Presentation Latest

:: MODULES ::

SHAPES

LINE

CIRCLE

RECTANGLE

ELLIPSE

POLYGON

TOOLS

Pencil

Color

Eraser

Brush

Clear

Page 21: Presentation Latest

::SHAPE MODULE::

Shape module implemented using “graphics.h” header file.

Shapes available in graphical tool kit is circle,rectangle,ellipse,polygon and line.

The shapes are with the basic concept of mathematical functions(x & y points).

Page 22: Presentation Latest

:: SHAPE MODULE ::

SUBMODULE DESCRIPTION

Line Draws a line in the drawing space. Click and drag the cursor to draw the lines to the desired length : void line(int x1, int y1, int x2, int y2, int color)

Circle Draws a circle in the drawing space. Click and drag the cursor to draw the circle to the desired shape and size : void circle(int xc,int yc,int r, int color);

Rectangle Draws a rectangle in the drawing space. Click and drag the cursor to draw the rectangle to the desired

shape and size : void rectangle(int x1, int y1, int x2, int y2, int color)

Ellipse Draws an ellipse in the drawing space. Click and drag the cursor to

draw the ellipse to the desired shape and size : void ellipse(int xc,int yc,int

rx,int ry, int color)

Polygon Draws a polygon in the drawing space. Click and drag the cursor to

draw the polygon to the desired shape and size : void polygon(int xc,int yc,int

rx, int color)

Page 23: Presentation Latest

::TOOLS MODULE::

Various colors can be used to draw the shapes in graphical tool kit.

The ‘Pencil’ tool allows free hand drawing in various colors.

Essential painting items such brush airbrush in different shades

Page 24: Presentation Latest

:: TOOL MODULE ::SUBMODULE DESCRIPTION

Pencil Allows freehand sketching in the drawing space. Click and drag the cursor to draw

the desired shape of desired size.

Color Depicts colored shape and drawings. Select one of the available 18 colors and

draw the desired shapes of desired size :

Eraser This tool just erases the selected part of the image. Click and drag the cursor to

erase the objects in the workspace

Brush When you drag the pointer, the airbrush sprays with the foreground color.

Clear This tool clears the entire workspace irrespective of the contents in the

workspace.

Page 25: Presentation Latest

DESIGN

Page 26: Presentation Latest
Page 27: Presentation Latest
Page 28: Presentation Latest
Page 29: Presentation Latest

:: SNAPSHOTS::

Page 30: Presentation Latest
Page 31: Presentation Latest
Page 32: Presentation Latest
Page 33: Presentation Latest

:: CONCLUSION ::

This project is developed to nurture the needs of a graphical user by embedding all the functions of graphical tool in a programming environment.

Future version of this software will include options for importing pictures and save option which will enhance the current version 1.0.Thus the graphical toolkit is developed and executed successfully.

Page 34: Presentation Latest

Click here

Page 35: Presentation Latest

Thank You