 | PdfiumFPDFShadingPattern_GetAntiAlias Method |
Get a flag indicating whether to filter the shading function to prevent aliasing artifacts.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingPattern_GetAntiAlias(
IntPtr shadding_pattern
)
Public Shared Function FPDFShadingPattern_GetAntiAlias (
shadding_pattern As IntPtr
) As Boolean
public:
static bool FPDFShadingPattern_GetAntiAlias(
IntPtr shadding_pattern
)
static member FPDFShadingPattern_GetAntiAlias :
shadding_pattern : IntPtr -> bool
public static boolean FPDFShadingPattern_GetAntiAlias(
IntPtr shadding_pattern
)
Patagames.Pdf.Pdfium.FPDFShadingPattern_GetAntiAlias = function(shadding_pattern);
Parameters
- shadding_pattern IntPtr
- The handle to the shading pattern.
Return Value
Booleantrue 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