Merge branch 'master' into cde-next
[oweals/cde.git] / cde / lib / DtHelp / VirtFuncsI.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
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
22  */
23 /* $XConsortium: VirtFuncsI.h /main/8 1995/12/18 16:24:02 cde-hp $ */
24 /*************************************<+>*************************************
25  *****************************************************************************
26  **
27  **  File:   VirtFunctsI.h
28  **
29  **  Project:
30  **
31  **  Description:  Public Header file for Canvas.c
32  **
33  **  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
34  **
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.
39  **
40  *******************************************************************
41  *************************************<+>*************************************/
42 #ifndef _DtHelpVirtFuncsI_h
43 #define _DtHelpVirtFuncsI_h
44
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 /********    Private Defines Declarations    ********/
51
52 /********    Private Typedef Declarations    ********/
53
54 /********    Private Structures Declarations    ********/
55
56 /********    Private Define Declarations    ********/
57
58 /********    Private Macro Declarations    ********/
59
60 /********    Private Function Declarations    ********/
61
62 extern  void            _DtCvFontMetrics(
63                                 _DtCanvasStruct *canvas,
64                                 _DtCvPointer     font_handle,
65                                 _DtCvUnit       *ret_ascent,
66                                 _DtCvUnit       *ret_descent,
67                                 _DtCvUnit       *ret_ave,
68                                 _DtCvUnit       *ret_super_y,
69                                 _DtCvUnit       *ret_sub_y);
70 extern  _DtCvUnit       _DtCvGetStringWidth(
71                                 _DtCanvasStruct  *canvas,
72                                 _DtCvSegment     *segment,
73                                 void             *string,
74                                 int               len);
75
76 #ifdef __cplusplus
77 }  /* Close scope of 'extern "C"' declaration which encloses file. */
78 #endif
79
80 #endif /* _DtHelpVirtFuncsI_h */
81 /* DON'T ADD ANYTHING AFTER THIS #endif */