[sane-devel] SANE2 proposal

Nick Lamb njl98r@ecs.soton.ac.uk
Sun, 14 Apr 2002 23:34:49 +0100


On Sun, Apr 14, 2002 at 10:58:55PM +0200, Oliver Rauch wrote:
> added:
> \item A frontend may temporarily set the values in a way that
> \code{tl-x} is larger than \code{br-x} and \code{tl-y} is larger than
> \code{br-y}. 

Hmm. What does "temporarily" mean here? I was thinking more of mandating
either

1. All frontends must do the tl-x, tl-y, br-x, br-y, tl-x, tl-y dance,
so they send some parameters twice to the backend when changing the
scan area.

2. All backends must rest the scan area to match any new constraint, so
if I ask for (20,30) - (40,100) and then try to set top left to (50,110)
it will set the scan area to (50,110)-(50,110) rather than ignoring it.

It should be made very clear to backend and frontend coders what is
wanted here, perhaps even sample pseudo-code is needed.

Nick.