Pixelated Region

barski

Junior Contributor
Joined
Apr 7, 2002
Messages
240
Location
Tennessee
Does anyone have any tips on how to avoid Pixelation issues when drawing controls and setting the Region? Drawing with smooth curves is easy thanks to the .Net libraries but it appears that Region property doesn't carry these settings forward hence I get stair step looking curves.

Any help would be greatly appreciated I've been tickering with this for several hours now.
 
Are you looking for anti-aliasing of the region (i.e. are you looking to have the edges of the control alpha-blended)? If so, DotNet doesn't have built-in support for such a feature. I don't know what kind of control you are dealing with, but if it is a custom control, you may be able to simulate the effect by doing custom rendering with an alpha-blended image instead of using regions.
 
Back
Top