cureos / aforge

PCL version of AForge.NET Framework, https://code.google.com/p/aforge/
Other
125 stars 96 forks source link

Make classes and methods in Shim.System.Drawing internal #8

Closed anders9ustafsson closed 10 years ago

anders9ustafsson commented 10 years ago

As highlighted in issue #7, the classes and methods in the Shim.System.Drawing library are primarily provided for compatibility reasons to secure proper building of the AForge.NET and Accord.NET imaging based libraries.

The majority of classes and methods in Shim.System.Drawing are not intended to be directly used in end-user application code, for regular type of image manipulation you are instead advised to use methods readily available for BitmapSource and its descendants, such as WriteableBitmap.

To avoid further confusion around these issues, it would be better to declare internal those classes and methods in Shim.System.Drawing that should not be used externally, and make InternalsVisibleTo the relevant AForge.NET and Accord.NET libraries.