Skip to content

IImageFilterContext.LogicalToPixelScaleX property

Conversion factor from filter input coordinates (logical/DIP) to source-layer pixel coordinates along X. Matches the effective scale at which the input was rasterized into Source (= user transform x DPI for image filters). Executors multiply per-axis filter parameters specified in input units (Blur sigma, Offset dx) by this factor before applying GPU/CPU passes so that filter radii track the current transform.

public double LogicalToPixelScaleX { get; }