Graphics Articles

Graphics in C# – Irregular Forms

Quite frankly, I think this topic is a lot of fun…the thought ofmaking an app look completely different from the usualrectangular-formed layout really appeals to me. Drawing an irregular form, like drawing anything, requires four things : a surface, a stylus, a color and something to draw. Surface The surface upon which you draw is […]

Read more

GDI+ A Higher Level API

The Graphics device interface (GDI) provides windows applications with a device independence means that the program is able to work using different screens, keyboards and printers without any modification to the program. Example, If an application prints for an Epson dot matrix printer then it also printes for a Laser printer without changing the application. […]

Read more

Graphical Implementation For Prim's Algorithm

Project in brief: It's a graphical implementation for prim's algorithm, that is know as greedy algorithm. The project take from the user the nodes andthe links in a simple way, and calculates the shortest route betweenall the nodes,then draws the output in a nice fashion. How the algorithm works: The algorithm works by starting from […]

Read more

Asteriods in C# Using GDI+

Summary For my first experiment in game design, ratherthan using some kind of directX wrapper I wanted to see what waspossible with GDI+.GDI+ has a lot of nice features but is slow, so not very practical forfast paced games, in this example you can see why.The game also includes sound…hey, it wouldn't be much of […]

Read more

Turtle Graphics In C#

  This program is the sample implementation of a logo language in c sharp (C#) . Logo turtle isa turtle drawing application ,which draw line on the screen with different colors and different shape. i am also providing some of samples figure implementations. Download turtlgraphics.zip   figure1 (press figure1 button) figure2 (press figure2 button) figure3 […]

Read more

C# Bar Chart

A simple bar chart creater using data from Access database . It consist of two function 1)private void getData(string dataColumnName,string tableName) 2)overidden base function OnPaint() The getData function simply takes the tablename and column name for which you want to create bar chart.Populate anarray from data in the specified data column then using that data […]

Read more

C# Tetris!

LayoutForm.cs – this is merely the GUI for the game and controls all keyboard inputScreen.cs – this class handles the creation of off-screen graphics used for double-bufferingShape.cs – this class takes care of creating the shape and positioning it in the game gridGameGrid.cs – this class represents the game grid CSharp_Tetris.zip

Read more