Hi! I'm new to all this. I'm about to finish one plugin that will twist a selection (not just the whole document, like the standard Twist seems to do). So far it works great. It twists up to 360 degrees CW or CCW any elliptical region defined by the rectangle select. Attached is an image showing the effect. I did the twist on a b/w edge, then I lowered the contrast on the twisted part to mark the selection. First parameter is the angle. Second parameter is kind of a smoothness value. 1 means that we have a linear transition from zero to the maximum twist when we move from the edge of the ellipse to the centre. Values above 1 means the twist starts slowly. And 0 means we are rotating the whole ellipse, or actually the image inside the ellipse. I did include anti-aliasing, too.
Enough bragging, back to topic. CodeLab seems to be an excellent tool for writing plugins. But exactly what kind of manuals or references are there? The BoltBait pages seem to cover CodeLab itself. But I'd like to know more about available functions and classes. And more about the interface between the Paint.net document and my plugin script. It's too much guessing when browsing through the example code.