VirtFuncsI.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 librararies 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. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47. /******** Private Defines Declarations ********/
  48. /******** Private Typedef Declarations ********/
  49. /******** Private Structures Declarations ********/
  50. /******** Private Define Declarations ********/
  51. /******** Private Macro Declarations ********/
  52. /******** Private Function Declarations ********/
  53. extern void _DtCvFontMetrics(
  54. _DtCanvasStruct *canvas,
  55. _DtCvPointer font_handle,
  56. _DtCvUnit *ret_ascent,
  57. _DtCvUnit *ret_descent,
  58. _DtCvUnit *ret_ave,
  59. _DtCvUnit *ret_super_y,
  60. _DtCvUnit *ret_sub_y);
  61. extern _DtCvUnit _DtCvGetStringWidth(
  62. _DtCanvasStruct *canvas,
  63. _DtCvSegment *segment,
  64. void *string,
  65. int len);
  66. #ifdef __cplusplus
  67. } /* Close scope of 'extern "C"' declaration which encloses file. */
  68. #endif
  69. #endif /* _DtHelpVirtFuncsI_h */
  70. /* DON'T ADD ANYTHING AFTER THIS #endif */