Table of Contents

Namespace PaintDotNet.Effects.Gpu

Classes

GpuDrawingEffect

The base class for Direct2D GPU effects that use drawing commands (e.g. DrawBitmap, FillRectangle).

GpuDrawingEffectOptions
GpuDrawingEffectOptionsFactory
GpuDrawingEffect<TToken>
GpuEffect

The base class for Direct2D GPU effects. This class is for advanced scenarios. You should probably derive from GpuImageEffect/PropertyBasedGpuImageEffect or GpuDrawingEffect/PropertyBasedGpuDrawingEffect.

GpuEffect2
GpuEffectColorContext

Secifies the color space that a GpuEffect performs its rendering in. Input images will be converted to this color space, and the output of the effect will then be converted back to the working space of the source image.

GpuEffectOptions
GpuEffectOptionsFactory
GpuEffect<TToken>
GpuImageEffect

The base class for Direct2D GPU effects that are based on Direct2D's imaging/effects system. For effects that want to be based on drawing commands (e.g. DrawBitmap, FillRectangle), GpuDrawingEffect (or PropertyBasedGpuDrawingEffect) is probably the right choice instead of this class.

GpuImageEffectOptions
GpuImageEffectOptionsFactory
GpuImageEffect<TToken>

The base class for Direct2D GPU effects. This class is for advanced scenarios. You should probably derive from GpuImageEffect/PropertyBasedGpuImageEffect or GpuDrawingEffect/PropertyBasedGpuDrawingEffect.

GpuObjectRefExtensions
PdnAddNoiseEffect

A Direct2D effect that renders Paint.NET's Add Noise effect.

PdnAddNoiseEffect.Props
PdnAutoLevel

Contains methods that enable the calculation of auto-leveling values for use with PdnLevelsEffect.

PdnBrightnessContrastEffect

A Direct2D effect that operates the same as Paint.NET's built-in Brightness & Contrast adjustment.

PdnBrightnessContrastEffect.Props
PdnBulgeEffect

Provides Paint.NET's Bulge effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnBulgeEffect.Props
PdnCloudsEffect

A Direct2D effect that renders Paint.NET's Clouds effect.

PdnCloudsEffect.Props
PdnCrystalizeEffect

Provides Paint.NET's Crystalize effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnCrystalizeEffect.Props
PdnDentsEffect

Provides Paint.NET's Dents effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnDentsEffect.Props
PdnDistortionEffect

The base class for Paint.NET distortion effects.

PdnDistortionEffect.Props
PdnDropShadowEffect

A Direct2D effect that operates the same as Paint.NET's built-in Drop Shadow effect.

PdnDropShadowEffect.Props
PdnEmbossEffect

A Direct2D effect that renders Paint.NET's Emboss effect.

PdnEmbossEffect.Props
PdnFragmentEffect

A Direct2D effect that operates the same as Paint.NET's built-in Fragment effect.

PdnFragmentEffect.Props
PdnFrostedGlassEffect
PdnFrostedGlassEffect.Props
PdnGlowEffect

A Direct2D effect that operates the same as Paint.NET's built-in Glow effect.

PdnGlowEffect.Props
PdnHalftoneEffect

A Direct2D effect that renders Paint.NET's Halftone effect: the continuous tone is thrown away and replaced by a grid of shapes whose size carries the tone, the way print and comic art are reproduced with a limited number of inks.

PdnHalftoneEffect.Props
PdnHueSaturationLightnessEffect

A Direct2D effect that adjusts hue, saturation, and lightness in the same manner as Paint.NET's built-in Hue & Saturation adjustment.

PdnHueSaturationLightnessEffect.Props
PdnInkSketchEffect

A Direct2D effect that renders Paint.NET's Ink Sketch effect.

PdnInkSketchEffect.Props
PdnJuliaFractalEffect

A Direct2D effect that renders a Julia fractal.

PdnJuliaFractalEffect.Props
PdnLevelsEffect

A Direct2D effect that can move and stretch the brightness and contrast levels of an image.

PdnLevelsEffect.Props
PdnLinocutEffect

A Direct2D effect that renders Paint.NET's Linocut effect: the continuous tone is replaced by a train of carved parallel lines whose width tracks the local tone, the way a linocut, woodcut or steel engraving reproduces a picture with a single ink and a single blade.

PdnLinocutEffect.Props
PdnMandelbrotFractalEffect
PdnMandelbrotFractalEffect.Props
PdnMosaicEffect

A Direct2D effect that renders Paint.NET's Mosaic effect. The image is cut up into tiles in one of the shapes named by PdnMosaicTileShape - from a plain square grid through bricks, weaves, and geometric tilings to seed-packed tetrominoes and the aperiodic Penrose rhombi - each tile is flooded with a single color, the seams between tiles are drawn over in a solid grout color, and each tile is beveled up away from that grout.

PdnMosaicEffect.Props
PdnMotionBlurEffect

A Direct2D effect that operates the same as Paint.NET's Motion Blur effect.

PdnMotionBlurEffect.Props
PdnOilPaintingEffect

A Direct2D effect that implements Paint.NET's Oil Painting effect.

PdnOilPaintingEffect.Props
PdnOrderedDitherEffect

A Direct2D effect that implements Paint.NET's built-in Ordered Dither effect. It reduces each channel to a small number of evenly spaced levels, using a threshold matrix tiled across the canvas to decide which way each pixel rounds.

PdnOrderedDitherEffect.Props
PdnOutlineEffect
PdnOutlineEffect.Props
PdnPencilSketchEffect

A Direct2D effect that renders Paint.NET's Pencil Sketch effect.

PdnPencilSketchEffect.Props
PdnPixelateEffect

A Direct2D effect that operates the same as Paint.NET's Pixelate effect.

PdnPixelateEffect.Props
PdnPointillismEffect

A Direct2D effect that renders Paint.NET's Pointillism effect: the image is rebuilt out of small opaque dots of unmixed color laid down on a bare ground, the way a pointillist canvas is built out of separate touches of pigment rather than out of blended paint.

PdnPointillismEffect.Props
PdnPolarInversionEffect

Provides Paint.NET's Polar Inversion effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnPolarInversionEffect.Props
PdnRadialBlurEffect

Provides Paint.NET's Radial Blur effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnRadialBlurEffect.Props
PdnReduceNoiseEffect

A Direct2D effect that renders Paint.NET's built-in Reduce Noise effect.

PdnReduceNoiseEffect.Props
PdnReliefEffect

A Direct2D effect that operates the same as Paint.NET's Relief effect.

PdnReliefEffect.Props
PdnRotateZoomEffect

Provides Paint.NET's Rotate/Zoom effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnRotateZoomEffect.Props
PdnSketchBlurEffect

A Direct2D effect that renders Paint.NET's Sketch Blur effect.

PdnSketchBlurEffect.Props
PdnSoftenPortraitEffect

A Direct2D effect that operates the same as Paint.NET's built-in Soften Portrait effect.

PdnSoftenPortraitEffect.Props
PdnSpherizeEffect

Provides Paint.NET's Spherize effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnSpherizeEffect.Props
PdnStainedGlassEffect

A Direct2D effect that renders Paint.NET's Stained Glass effect. The image is broken into Voronoi cells around a jittered lattice of feature points, each cell is flooded with the single color found at its own feature point, and the seams between cells are drawn over in a solid lead color with the glass beveled up away from them.

PdnStainedGlassEffect.Props
PdnSurfaceBlurEffect

A Direct2D effect that renders Paint.NET's built-in Surface Blur effect.

Surface Blur is a bilateral filter that blurs the image while preserving sharp details and edges.

PdnSurfaceBlurEffect.Props
PdnTileReflectionEffect

Provides Paint.NET's Tile Reflection effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnTileReflectionEffect.Props
PdnTwistEffect

Provides Paint.NET's Twist effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnTwistEffect.Props
PdnVignetteEffect

A Direct2D effect that operates the same as Paint.NET's built-in Vignette effect.

PdnVignetteEffect.Props
PdnWavesEffect

Provides Paint.NET's Waves effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnWavesEffect.Props
PdnZoomBlurEffect

Provides Paint.NET's Zoom Blur effect as a DynamicEffect that can be used for rendering with Direct2D.

PdnZoomBlurEffect.Props
PropertyBasedGpuDrawingEffect

The base class for Direct2D GPU effects that use drawing commands (e.g. DrawBitmap, FillRectangle) and that also use IndirectUI.

PropertyBasedGpuEffect

The base class for Direct2D GPU effects that use IndirectUI. This class is for very advanced scenarios. You should probably derive from GpuImageEffect, PropertyBasedGpuImageEffect, GpuDrawingEffect, or PropertyBasedGpuDrawingEffect.

PropertyBasedGpuImageEffect

The base class for Direct2D GPU effects that are based on Direct2D's imaging/effects system and that also use IndirectUI. For effects that want to be based on drawing commands (e.g. DrawBitmap, FillRectangle), GpuDrawingEffect or PropertyBasedGpuDrawingEffect is probably the right choice instead of this class.

Structs

PdnRotateZoomEffect.RollPropertyAccessor

Interfaces

IGpuDrawingEffect
IGpuDrawingEffectOptions
IGpuDrawingEffectRenderInfo
IGpuEffect
IGpuEffect2
IGpuEffectDocumentInfo
IGpuEffectDocumentInfo2
IGpuEffectEnvironment
IGpuEffectEnvironment2
IGpuEffectImage

This is the base interface for GPU images that are accessible from a GPU effect's environment (IGpuEffectEnvironment2).

IGpuEffectInputImage
IGpuEffectLayerInfo
IGpuEffectLayerInfo2
IGpuEffectOptions
IGpuEffectRenderInfo
IGpuEffectSelectionInfo
IGpuEffectSelectionInfo2
IGpuImageEffect
IGpuImageEffectOptions
IGpuImageEffectRenderInfo
IReadOnlyGpuDrawingEffectRenderInfo
IReadOnlyGpuEffectRenderInfo
IReadOnlyGpuImageEffectRenderInfo

Enums

GpuEffectAlphaMode
GpuEffectRenderingFlags
InspectTokenAction
PdnAddNoiseAlphaMode
PdnBrightnessContrastAlphaMode
PdnBrightnessContrastInputGamma
PdnCloudsAlphaMode
PdnDistortionAlphaMode
PdnDistortionEdgeMode
PdnDistortionSamplingMode
PdnDropShadowAlphaMode
PdnDropShadowOptimization
PdnEmbossAlphaMode
PdnFragmentAlphaMode
PdnGlowAlphaMode
PdnHalftoneAlphaMode
PdnHalftoneColorMode

Specifies the set of inks the Halftone effect screens an image with.

PdnHalftonePattern

Specifies the shape that the Halftone effect lays down in each cell of its screen. Every pattern is amplitude modulated: the cells are always the same size and sit on the same grid, and it is the amount of the cell that gets inked which carries the tone.

PdnHueSaturationLightnessAlphaMode
PdnInkSketchAlphaMode
PdnJuliaFractalAlphaMode
PdnLevelsAlphaMode
PdnLinocutAlphaMode
PdnLinocutLineMode

Specifies how the Linocut effect orients the train of carved lines that carries the tone.

PdnMandelbrotFractalAlphaMode
PdnMosaicAlphaMode
PdnMosaicTileColorMode

Specifies how the Mosaic effect chooses the single flat color of each tile from the pixels the tile covers.

PdnMosaicTileShape

Specifies the shape of the tiles the Mosaic effect lays down.

PdnMotionBlurAlphaMode
PdnMotionBlurEdgeMode
PdnMotionBlurKernelType

Specifies the kernel that is used for blurring.

PdnOilPaintingAlphaMode
PdnOilPaintingEdgeMode
PdnOilPaintingKernelShape
PdnOrderedDitherAlphaMode
PdnOrderedDitherMatrix

Specifies the threshold matrix that an ordered dither uses for tiling across the image.

PdnOutlineAlphaMode
PdnOutlineEdgeMode
PdnPencilSketchAlphaMode
PdnPixelateAlphaMode
PdnPixelateInterpolationMode
PdnPointillismAlphaMode
PdnRadialBlurAlphaMode
PdnReduceNoiseAlphaMode
PdnReduceNoiseEdgeMode
PdnReliefAlphaMode
PdnSketchBlurAlphaMode
PdnSketchBlurEdgeMode
PdnSoftenPortraitAlphaMode
PdnStainedGlassAlphaMode
PdnStainedGlassCellColorMode

Specifies how the Stained Glass effect samples the single flat color of each cell from the pixels the pane covers.

PdnSurfaceBlurAlphaMode
PdnSurfaceBlurEdgeMode
PdnVignetteAlphaMode
PdnVignetteInputGamma
PdnWavesPattern

Specifies how PdnWavesEffect arranges its wavefronts, and which direction it displaces the image in.

PdnWavesWaveform

Specifies the shape of the wave that PdnWavesEffect uses to displace the image.

PdnZoomBlurAlphaMode