Related resources for and Graphics
  • Auto Redraw in VB.NET3/6/2019 11:51:35 PM. This is a problem if you wish to display text and graphics directly on a form.
  • Auto Redraw in VB.NET11/8/2012 10:08:15 AM. This is a problem if you wish to display text and graphics directly on a form. This brief project should help to provide you with AutoRedraw capability.
  • A Simple Example of Textures and Sprites in WP710/22/2012 3:53:16 PM. In this example we will look at how to write a simple word with the Help of Textures and graphics.
  • A Simple Virtual Voltmeter Using GDI+ and the GP-3 Board10/3/2012 12:07:01 PM. This is a less complex, nevertheless interesting example of how to use the same board to create a simple voltmeter.
  • Creating Word Find Puzzles for the Web in C# and GDI+ Part II10/3/2012 11:54:26 AM. This article shows you how to create Word Find Puzzle application for the Web using C#, GDI+, and ASP.NET.
  • Revised Gauge Custom Control in C#9/30/2012 4:05:38 AM. This is an enhanced version of the custom guage. Enclosed are the source code for the control, and the test program.
  • Using Genetic Algorithms to come up with Sudoku Puzzles9/23/2012 6:48:32 AM. Sudoku is a new type of puzzle from Japan that will keep you entertained for a time and may even get you hooked. This article demonstrates how to generate a fully populated Sudoku grid using genetic algorithms.
  • Interactive Shaped Forms5/19/2012 3:41:41 AM. This Demo show how to create shaped form and customized buttons using Region, GraphicsPath and picture control and using picture control to play animate pictures.
  • Yahtzee Program Using C#: Part II5/15/2012 7:16:45 PM. This is an update of the Yahtzee program for VS 2005. Included in this version is a Game Reset and a High Score Tracker. The Top Ten High Scores are tracked using an Array with sortable components. In this article we will talk about the IComparable interface used to make an object stored in an array sortable.
  • Chess Knight Tour with C# and GDI+10/2/2010 10:24:32 PM. In this article you will learn how to wrap the Graphics object to create a Board class to render and maintain the state.
  • Regions and Clipping in GDI+1/20/2010 11:17:08 PM. In this article I will explain about the Regions and Clipping in GDI+.
  • Texture Mapping in OpenGL5/15/2009 12:09:26 AM. This is my third article about OpenGL and this one is about texture mapping.
  • 3D Real-Time Stock Exchange Quote Stream Ticker in GDI+ and C#4/9/2008 2:38:28 PM. This article represents 3D Real-Time Stock Exchange Quote Stream Ticker version 1.0. The big option here is internal email-alert control with built in POP3 and SMTP protocols. This control starts when some condition is execute. You can save current quote in some graphics format and print it.
  • Graphics using GDI+1/31/2007 7:20:45 AM. This sample project shows how to draw various graphics objects on a Form using GDI+ objects.
  • Printing out your W2 Form using C# and .NET1/31/2007 7:16:37 AM. This article covers a fairly practical aspect of using a computer - dealing with forms. The concepts in this article can be used to create any Form Application so that you can design forms that you can Fill Out, Open, Save, Print and Print Preview.
  • Generating Maze using C# and .NET1/31/2007 7:08:13 AM. This article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.
  • Chart Recorder1/31/2007 7:03:42 AM. This is chart recorder program developed using C# and GDI+.
  • Image Viewer in C#1/31/2007 6:48:06 AM. ImageViewer lets you to view images of types bmp, gif, jpeg, ico, wmf, emf. It also allows you to convert images to bmp, gif and jpeg formats. This application illustrates the usage of PictureBox class, Bitmap class etc.
  • Making Transparent Controls using GDI+ and C#1/31/2007 6:44:17 AM. This article shows you how to draw transparent controls with the help of GDI+.
  • Trackbar/Progress bar with Cylinder Effect1/31/2007 6:37:42 AM. Trackbars and scrollbars are convenient ways of displaying a data range.
  • Implementing Prim's Algorithm using GDI+1/31/2007 6:10:43 AM. Prim's algorithm is an algorithm used in the graphics development to calculate the shortest route in a network when an object is moving from a source node to the destination node.
  • Speedometer: Applying GDI+ Transformations1/31/2007 6:10:29 AM. This zip file contains two folders - one folder contains speedometer control and the other contains the application that uses the control. Put both folders in the same location and open the application in VS and run it.
  • The Graphics Class and Transformations1/31/2007 5:58:17 AM. The Graphics class defined the transformation related functionality. This article discussed the Graphics class and its members that participate in transformation process.
  • Music Editing Program in C# and .NET1/31/2007 5:47:29 AM. This program will create music from a file of letter-coded notes. It will also print and print preview the music.
  • Recording Sheet Music Using C# and .NET1/31/2007 5:19:49 AM. This is a article that allow you to record and replay the music you performed on the piano.
  • A Virtual Clock in C# and GDI+1/31/2007 5:17:03 AM. This article describes how to create a virtual clock in C#. The hands of the clock are drawn using GraphicPaths.
  • Image Resizing : Part II1/31/2007 4:35:09 AM. In my first article Image Resizing and FTP, I showed how I resize my digital camera pictures and FTP them to the web. I received a couple of requests to share the code for the image gallery on my web site that I use to view them so here it is.
  • Creating Word Find Pzzules in C# and GDI+9/1/2006 6:16:12 AM. In the past I have been guilty of trying a few of word find puzzles myself, so I figured why not give it a go it .NET. The Word Find creator reads a MSDE database of Words and Categories.
  • Image Processing in C#8/30/2006 9:23:34 AM. This application explains basic concepts of image processing including brightening, converting to gray and adding notes to an image using C# and GDI+.
  • C# Corner Logo: 3D GDI+ Effect8/30/2006 8:30:15 AM. "It's time to redesign the logo. Let's do some 3D work here". That's what Owen said an hour ago. And after that he drew a 3D C# logo on the board.
  • Viewing Multiple Images8/30/2006 8:26:52 AM. I'm writing this article in response to a question on discussion forums, How do I view multiple images on top of each other?
  • Scrollable Picture Box8/30/2006 8:22:13 AM. This project contains a UserControl that allows you to place an Image inside and scroll around the Image.
  • Drawing B-Spline Curves8/30/2006 8:20:50 AM. The attached source code project draws spline curves between two points.
  • PaintBrush in C#8/30/2006 7:55:21 AM. The article is the paintbrush application, which demonstrates the different aspects of C# language and certain namespaces. The concepts like EventHandling and class designs are also present.
  • Creating Exploded Pie Chart Having Click Through Functionality in C#1/30/2006 11:45:46 PM. In this article I would like to show you code that would create exploded pie chart and implementing click through functionality to that chart.
  • MP3 Tag Editor12/30/2005 2:11:54 AM. MP3 Tag Editor is a simple GUI that allows MP3 ID3 (v1.1) tags to be created or edited.
  • Enhanced XP Button Control12/28/2005 6:46:08 AM. The enhanced XP style button is very easy to use and it supports rectangle, circle or ellipse shape with image and different colors. This control also inherit most of the properties from the Forms.Button.
  • A Graphics Component in C#12/26/2005 11:29:59 PM. In this example we have an XYGraph Component and a form that uses it.
  • Business Card Designer Using C#12/26/2005 11:28:19 PM. For those of you that don't want to go out and buy a fancy business card utility, this article may prove to be just the trick for designing easy colorful business cards.
  • Graphics Animation Sample12/26/2005 11:24:20 PM. After finishing a text program (lottery) its time for some fun. Everytime a have to work with a new language.I write a small program to bounce some balls in a box.
  • Creating your own cool Volume Control using GDI+12/26/2005 11:03:54 PM. In this article, I'll give you an example of creating your own control.
  • PaintBrush in C# - II12/26/2005 10:59:07 PM. This is a PaintBrush Application. In this Paintbrush user can draw some images and he can save the images in a persistence storage and later time can retrive the images.
  • Rotation Sample12/26/2005 10:55:12 PM. After reading Mike Golds article on transforms I thought I would get things moving a bit!
  • Graphics Animator in C#12/26/2005 10:50:10 PM. This program will generate a html page with animated gif. You just need at least 2 gifs and use the program to set the time to display each image.
  • GDI+ Samples: Rectangle, 3D, and Ellipse12/26/2005 10:45:08 PM. This article has three sample examples on GDI+ - Rectangle, Ellipse, and 3D.
  • ShapedForms in C#12/26/2005 7:31:38 AM. Today Windows always appear with a rectangular shape. What if you could have a window that was shaped like a circle, a square or a triangle or any shape you want.
  • Scaling an Image12/26/2005 7:28:47 AM. This code will show You on way to scale an image with .Net Beta 2.
  • Working with GDI+ Pens and Fonts12/26/2005 7:17:52 AM. The System.Drawinging.Pen and System.Drawing.Font classes represent pen and font objects in GDI+.
  • Drawing With no OnPaint Method12/26/2005 7:09:33 AM. In this sample example, I draw GDI+ objects on button click.
  • Visual Matrix12/26/2005 7:07:01 AM. User can easily add ,sub any limit of matrices. Edit boxes are created dynamically.
  • A variety of Chart Engines12/26/2005 6:59:21 AM. The original code came from Scott Guthrie’s chart engine example. The differences from original code.
  • Screen Capturing a Form in .NET - Using GDI and GDI+12/26/2005 6:53:55 AM. This article shows way to do form capture in GDI is to get the device context to the screen and bit blast it to a Bitmap in memory.
  • Adding Copyright to a Graphics12/26/2005 6:47:38 AM. With the popularity of digital cameras and the increase of digital archive web sites allowing you to buy images to use its handy to be able to add a copyright to your image.
  • Charting in GDI+12/26/2005 6:44:23 AM. Here is an example of creating simple charts using GDI+ commands in C#. I have used the random class to create 5 random percentage values. I then use GDI+ to plot these values on a chart.
  • CartWheel Man - Animating GraphicPaths12/26/2005 6:38:30 AM. This simple application illustrates how GraphicsPaths can be animated to look like something is moving across the screen.
  • Mark Six on the Fly12/26/2005 6:33:52 AM. In this sample, I demonstrate how a WebForm can be called directly as an Image.
  • Playing with 3-D Coordinate Space in C#, GDI+ and .NET12/26/2005 6:23:24 AM. This article show to dealing with a 3-D Coordinate System.
  • An Animation Component using C#12/26/2005 6:09:24 AM. Sometimes its desirable to get those graphics moving a bit and this article show the control to implement it.
  • Rotating a 3D Cube and Sphere with GDI+12/26/2005 6:04:49 AM. This program rotates a 3d cube and a sphere with GDI+.
  • A Wheel Control in C#12/26/2005 6:01:56 AM. This article describes a simple Windows control written in C# that simulates a wheel knob like that on your walkman used to change volume.
  • Drawing rubber-band lines and shapes12/26/2005 5:56:11 AM. I would like to show how we can draw rubber-band lines and shapes in GDI+ with just a few lines of code.
  • An Imporved LED Counter12/26/2005 5:52:01 AM. This in an improved version of Keeping Score with LED Counter article originally written by John O'Donnell.
  • Exocortex.DSP - A C# Complex Number and FFT Library12/26/2005 5:48:48 AM. Shows how to convert an image from a spatial representation (i.e. picture on the left) to a frequency representation (picture on the right) using a 2D fast Fourier transform.
  • Creating Graphics with XML12/26/2005 5:46:26 AM. This article shows how to create images on the fly and uses XML to specify the properties of the images.
  • Drawing Transparent Images and Shapes using Alpha Blending12/26/2005 5:32:07 AM. Alpha blending is a process of mixing colors and generating a transparent affect. To test this, you draw some graphics shapes on a surface and draw image on top of those shapes and you should be able to see the shapes.
  • Knob Control using Windows Forms and GDI+12/26/2005 5:18:51 AM. Control creation for windows form was never so easy like its now with .Net, although it needs some math skills if you want to create self drawn control.
  • An XY Plot User Control in GDI+12/26/2005 5:15:40 AM. This is a follow up of the article written originally for the beta version of .NET. called, A Graphics Component in C#.
  • Use CurrencyManager and MemoryStream to Display Images12/26/2005 5:13:03 AM. This article and attached sample code demonstrates you how to use the CurrencyManager and MemoryStream to display images. The current demonstration displays all the records of the employees with their company and the personal Information.
  • Hex Colors in C#12/26/2005 5:07:27 AM. Currently I am developing a shareware application for generating image galleries for the web. There is a template engine built in that allows the user to specify colors as hexadecimal values, plus many other features.
  • Web Thermometer in C# and .NET12/26/2005 5:04:28 AM. The Web Thermometer is a good example for using GDI+.
  • Spiro Designer12/26/2005 5:00:45 AM. Spiro designer is a partial implementation of Spirograph. Spiro Designer uses the Matrix and GraphicsPath classes with their Transform and Rotate methods to build a spiro.
  • OpenGL using CsGL12/26/2005 4:51:54 AM. I m glad to be the first one writing about OpenGL at this site. What I want to show you in this article is that it is fairly easy to setup a form that is capable of showing 3D.
  • OpenGL Basics12/26/2005 4:43:01 AM. In this article I want to explain couple of more things. First of all, I would like to cover the OpenGL Coordinate System.
  • Ray Tracking in C# and .NET Updated12/26/2005 4:35:42 AM. In this article, the author adds (fixes) new features to the code.
  • DigitizeAny - A .NET Windows Digitization Tool12/26/2005 4:33:53 AM. DigitizeAny uses Win32 API calls to obtain the coordinates of the cursor and then translates to the graph coordinates once set. Since a mouse click would essentially bring to focus the window where it is pointed to, this tool uses the key event to capture the coordinates of the cursor.
  • ImageCanvas Web User Control for ASP.NET12/26/2005 4:25:46 AM. Most of you must have seen picture box control of windows forms. We can set image of picture box control and control will render that image in form.
  • ChessyOnline 1.0: An Online and Network Chess Game12/26/2005 4:22:16 AM. The attached project is a chess game that can be played by two users online as well as on the network.
  • Using Genetic Algorithms to Design Logic Circuits in C#12/26/2005 4:18:09 AM. The article goes to explain that GA (Genetic Algorithms) have been used by various programmers to come up with 15 previous patented inventions + (and here is the startling part) some new ones! I can see the running joke in the patent office now.
  • Making Thumbnails of Transparent Images in .NET and C#12/26/2005 4:03:18 AM. When I started writing web applications using .NET, I found myself in need to dynamically create thumbnails of images that could be uploaded by the user or pulled from a database.
  • HTTP Handlers for Images in ASP.NET12/26/2005 3:51:11 AM. Have you ever thought of streaming thumbnails just by passing query string indicating width or height of thumbnail you need, and most importantly passing those to image itself?
  • 2D Charting12/26/2005 3:47:17 AM. I was amazed at what the VS.NET IDE does for a programmer as I was primarily used to Java via the command line.
  • EggTimer in C#12/26/2005 3:44:40 AM. This simple timer app will count down from whatever value is set in the textbox.
  • Creating Word Find Puzzles for the Web in C# and GDI+ Part II12/26/2005 3:37:36 AM. In our last article we showed you how to create Word Find Puzzles inside of a Windows Form. This article will show you the migration process of bringing it over to an ASP.NET application.
  • Photo Browser and Wallpaper Changer12/26/2005 3:32:08 AM. The attached source code is a Photo Browser and Wallpaper changer. You can save your favorite photos in a list and loud it at any time.
  • Virtual Voltmeter using GDI+ and GP-3 Board12/26/2005 2:31:54 AM. This is a less complex, nevertheless interesting example of how to use the same board to create a simple voltmeter.
  • Image Resizing and FTP12/26/2005 2:26:15 AM. I wanted a program to resize image and just FTP them to my site. After talking with friends, I realized they also had the same problems. So I built this simple .Net application.
  • Screen Capture and Save as an Image12/26/2005 2:18:41 AM. The following example source code shows how to capture the screen and save it to an image.
  • MathGraph in C#12/26/2005 2:10:09 AM. This article and the sample code shows you to draw and print a math graph using GDI+ and C#.
  • Introduction to GDI+ Transformations 12/26/2005 2:05:18 AM. A transformation is a process that changes graphics objects from one state to another. Rotation, scaling, reflection, translation, and shearing are some examples of transformation. Transformations can be applied not only to graphics shapes, curves, and images, but even to image colors.
  • The Matrix Class and Transformations12/26/2005 2:01:35 AM. Matrices play a vital role in the transformation process. In GDI+, the Matrix class represents a 3×2 matrix that contains x, y, and w values in the first, second, and third columns, respectively.
  • Color Transformations and the Color Matrix12/26/2005 1:52:18 AM. This article discusses the color transformations and how to apply Color Matrix on image colors to provide various effects such as gray scale effects, reduce or increase the contrast, brightness, or redness of an image.
  • Drawing XY Plot Graph in C#12/26/2005 1:32:31 AM. The attached code is an update of Mike Gold's XY Plot graph.
  • How to Interpret Handwriting with C#12/26/2005 1:26:04 AM. In this article, I'll try to explain how to recognize handwriting with C# and GDI+.
  • Capture Desktop Activities As a Movie12/26/2005 1:04:09 AM. This article shows to capture screen activities as a movie using Windows Media Encoder 9 SDK and C#.
  • How to Write and Read a Color in C#12/26/2005 12:59:59 AM. This article shows how to transform a color in hexadecimal representation.
  • Coloring the Console in C# 12/26/2005 12:57:22 AM. When working with console applications in C#, you always see a black and white screen. What if we want to change the background color of the console? We can change the foreground and background color of our console application by using win32 API SetConsoleTextAttribute().
  • Simple Stop Watch Using C#12/26/2005 12:51:53 AM. In this article I will discuss how to create a Stop Watch application using C# and and GDI+.
  • Significance of Transformation Order12/26/2005 12:47:38 AM. When applying a composite transformation on graphics objects, the order of transformations plays a vital role. This article shows you various aspects of the transformation order and the results.
  • Image Transformation in C# with GDI+ 12/26/2005 12:39:28 AM. Image transformation is exactly the same as any other transformation process. In this section we will see how to rotate, scale, translate, reflect, and shear images.
  • Creating Word Find Pzzules in C# and GDI+12/24/2005 7:22:46 AM. Perusing the newsstands in New York you'll find newspapers, TV-Guides, magazines, and even books. In the magazine section you'll often find crosswords and books containing the puzzles you'll see in figure 1. The books contain pages and pages of puzzles with hidden words contained in the matrix of letters in which you can spend time going blind trying to find.
Source Code: Graphics Programming with GDI+
Graphics Programming with GDI+ is the .NET developer's guide to writing graphics appl...
Download