| Home : C# : Articles, Tips & Tutorials : Multimedia |
| Click "Subscribe" if you want to be notified of new or updated links in this category. | Subscribe |
|
Multimedia Listings |
|
Total:
54 | Displaying: 21 - 30 | Pages: 123456 |
|
|
Use Reflection to generate a complete HatchStyle chart
|
Website
Refer
Review It
|
While doing our ASPChart.Net project we wanted to add support for hatched backgrounds. So we decided to generate a chart that will show us what all HatchStyle values defined in the enumeration look like. So this time we decided to use the same concepts of reflection to get the complete list of HatchStyle values and generate the chart...
Updated: 01/25/2004
|
|
Combining GDI and GDI to Draw Rubber Band Rectangles
|
Website
Refer
Review It
|
I have been frustrated, like many others apparently, by the lack of XOR drawing capabilities in the .NET Framework. This is of particular interest when it’s needed to outline a selected Region of Interest in a graphic. I’ve seen several approaches to solve this problem that have, for the most part, stayed within the .NET Framework context, but they were fairly complex. Thus, I was inspired when I saw the article `Using GDI and GDI mixed drawing rubber band lines` by sedatkurt in the MFC/C >> GDI >> Unedited Reader Contributions in The CodeProject. I was sure it could be extended to rectangles as well...
Updated: 01/25/2004
|
|
Spheres in GDI
|
Website
Refer
Review It
|
During the development of a videogame skeleton, one of my biggest concerns was the drawing of a large interstellar map. Since it was just a skeleton, implementing 3D graphics with OpenGL or Direct3D was not an option. I soon discovered that GDI could very well fit to my needs. Next I had to face mainly two issues...
Updated: 01/25/2004
|
|
How to implement Alpha blending
|
Website
Refer
Review It
|
An Alpha effect is something that you definitely have seen, though may be unknowingly. It`s a simple but effective visual effect where images or text fade in or out to a solid background or an image. You probably have come across it if you have used Macromedia® Flash®. It`s an effect that has been used extensively in movies, television programs, games and almost any visual media that exists. It`s so common that it goes unnoticed...
Updated: 01/25/2004
|
|
|
Fading an Image Away
|
Website
Refer
Review It
|
While working on my new project (chronology control) I needed the ability to differentiate between more and less important parts of data. My idea was to put more important parts of data to the center of screen and have less important part fade away...
Updated: 01/25/2004
|
|
Image Processing for Dummies with C# and GDI Part 4
|
Website
Refer
Review It
|
Well, this is the fourth installment in the series, and I thank you for sticking around this long. I am wanting to do some groundwork for a future article, which will be involved enough that I didn`t want to add bilinear filtering to the mix at that stage, so I`m covering it here. In a nutshell, bilinear filtering is a method of increasing the accuracy with which we can select pixels, by allowing the selection of pixels in between the ones we draw. Honest!!! To illustrate it`s effect, we are going to write a resize filter first, then we are going to add a bilinear filter to see the effect it has on the final result...
Updated: 01/25/2004
|
|
Bypass Graphics.MeasureString limitations
|
Website
Refer
Review It
|
Graphics.MeasureString can be used to compute the height and width of a text string. Often, however, the dimensions returned do not match the size of what gets drawn on screen when calling Graphics.DrawString. The red box above shows the dimensions returned by Graphics.MeasureString, which is about an em too wide...
Updated: 01/25/2004
|
|
Image Processing for Dummies with C# and GDI Part 1
|
Website
Refer
Review It
|
The purpose of the series will be to build a class that allows any C# programmer access to common, and not so common, image processing functionality. The reason we are doing it in C# is simply that I want to learn it, but the functionality we use is available through GDI in C , and indeed the code to do the same thing using a DIBSECTION is not terribly different. This first article will focus on per pixel filters, in other words, filters that apply the same algorithm to each pixel `in place` with no regard for the values in any other pixels. You will see as we progress that the code becomes somewhat more complex when we start moving pixels or changing values based on calculations that take into account surrounding pixel values...
Updated: 01/25/2004
|
|
Image Processing for Dummies with C# and GDI Part 3
|
Website
Refer
Review It
|
Welcome back. This is probably goign to be the last in this series for a while, I want to focus on some other things to learn some more C#, and come back to this when I have some more time.
This article will focus on one of the most common image processing tasks, detecting edges. We will look at a number of ways to do this, and also look at one use for such information, an edge enhance filter. We will start with what we know from the last article, using convolution filters to detect edges...
Updated: 01/25/2004
|
|