summaryrefslogtreecommitdiff
path: root/lib/epson-layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/epson-layout.h')
-rwxr-xr-xlib/epson-layout.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/lib/epson-layout.h b/lib/epson-layout.h
new file mode 100755
index 0000000..2537ae7
--- /dev/null
+++ b/lib/epson-layout.h
@@ -0,0 +1,63 @@
+/*_________________________________ epson-layout.h _________________________________*/
+
+/* 1 2 3 4 5 6 7 8 */
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/*******************************************|********************************************/
+/*
+* Copyright (c) 2009 Seiko Epson Corporation All rights reserved.
+*
+* Copyright protection claimed includes all forms and matters of
+* copyrightable material and information now allowed by statutory or judicial
+* law or hereinafter granted, including without limitation, material generated
+* from the software programs which are displayed on the screen such as icons,
+* screen display looks, etc.
+*
+*/
+/*******************************************|********************************************/
+/* */
+/* Epson Extent Layout Definitions */
+/* */
+/*******************************************|********************************************/
+
+#ifndef __EPSON_LAYOUT_H__
+#define __EPSON_LAYOUT_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*------------------------------------ Includes -------------------------------------*/
+/*******************************************|********************************************/
+#include "epson-typedefs.h"
+
+
+/*---------------------------------- Generic Macros ---------------------------------*/
+/*******************************************|********************************************/
+
+ /*** CD/DVD Sizing Information */
+ /*** -------------------------------------------------------------------------------*/
+#define CDDVD_OFFSET_X(r, d) (EPS_INT32)(elGetDots(r, (EPS_FLOAT)(14.0 + (EPS_FLOAT)(EPS_CDDIM_OUT_DEF - d)/2)) + elGetDots(r, 3))
+#define CDDVD_OFFSET_Y(r, d) (EPS_INT32)(elGetDots(r, (EPS_FLOAT)( 6.5 + (EPS_FLOAT)(EPS_CDDIM_OUT_DEF - d)/2)) + elGetDots(r, 3))
+
+/*---------------------------- API Function Declarations ----------------------------*/
+/*******************************************|********************************************/
+extern EPS_INT32 elGetDots (EPS_UINT8 inputResolution, EPS_FLOAT length );
+
+#ifdef GCOMSW_EL_CDLABEL
+extern EPS_ERR_CODE elCDClipping (const EPS_UINT8*, EPS_UINT8*, EPS_UINT8, EPS_RECT* );
+#endif
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* def __EPSON_LAYOUT_H__ */
+
+/*_________________________________ epson-layout.h _________________________________*/
+
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/* 1 2 3 4 5 6 7 8 */
+/*******************************************|********************************************/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
+/***** End of File *** End of File *** End of File *** End of File *** End of File ******/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/