Browse by Tags

All Tags » Quick Tips » GDI+ (RSS)

Math Installment #4: Bounding Regions

There may already be a few entries on bounding regions that I posted many months ago. At one point I think I described some different types of bounding region scenarios including strict and relaxed fit scenarios. To add some math to this a strict region...
Posted by Justin Rogers | with no comments

Math Installment #3: A quick look at wavy text

[ Sample Download on Project Distributor ] I previously covered laying out text along a linear path and a circular path. You can view that code here Math Installment #2: I needed some circular oriented text . I'll be referencing the code so you really...
Posted by Justin Rogers | 3 comment(s)
Filed under: , ,

Math Installment #2: I needed some circular oriented text

[ Sample Download on Project Distributor ] Okay, back with math installment #2... This time I needed some circular oriented text, or rather I needed some path oriented text, but that code is much harder so I'm starting with something a bit easier. There...
Posted by Justin Rogers | 7 comment(s)
Filed under: , ,

Math Installment #1: Image layout logic

Turns out most of the code I write that does deal with math is layout code in order to manage how a number of assets, whether it be controls or graphics, is rendered to the screen. Over the past couple of days the kind of code I have been writing is in...
Posted by Justin Rogers | 5 comment(s)
Filed under: , ,

Watch out for "Power Toys", sometimes you get more than you bargained for.

Okay, so I was checking out the VB PowerToys, and I have to say they are kind of nice. I can always appreciate a free download especially if it saves me some time. However, you don't reinvent the wheel when creating a new component and then append the...
Posted by Justin Rogers | 1 comment(s)
Filed under: , ,

Processing extended meta-data properties on images can be a pain, especially with no enumerations.

Last week I mentioned that XSLT generally comes to my rescue and makes my life easy when I least expect it. This happens to be the case yet again as I turn an MSDN html page into an actual enumeration. I did do a copy and paste of just the table out of...
Posted by Justin Rogers | with no comments
Filed under: ,

Fast Image Loading without asking for the hot-fix or waiting for the service pack...

Omar Shahine is doing some great work on his JPEG Hammer application. He talks about finding some hot-fixes for the System.Drawing.Image class that provide overloads for disabling image verification. While this is inherently unsafe, and you now have to...

What does it take to make an Asynchronously drawn ListBox in Windows Forms?

Yeah, yeah, it's been done I'm sure, but I still ran into the problem when making my own picture viewer. The basic issues were thumbnailing images to be displayed in the owner-drawn ListBox while still allowing the UI to respond to the user. Then making...

Putting your WinForms graphics into a sleep state...

While helping someone with a DirectX problem I came across what I think might be a neat feature for Windows Forms. You can always gamma correct your UI to a lower brightness value by layering a transparent black from over the top. This as mentioned in...
Posted by Justin Rogers | 1 comment(s)
Filed under: , ,
More Posts