diff --git a/docs/documentation/api.html b/docs/documentation/api.html index b351d49..977711c 100644 --- a/docs/documentation/api.html +++ b/docs/documentation/api.html @@ -847,7 +847,7 @@

Inputs:

voidgiza_rectangle_rounded_float (float x1, float x2, float y1, float y2, float radius) ;

Same functionality as giza_rectangle_rounded but takes floats

See Also:

giza_rectangle_rounded

giza_render

-
voidgiza_render (int sizex, int sizey, const double* data, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, const double *affine) ;

Renders data to the device.

+voidgiza_render (int sizex, int sizey, const double* data, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, int filter, const double *affine) ;

Renders data to the device.

Input:

@@ -870,6 +870,8 @@

Input:

+ +
sizex :The dimensions of data in the x-direction
extend :Option for how to deal with image at edges
filter :Option for how to interpolate between pixels (since v1.5)
affine :The affine transformation matrix that will be applied to the data.

Allowed extend settings:

@@ -880,30 +882,43 @@

Input:

+
2 or GIZA_EXTEND_REFLECT :reflective boundary
3 or GIZA_EXTEND_PAD :pad by extending last few pixels

Allowed filter settings (from cairo_filter_t):

+ + + + + + + + + + + +
0 or GIZA_FILTER_DEFAULT :default, usually bilinear interpolation
1 or GIZA_FILTER_FAST :a high performance filter with quality similar to GIZA_FILTER_NEAREST
2 or GIZA_FILTER_GOOD :a reasonable-performance filter, with quality similar to GIZA_FILTER_BILINEAR
3 or GIZA_FILTER_BEST :highest quality available, performance may not be suited for interactive use
4 or GIZA_FILTER_NEAREST :Nearest-neighbour filtering
5 or GIZA_FILTER_BILINEAR :Linear interpolation in two dimensions

See Also:

giza_set_colour_table

giza_render_transparent

-
voidgiza_render_transparent (int sizex, int sizey, const double* data, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, const double *affine) ;

Same as giza_render, but data < valMin rendered as transparent

+voidgiza_render_transparent (int sizex, int sizey, const double* data, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, int filter, const double *affine) ;

Same as giza_render, but data < valMin rendered as transparent

giza_render_alpha

-
voidgiza_render_alpha (int sizex, int sizey, const double* data, const double* alpha, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, const double *affine) ;

Same as giza_render, but uses additional array specifying transparency of each pixel

+voidgiza_render_alpha (int sizex, int sizey, const double* data, const double* alpha, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, int filter, const double *affine) ;

Same as giza_render, but uses additional array specifying transparency of each pixel

giza_render_float

-
voidgiza_render_float (int sizex, int sizey, const float* data, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, const float *affine) ;

Same functionality as giza_render but takes floats.

+voidgiza_render_float (int sizex, int sizey, const float* data, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, int filter, const float *affine) ;

Same functionality as giza_render but takes floats.

See Also:

giza_render

giza_render_transparent_float

-
voidgiza_render_transparent_float (int sizex, int sizey, const float* data, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, const float *affine) ;

Same functionality as giza_render_transparent but takes floats.

+voidgiza_render_transparent_float (int sizex, int sizey, const float* data, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, int filter, const float *affine) ;

Same functionality as giza_render_transparent but takes floats.

See Also:

giza_render_transparent

giza_render_alpha_float

-
voidgiza_render_alpha_float (int sizex, int sizey, const float* data, const float* alpha, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, const float *affine) ;

Same as giza_render_alpha but takes floats

+voidgiza_render_alpha_float (int sizex, int sizey, const float* data, const float* alpha, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, int filter, const float *affine) ;

Same as giza_render_alpha but takes floats

See Also:

giza_render_alpha

giza_render_gray

-
voidgiza_render_gray (int sizex, int sizey, const double* data, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, const double *affine) ;

Same functionality as giza_render but renders in grayscale

+voidgiza_render_gray (int sizex, int sizey, const double* data, int i1, int i2, int j1, int j2, double valMin, double valMax, int extend, int filter, const double *affine) ;

Same functionality as giza_render but renders in grayscale

See Also:

giza_render

giza_render_gray_float

-
voidgiza_render_gray_float (int sizex, int sizey, const float* data, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, const float *affine) ;

Same functionality as giza_render_gray but renders in grayscale

+voidgiza_render_gray_float (int sizex, int sizey, const float* data, int i1, int i2, int j1, int j2, float valMin, float valMax, int extend, int filter, const float *affine) ;

Same functionality as giza_render_gray but renders in grayscale

See Also:

giza_render_gray giza_render

giza_draw_pixels

-
voidgiza_draw_pixels (int sizex, int sizey, const int* idata, int i1, int i2, int j1, int j2, double xmin, double xmax, double ymin, double ymax, int extend) ;

Renders an array of pixels according to a colour index defined for each pixel

+voidgiza_draw_pixels (int sizex, int sizey, const int* idata, int i1, int i2, int j1, int j2, double xmin, double xmax, double ymin, double ymax, int extend, int filter) ;

Renders an array of pixels according to a colour index defined for each pixel

Input:

@@ -929,9 +944,11 @@

Input:

+ +
sizex :The dimensions of data in the x-direction ymax :world coordinate corresponding to top of pixel array
extend :Option for how to deal with image at edges (see giza_render)
filter :Option for how to interpolate between pixels (see giza_render, since v1.5)

See Also:

giza_render giza_draw_pixels_float

giza_draw_pixels_float

-
voidgiza_draw_pixels_float (int sizex, int sizey, const int* idata, int i1, int i2, int j1, int j2, float xmin, float xmax, float ymin, float ymax, int extend) ;

Same as giza_draw_pixels, but takes floats

+voidgiza_draw_pixels_float (int sizex, int sizey, const int* idata, int i1, int i2, int j1, int j2, float xmin, float xmax, float ymin, float ymax, int extend, int filter) ;

Same as giza_draw_pixels, but takes floats

See Also:

giza_draw_pixels

giza_tick

voidgiza_tick (double x1, double y1, double x2, double y2, double v, double tickl, double tickr, double disp, double angle, const char *label) ;

Draw a single tick along an axis. The axis extends from (x1,y1) to (x2,y2) and the tick is drawn perpendicular to the axis which is not drawn by this routine. Optional text label drawn parallel to the axis if the orientation angle is zero