VectSharp
2.2.1
A light library for C# vector graphics
|
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...
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... | |
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.
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.
rasterisationMethod | The 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. |
scale | The scale factor at which the parameter is rasterised. |
Implemented in VectSharp.Filters.FilterWithRasterisableParameter.