VectSharp  2.2.1
A light library for C# vector graphics
VectSharp.Filters.IFilterWithRasterisableParameter Interface Reference

Represents a filter with a parameter that needs to be rasterised at the same resolution as the subject image prior to applying the filter. The FilterWithRasterisableParameter abstract class provides a default implementation of this interface. More...

Inheritance diagram for VectSharp.Filters.IFilterWithRasterisableParameter:

Public Member Functions

void RasteriseParameter (Func< Graphics, Rectangle, double, bool, RasterImage > rasterisationMethod, double scale)
 Rasterises the filter's parameter at the specified scale, using the specified rasterisation method. More...
 

Detailed Description

Represents a filter with a parameter that needs to be rasterised at the same resolution as the subject image prior to applying the filter. The FilterWithRasterisableParameter abstract class provides a default implementation of this interface.

Definition at line 71 of file Filters.cs.

Member Function Documentation

◆ RasteriseParameter()

void VectSharp.Filters.IFilterWithRasterisableParameter.RasteriseParameter ( Func< Graphics, Rectangle, double, bool, RasterImage rasterisationMethod,
double  scale 
)

Rasterises the filter's parameter at the specified scale, using the specified rasterisation method.

Parameters
rasterisationMethodThe method used to rasterise the image. The first argument of this method is the Graphics to be rasterised, the second is a Rectangle representing the region to rasterise, the third is a double representing the scale, and the third is a boolean value indicating whether the resulting RasterImage should be interpolated.
scaleThe scale factor at which the parameter is rasterised.

Implemented in VectSharp.Filters.FilterWithRasterisableParameter.


The documentation for this interface was generated from the following file: