Jump to content

Paint.NET Object Model!


Recommended Posts

If we had any such diagrams or documentation, we'd include it with the source code we distribute. Unfortunately, we obviously don't have anything like this to give you.

The problem with documentation of this kind is that it's immediately out of date. Adding new features or implementing new optimizations can radically change the code and design, at which point the documentation would have to be painstakingly poured over and/or rewritten. It's not fun stuff, and we're fortunate to have a project where we get to veto doing stuff that's not fun ;)

That's not to say we won't have documentation of this kind eventually. Right now is a bad time to write it though, since v2.2 is currently in development and undergoing major changes to achieve our goals. Maybe after 2.2, we'll see.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

There's a pane called Class View.

Asides from that, the closest you can get to a good source code documentation is:

///

/// description of the method/function

///

void DoSomething()

{

DoNothing(); // description of this line of code

return; // Return control from this method to the calling method

}

Safe C# is inefficient… Optimize code… Hmm… These pointers and API calls are so confusing.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...