[Hp5400backend-cvs-update] hp5400/hp5400 hp5400.h,1.7,1.8
Status: Alpha
Brought to you by:
soumarmt
|
From: <kl...@us...> - 2003-03-06 10:26:45
|
Update of /cvsroot/hp5400backend/hp5400/hp5400
In directory sc8-pr-cvs1:/tmp/cvs-serv3181
Modified Files:
hp5400.h
Log Message:
Update some comments in header.
Index: hp5400.h
===================================================================
RCS file: /cvsroot/hp5400backend/hp5400/hp5400/hp5400.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** hp5400.h 6 Mar 2003 09:59:25 -0000 1.7
--- hp5400.h 6 Mar 2003 10:26:42 -0000 1.8
***************
*** 78,81 ****
--- 78,88 ----
} THWParams;
+ /* The scanner needs a Base DPI off which all it's calibration and
+ * offset/size parameters are based. For the time being this is the same as
+ * the iDpi but maybe we want it seperate. This is because while this field
+ * would have limited values (300,600,1200,2400) the x/y dpi can vary. The
+ * windows interface seems to allow 200dpi (though I've never tried it). We
+ * need to decide how these values are related to the HW coordinates. */
+
typedef struct {
***************
*** 91,96 ****
int iLinesRead; /* Lines of image already read */
! int iColourOffset; /* How far the colours are offset */
! /* Currently this is set by the caller */
} TScanParams;
--- 98,106 ----
int iLinesRead; /* Lines of image already read */
! int iColourOffset; /* How far the colours are offset. Currently this is
! * set by the caller. This doesn't seem to be
! * necessary anymore since the scanner is doing it
! * internally. Leave it for the time being as it
! * may be needed later. */
} TScanParams;
|