[sane-devel] sane_control_option coordinate pairs

Major A andras@users.sourceforge.net
Sat, 24 May 2003 11:52:04 +0100


> 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@users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================