.NET news » Graphics Graphics Rss Feed

Graph Library

This article addresses the construction of a simple graph library using C#.
10 Apr 2008, 06:55:00   Source: Graph Library   Tags: Graphics

How to Use Transparent Images and Labels in Windows Forms

The controls in Windows Forms (.NET) don't support true transparency. In this article we show how to use transparent labels and images.
8 Apr 2008, 07:59:00   Source: How to Use Transparent Images and Labels in Windows Forms   Tags: GUI Graphics

Arcball OpenGL in C#

Arcball (also know as RollerBall) is probably the most intuitive method to view three dimensional objects. The principle of the arcball is based on creating a sphere around the object, and let users to click a point on the sphere and drag it to a different location. There is a bit of math involved of course and you can Google it. The code here is a C# source code implementing an arcball in OpenGL (CsGL to be exact).
28 Mar 2008, 17:04:00   Source: Arcball OpenGL in C#   Tags: Graphics Examples

Texture Transfer using Efros & Freeman's Image Quilting Algorithm

A texture transfer program that implements Efros & Freeman's texture transfer algorithm

Combined Grayscale and Color Images

After growing tired of spending hours zoomed in at 800% magnification using the polygon lasso tool to create combined grayscale and color images in Macromedia Fireworks, I decided that there had to be a better way. Thus I embarked upon creating this application to make my life and hopefully that of others easier.
25 Jan 2008, 11:51:00   Source: Combined Grayscale and Color Images   Tags: Graphics Examples

Simple Column Chart Generator

This article shows how to generate some column chart images for your users on a easy way. You can simply give some arguments to the class library and receive back an image object, or directly save it on hard disk.
18 Jan 2008, 18:02:00   Source: Simple Column Chart Generator   Tags: Graphics Examples

Simple Image Resizing Library

My goals for this library were to make it easy to use, and flexible enough to be used no matter how you store your images (FileSystem, Database, Amazon Web Services, etc). As for the discussion on which way is the "best" way to store images - I'll leave that to someone else. However, anyway you go, there's still some common things you have to think about: resizing images and maintaining aspect ratio, uniqueness of file names, etc.
18 Jan 2008, 17:37:00   Source: Simple Image Resizing Library   Tags: Graphics

Use Transformations to Draw Your Own Great Graphs

Visual Studio comes with a huge number of pre-built components and controls, including controls for entering and displaying text, letting the user pick options and make choices, displaying values graphically, interacting with databases, displaying dialogs, and containing and arranging other controls. But it comes with surprisingly few controls for displaying graphical data. If you don't want to shell out big bucks for a third-party graphing control, you're pretty much stuck drawing your own pictures on a PictureBox.

Fortunately, drawing graphs isn't all that hard. Mostly it's a matter of drawing lines or boxes to connect some data points. The only really tricky details involve translating data values to and from the pixel coordinate system used to draw on the control..

11 May 2007, 15:07:35   Source: Use Transformations to Draw Your Own Great Graphs   Tags: Graphics

Terrific Transformations

Learn how to use .NET transformations to make rotating, stretching, and moving objects simple--even for complex objects such as paths and text.
1 May 2007, 16:16:16   Source: Terrific Transformations   Tags: Graphics

Master .NET's Text Tricks

Learn how to use the Graphics object's methods to draw text in different fonts—clipped, wrapped, aligned, stretched, and rotated in all sorts of ways.
28 Dec 2006, 20:50:09   Source: Master .NET's Text Tricks   Tags: Graphics