Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

  • Leaders
Posted
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.
[sIGPIC]e[/sIGPIC]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...