2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: VirtFuncsI.h /main/8 1995/12/18 16:24:02 cde-hp $ */
24 /*************************************<+>*************************************
25 *****************************************************************************
27 ** File: VirtFunctsI.h
31 ** Description: Public Header file for Canvas.c
33 ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
35 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
36 ** (c) Copyright 1993, 1994 International Business Machines Corp.
37 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
38 ** (c) Copyright 1993, 1994 Novell, Inc.
40 *******************************************************************
41 *************************************<+>*************************************/
42 #ifndef _DtHelpVirtFuncsI_h
43 #define _DtHelpVirtFuncsI_h
50 /******** Private Defines Declarations ********/
52 /******** Private Typedef Declarations ********/
54 /******** Private Structures Declarations ********/
56 /******** Private Define Declarations ********/
58 /******** Private Macro Declarations ********/
60 /******** Private Function Declarations ********/
62 extern void _DtCvFontMetrics(
63 _DtCanvasStruct *canvas,
64 _DtCvPointer font_handle,
65 _DtCvUnit *ret_ascent,
66 _DtCvUnit *ret_descent,
68 _DtCvUnit *ret_super_y,
69 _DtCvUnit *ret_sub_y);
70 extern _DtCvUnit _DtCvGetStringWidth(
71 _DtCanvasStruct *canvas,
72 _DtCvSegment *segment,
77 } /* Close scope of 'extern "C"' declaration which encloses file. */
80 #endif /* _DtHelpVirtFuncsI_h */
81 /* DON'T ADD ANYTHING AFTER THIS #endif */