CustomFilterBase Members

Include Protected Members
Include Inherited Members

The CustomFilterBase type exposes the following members.

Constructors

  Name Description
Protected method CustomFilterBase
Creates and initializes CustomFilterBase.

Methods

  Name Description
Protected method CreateSessionState
Called when a new filter session is created. If the filter overrides this method, it should return an object representing session state that is specific to the filter. It can then access this object using the SessionState property from within OnProcess(PixelRegion, PixelRegion).
Public method Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected method Dispose(Boolean)
Called by the Dispose() method.
Protected method OnPrepareAsync
Called when the filter should load and prepare for rendering.
Protected method OnProcess
Called when the filter is asked to process a rectangular area of the image.

Properties

  Name Description
Protected property AcceptedColorMode
The color mode used, from one of the supported ones.
Protected property ImageSize
The size of the entire image.
Protected property SessionState
Session state. If the filter has overridden the CreateSessionState() method, this property holds the object corresponding to the current session.

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICustomFilter.BeginProcessing
Called when the block-based rendering is about to begin, or new source/target buffers are requested.
Explicit interface implemetationPrivate method ICustomFilter.PrepareAsync
Load/prepare for processing.
Explicit interface implemetationPrivate method ICustomFilter.ProcessBlock
Called when a rectangular block in the image should be processed.
Explicit interface implemetationPrivate method ICustomFilter2.CreateSession
Create a new filter session.
Explicit interface implemetationPrivate method IFilter.Apply
Internal framework method.
Explicit interface implemetationPrivate method IFilter.Lock
Internal framework method.
Explicit interface implemetationPrivate method IFilter.PrepareAsync
Internal framework method.

See Also

CustomFilterBase Class

Lumia.Imaging.Custom Namespace