|
modemodegets/sets the type of 2D filterType: integer -2 =
RAS_2DFILTER_ENABLED (enable the filter that was
previously disabled)
-1 = RAS_2DFILTER_DISABLED (disable the filter that is currently active) 0 = RAS_2DFILTER_NOFILTER (disable and destroy the filter that is currently active) 1 = RAS_2DFILTER_MOTIONBLUR (create and enable preset filters) 2 = RAS_2DFILTER_BLUR 3 = RAS_2DFILTER_SHARPEN 4 = RAS_2DFILTER_DILATION 5 = RAS_2DFILTER_EROSION 6 = RAS_2DFILTER_LAPLACIAN 7 = RAS_2DFILTER_SOBEL 8 = RAS_2DFILTER_PREWITT 9 = RAS_2DFILTER_GRAYSCALE 10 = RAS_2DFILTER_SEPIA 11 = RAS_2DFILTER_INVERT 12 = RAS_2DFILTER_CUSTOMFILTER Sample
Code
|