Re: Graphical frontend issues...

David Mosberger-Tang (davidm@azstarnet.com)
Thu, 26 Dec 1996 10:51:25 -0700

>>>>> On Tue, 24 Dec 1996 12:11:39 +0000 (GMT), Tristan Tarrant <tst@orthanc.isengard.com.galactica.it> said:

Tristan> On scanners with transparency adapters (mine at least) the
Tristan> scan area is reduced slightly. Should the preview window
Tristan> act as if it were zoomed in to the maximum possible size,
Tristan> or should there be a black border around the edge ?

Hmmh, there really is no reliable way for a frontend to tell how big
the border is. All you'd get is x/y coordinates with ranges that
don't start at zero. E.g., without border, you might get:

tl-x: 0..200mm
tl-y: 0..280mm

whereas with the transparency adapeter installed, you might get this
(the numbers are made up---I don't have a transparency adapeter
myself):

tl-x: 50..150mm
tl-y: 50..230mm

Of course, you _could_ guess that the border is symmetric, but it
seems to me it would be just as fine to present the "zoomed" preview
area. As long as the rulers indicate that the top-left corner is not
at 0/0, I think this would work fine.

Tristan> Merry Christmas and a Happy New Year to you all !!!

Thanks & same to you!

--david

---
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe:    echo unsubscribe sane-devel | mail majordomo@azstarnet.com