OSDN Git Service

4d23fd8b1aa6c823d28499def67bfd7ab60da256
[putex/putex.git] / src / dvipdfmx-pu / src / cs_type2.h
1 /*  
2     
3     This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
4
5     Copyright (C) 2002-2012 by Jin-Hwan Cho and Shunsaku Hirata,
6     the dvipdfmx project team.
7     
8     This program is free software; you can redistribute it and/or modify
9     it under the terms of the GNU General Public License as published by
10     the Free Software Foundation; either version 2 of the License, or
11     (at your option) any later version.
12     
13     This program is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     GNU General Public License for more details.
17     
18     You should have received a copy of the GNU General Public License
19     along with this program; if not, write to the Free Software
20     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 */
22
23 #ifndef _CS_TYPE2_H_
24 #define _CS_TYPE2_H_
25
26 #include "cff_types.h"
27
28 typedef struct {
29   int flags; /* unused in Type 2 charstring */
30   double wx, wy;
31   struct {
32     double llx, lly, urx, ury;
33   } bbox;
34   struct {
35     double asb, adx, ady;
36     card8  bchar, achar;
37   } seac;   /* unused in Type 2 charstring */
38 } cs_ginfo;
39
40 extern long cs_copy_charstring (card8 *dest, long destlen,
41                                 card8 *src, long srclen,
42                                 cff_index *gsubr, cff_index *subr,
43                                 double default_width, double nominal_width, cs_ginfo *ginfo);
44
45 #endif /* _CS_TYPE2_H_ */