next up previous contents index
次へ: Option Number Count 上へ: The SANE Application Programmer 戻る: Code Flow   目次   索引


Well-Known Options

While most backend options are completely self-describing, there are a cases where a user interface might want to special-case the handling of certain options. For example, the scan area is typically defined by four options that specify the top-left and bottom-right corners of the area. With a graphical user interface, it would be tedious to force the user to type in these four numbers. Instead, most such interfaces will want to present to the user a preview (low-resolution scan) of the scanner surface and let the user pick the scan area by dragging a rectangle into the desired position. For this reason, the SANE API specifies a small number of option names that have well-defined meanings.



Subsections

MATSUBAYASHI 'Shaolin' Kohji 平成14年10月29日