Namespace PaintDotNet
发布时间:2026-09-23 | 浏览:1
Defines a way to operate on a pixel, or a region of pixels, in a binary fashion. That is, it is a simple function F that takes two parameters and returns a result of the form: c = F(a, b)
Provides a standard implementation of IDisposable and IIsDisposed.
The purposes of these methods is based on the fact that any method that throws an exception is not a candidate for inlining. Instead, you can call a method in this class which may then allow the calling method to be inlined.
A helper class for creating a string to use for the FilterText property of an OpenFileDialog or SaveFileDialog.
Declares an EventArgs type for an event that needs a single integer, interpreted as an index, as event information.
Manages an arbitrarily sized block of memory. You can also create child MemoryBlocks which reference a portion of the memory allocated by a parent MemoryBlock. If the parent is disposed, the children will not be valid.
This is the base class for all Forms in Paint.NET.
Designed as a proxy to the GDI+ Region class, while allowing for a replacement that won't break code. The main reason for having this right now is to work around some bugs in System.Drawing.Region, especially the memory leak in GetRegionScans().
Encapsulates the arguments passed to a Render function. This way we can do on-demand and once-only creation of Bitmap and Graphics objects from a given Surface object.
Implements a BGRA32 bitmap used by classic/legacy plugins.
Defines a way to operate on a pixel, or a region of pixels, in a unary fashion. That is, it is a simple function F that takes one parameter and returns a result of the form: d = F(c)
Provides a set of standard UnaryPixelOps.
Averages the input color's red, green, and blue channels. The alpha component is unaffected.
Blends pixels with the specified constant color.
Always returns a constant color.
Passes through the given color value. result(color) = color
Inverts a pixel's color, and passes through the alpha component.
Inverts a pixel's color and its alpha component.
Specialization of SetChannel that sets the alpha channel.
Specialization of SetAlphaChannel that always sets alpha to 255.
Used to set a given channel of a pixel to a given, predefined color. Useful if you want to set only the alpha value of a given region.
Simply sets a control's Cursor to the WaitCursor (hourglass) on creation, and sets it back to its original setting upon disposal.
Defines a 32-bit BGRA color value. This is mostly used by legacy "classic" plugins, and is has been superceded by ColorBgra32 .
A struct containing two elements.
Affords the traversal of a large memory region (64-bit length) in terms of ReadOnlySpan.
Affords the traversal of a large memory region (64-bit length) in terms of Span.
Implemented by interfaces that may be consumed publicly but only implemented internally.
Provides an interface for the methods that UnaryPixelOp and BinaryPixelOp share. For UnaryPixelOp, this produces the function, "dst = F(src)" For BinaryPixelOp, this produces the function, "dst = F(dst, src)"
Specifies the unit of measure for the given data.
Declares a delegate type for an event that needs a single integer, interpreted as an index, as event information.