home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / server / include / dixfont.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-11  |  1.8 KB  |  58 lines

  1. /* $XConsortium: dixfont.h,v 1.7 91/05/11 11:45:47 rws Exp $ */
  2. /***********************************************************
  3. Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
  4. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission to use, copy, modify, and distribute this software and its
  9. documentation for any purpose and without fee is hereby granted,
  10. provided that the above copyright notice appear in all copies and that
  11. both that copyright notice and this permission notice appear in
  12. supporting documentation, and that the names of Digital or MIT not be
  13. used in advertising or publicity pertaining to distribution of the
  14. software without specific, written prior permission.
  15.  
  16. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  17. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  18. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  19. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  20. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  21. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  22. SOFTWARE.
  23.  
  24. ******************************************************************/
  25.  
  26. #ifndef DIXFONT_H
  27. #define DIXFONT_H 1
  28.  
  29. #include    <font.h>
  30.  
  31. #define NullDIXFontProp ((DIXFontPropPtr)0)
  32.  
  33. typedef struct _DIXFontProp *DIXFontPropPtr;
  34.  
  35. #ifndef R4_FONT_STRUCTURES
  36.  
  37. extern void UseFPE();
  38. extern void FreeFPE();
  39. extern void QueueFontWakeup();
  40. extern void RemoveFontWakeup();
  41. extern int FontWakeup();
  42.  
  43. #else
  44.  
  45. typedef struct _R4Font *FontPtr;
  46.  
  47. /*
  48.  * this type is for people who want to talk about the font encoding
  49.  */
  50.  
  51. typedef enum {
  52.     Linear8Bit, TwoD8Bit, Linear16Bit, TwoD16Bit
  53. }           FontEncoding;
  54.  
  55. #endif
  56.  
  57. #endif                /* DIXFONT_H */
  58.