O'Reilly logo

Graphics Programming with GDI+ by Mahesh Chand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9.7. Miscellaneous Advanced 2D Topics

So far in this chapter, we have covered line caps and line styles, graphics paths, graphics containers, graphics container states, color blending and alpha blending, and the use of linear and path gradient brushes. The System.Drawing.Advanced2D namespace contains topics that don’t fall into any of these categories. In this section we will cover a few of these topics:

  • Region data

  • The SmoothingMode enumeration

  • The PixelOffsetMode enumeration

9.7.1. Region Data

Sometimes we need to get and set a region’s data or create a Region object from an array of bytes. A region’s data is an array of bytes that specify the region. The RegionData class can be used to read or write the array. This class has only one property, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required