Skip to content
ChartForgeX
Class

SvgRasterFilterOptions

ChartForgeX.SvgRaster

Namespace
ChartForgeX.SvgRaster
Assembly
ChartForgeX
Modifiers
sealed

Explicitly enables bounded native-filter source memberships on one rasterization.

Inheritance

  • object
  • SvgRasterFilterOptions

Remarks

Ordered SourceGraphic/SourceAlpha and earlier named results support finite color matrices, component transfer, flood, Gaussian blur, morphology, aligned offset, standard blend, over/in/out/atop/xor/arithmetic composition and ordered merge. Named results retain premultiplied RGBA16 and their computed sRGB/linearRGB space. Only RGB transfers at consumer space changes; every primitive clamps, alpha stays coverage, and zero-alpha RGB is discarded. Existing exact byte/scalar/typed recipe paths remain. Regions require explicit aligned numeric user-space filter lengths and positive axis transforms. Primitive output regions clip results. The Gaussian reuses the native three-box approximation; this is not an exact Gaussian or browser-byte identity contract. Solid SourceGraphic descendants may use existing isolated opacity; nested filters, transforms, viewports, images and paint servers retain diagnostics. Backdrop/paint built-ins, authored filter resolution and unrepresented primitives remain unsupported. Null options retain ordinary SFR002 behavior. Stage count shares existing source, work, cumulative byte and cancellation limits; one applied sequence is one filter application.

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public SvgRasterFilterOptions(int maximumApplications = 16, long maximumWorkSamples = 1000000000, long maximumLiveBytes = 268435456, CancellationToken cancellationToken = default) #

Creates immutable, per-document native-filter import limits and a cooperative cancellation token.

Parameters

maximumApplications int = 16 optional
Maximum applied instances, including use instances and embedded SVG documents; 1 through 16.
maximumWorkSamples long = 1000000000 optional
Counted effect/capture sample visits, at most one billion; not a duration bound.
maximumLiveBytes long = 268435456 optional
Conservative cumulative declared pixel arrays, at most 256 MiB; not process RSS.
cancellationToken System.Threading.CancellationToken = default optional
Checked at document/element boundaries, capture rows, existing kernel rows and before publishing pixels.

Properties

public int MaximumApplications { get; } #

Gets the document-wide instance limit; a reused definition is charged for each painted instance.

public long MaximumWorkSamples { get; } #

Gets the conservative cumulative explicit sample-visit ceiling.

public long MaximumLiveBytes { get; } #

Gets the conservative declared-pixel-array ceiling; encoder, XML, font and geometry allocations retain their own owners.

public CancellationToken CancellationToken { get; } #

Gets cancellation observed by the opt-in import path.