1 /*_________________________________ epson-layout.h _________________________________*/
\r
3 /* 1 2 3 4 5 6 7 8 */
\r
4 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
\r
5 /*******************************************|********************************************/
\r
7 * Copyright (c) 2009 Seiko Epson Corporation All rights reserved.
\r
9 * Copyright protection claimed includes all forms and matters of
\r
10 * copyrightable material and information now allowed by statutory or judicial
\r
11 * law or hereinafter granted, including without limitation, material generated
\r
12 * from the software programs which are displayed on the screen such as icons,
\r
13 * screen display looks, etc.
\r
16 /*******************************************|********************************************/
\r
18 /* Epson Extent Layout Definitions */
\r
20 /*******************************************|********************************************/
\r
22 #ifndef __EPSON_LAYOUT_H__
\r
23 #define __EPSON_LAYOUT_H__
\r
28 /*------------------------------------ Includes -------------------------------------*/
\r
29 /*******************************************|********************************************/
\r
30 #include "epson-typedefs.h"
\r
33 /*---------------------------------- Generic Macros ---------------------------------*/
\r
34 /*******************************************|********************************************/
\r
36 /*** CD/DVD Sizing Information */
\r
37 /*** -------------------------------------------------------------------------------*/
\r
38 #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))
\r
39 #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))
\r
41 /*---------------------------- API Function Declarations ----------------------------*/
\r
42 /*******************************************|********************************************/
\r
43 extern EPS_INT32 elGetDots (EPS_UINT8 inputResolution, EPS_FLOAT length );
\r
45 #ifdef GCOMSW_EL_CDLABEL
\r
46 extern EPS_ERR_CODE elCDClipping (const EPS_UINT8*, EPS_UINT8*, EPS_UINT8, EPS_RECT* );
\r
54 #endif /* def __EPSON_LAYOUT_H__ */
\r
56 /*_________________________________ epson-layout.h _________________________________*/
\r
58 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
\r
59 /* 1 2 3 4 5 6 7 8 */
\r
60 /*******************************************|********************************************/
\r
61 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
\r
62 /***** End of File *** End of File *** End of File *** End of File *** End of File ******/
\r
63 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
\r