GraphicsI.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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: GraphicsI.h /main/6 1996/03/27 16:27:58 lehors $ */
  24. /************************************<+>*************************************
  25. ****************************************************************************
  26. **
  27. ** File: GraphicsI.h
  28. **
  29. ** Project: Cde Help System
  30. **
  31. ** Description: Internal header file for Graphics.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 _DtGraphicsI_h
  43. #define _DtGraphicsI_h
  44. /*
  45. * Semi-Public Routines
  46. */
  47. extern Pixmap _DtHelpProcessGraphic(
  48. Display *dpy,
  49. Drawable drawable,
  50. int screen,
  51. int depth,
  52. GC gc,
  53. Pixmap *def_pix,
  54. Dimension *def_pix_width,
  55. Dimension *def_pix_height,
  56. _DtGrContext *context,
  57. Colormap colormap,
  58. Visual *visual,
  59. Pixel fore_ground,
  60. Pixel back_ground,
  61. char *filename,
  62. unsigned short media_resolution,
  63. Dimension *pixmapWidth,
  64. Dimension *pixmapHeight,
  65. Pixmap *ret_mask,
  66. Pixel **ret_colors,
  67. int *ret_number );
  68. #endif /* _DtGraphisI.h */