adaptive_supersample_area


Description:


public ulong adaptive_supersample_area (int x1, int y1, int x2, int y2, int max_depth, double threshold, RenderFunc render_func, PutPixelFunc put_pixel_func, ProgressFunc progress_func)

Parameters:

x1

left x coordinate of the area to process.

y1

top y coordinate of the area to process.

x2

right x coordinate of the area to process.

y2

bottom y coordinate of the area to process.

max_depth

maximum depth of supersampling.

threshold

lower threshold of pixel difference that stops supersampling.

render_func

function calculate the color value at given coordinates.

put_pixel_func

function to a pixels to a color at given coordinates.

progress_func

function to report progress.

progress_data

user data passed to progress_func.

put_pixel_data

user data passed to put_pixel_func.

render_data

user data passed to render_func.

Returns:

the number of pixels processed.


Namespace: Gimp
Package: gimp-3.0