Tag Archives: antialiasing

Fix rectangle SmoothingMode problems in C#

This example explains how to fix a rather obscure SmoothingMode problem. If you look closely at the PictureBox on the right in the picture, you’ll see that its top and leftmost pixels are not the same color as the rest … Continue reading

Posted in drawing, graphics | Tagged , , , , , , , , , | Leave a comment

Fill a shape with random lines in C#

Click and drag to draw a shape. When you release the mouse, the program closes the shape and fills it with random line segments. The following code shows how the program lets you draw a shape. // The points selected … Continue reading

Posted in drawing, graphics | Tagged , , , , , , , , , , , , , , , | Leave a comment