Click or drag to resize

PdfiumFPDFShadingPattern_SetAntiAlias Method

Set a flag indicating whether to filter the shading function to prevent aliasing artifacts.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFShadingPattern_SetAntiAlias(
	IntPtr shadding_pattern,
	bool bAntiAlias
)

Parameters

shadding_pattern  IntPtr
The handle to the shading pattern.
bAntiAlias  Boolean
A flag

Return Value

Boolean
true if antialiasing is applied.
Remarks
The shading operators sample shading functions at a rate determined by the resolution of the output device. Aliasing can occur if the function is not smooth—that is, if it has a high spatial frequency relative to the sampling rate.Anti-aliasing can be computationally expensive and is usually unnecessary, since most shading functions are smooth enough or are sampled at a high enough frequency to avoid aliasing effects. Anti-aliasing may not be implemented on some output devices, in which case this flag is ignored.
See Also