Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello

I declared a "Graphic" object and set its "Smooth" Property to "AntiAlias".

You can see result in this link:

چطور میتونم ترسیم Smooth در شیء Graphic داشته باشم؟[^]

Drawing arc with black color is smooth but white region is not smooth. how can I create region with smooth arc?

thank you

What I have tried:

Nothing comes to my mind to create smooth arc in region
Posted
Updated 3-Feb-17 8:01am
v2

1 solution

1) You did not mention the framework being used, which makes it almost impossible to even recreate the problem. "graphics" is not any hint at all, GDI+, .NET Drawing namespace, WPF etc, might have helped.

2) You should post the image on some online platform, such as imgur etc, and then share that link. Your current links transfers us to some Arabic-Persian site that majority of us do not understand, and even there is requires us to create an account.

Finally, the antialiasing is the best approach to this scenario. You set the entire graphics object to antialias and then it does its best to sample each pixel more than once to generate a gradient around it. You should set it to entire graphics, to have background and foreground antialiased.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900