Back to index

texmacs  1.0.7.15
cs_type2.h
Go to the documentation of this file.
00001 /*  $Header: /home/cvsroot/dvipdfmx/src/cs_type2.h,v 1.4 2004/02/15 12:59:43 hirata Exp $
00002     
00003     This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
00004 
00005     Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata,
00006     the dvipdfmx project team <dvipdfmx@project.ktug.or.kr>
00007     
00008     This program is free software; you can redistribute it and/or modify
00009     it under the terms of the GNU General Public License as published by
00010     the Free Software Foundation; either version 2 of the License, or
00011     (at your option) any later version.
00012     
00013     This program is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU General Public License for more details.
00017     
00018     You should have received a copy of the GNU General Public License
00019     along with this program; if not, write to the Free Software
00020     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
00021 */
00022 
00023 #ifndef _CS_TYPE2_H_
00024 #define _CS_TYPE2_H_
00025 
00026 #include "cff_types.h"
00027 
00028 typedef struct {
00029   int flags; /* unused in Type 2 charstring */
00030   double wx, wy;
00031   struct {
00032     double llx, lly, urx, ury;
00033   } bbox;
00034   struct {
00035     double asb, adx, ady;
00036     card8  bchar, achar;
00037   } seac;   /* unused in Type 2 charstring */
00038 } cs_ginfo;
00039 
00040 extern long cs_copy_charstring (card8 *dest, long destlen,
00041                             card8 *src, long srclen,
00042                             cff_index *gsubr, cff_index *subr,
00043                             double default_width, double nominal_width, cs_ginfo *ginfo);
00044 
00045 #endif /* _CS_TYPE2_H_ */