[−][src]Function libeyelink_sys::el_bitmap_to_backdrop
pub unsafe extern "C" fn el_bitmap_to_backdrop(
hbm: *mut EYEBITMAP,
xs: INT16,
ys: INT16,
width: INT16,
height: INT16,
xd: INT16,
yd: INT16,
xferoptions: UINT16
) -> c_int
@ingroup bitmap_save This function transfers the bitmap to the tracker PC as backdrop for gaze cursors.
@param hbm Bitmap to save or transfer or both. @param xs X position. @param ys Y position. @param width Width. @param height Height. @param xd X positon. @param yd Y positon. @param xferoptions Transfer options set with bitwise OR of the following constants, determines how bitmap is processed: \arg \c BX_AVERAGE Averaging combined pixels \arg \c BX_DARKEN Choosing darkest and keep thin dark lines. \arg \c BX_LIGHTEN Choosing darkest and keep thin white lines and control how bitmap size is reduced to fit tracker display. \arg \c BX_MAXCONTRAST Maximizes contrast for clearest image. \arg \c BX_NODITHER Disables the dithering of the image. \arg \c BX_GREYSCALE Converts the image to grayscale (grayscale works best for EyeLink I, text, etc.).
\sa sdl_bitmap_to_backdrop(), el_bitmap_save_and_backdrop(), sdl_bitmap_save_and_backdrop(), gdi_bitmap_to_backdrop(), gdi_bitmap_save_and_backdrop(), and bitmap_to_backdrop() for more information.
@remark This function should not be called when timing is critical, as this might take very long to return.