[sane-devel] sane_control_option coordinate pairs

Major A andras at users.sourceforge.net
Sat May 24 11:52:04 BST 2003


> I'd like to sacn the entiere surface of my scanner.
> Which are the pairs of coordinate to use :
> tl-x =0;
> tl-y =0
> br-x = ?
> br-y = ?

tl-x and tl-y being 0 in the corner is a bad assumption because
although it's almost always the case, it doesn't have to be.

All four options should have a range constraint. The constraint should
correspond to the scanning area, so use that to determine the right
values.

  Andras

===========================================================================
Major Andras
    e-mail: andras at users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================



More information about the sane-devel mailing list