1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XCharBitmap.c,v 10.4 86/02/01 15:29:43 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: Bitmap XCharBitmap (font, the_char)
   8:     Font font;
   9:     int the_char;  /* can't call it "char"; that's a C keyword */
  10: {
  11:     register Display *dpy;
  12:     register XReq *req;
  13:     XRep rep;
  14: 
  15:     GetReq (X_CharBitmap, 0);
  16:     req->param.l[0] = font;
  17:     req->param.s[2] = the_char;
  18:     if (!_XReply (dpy, &rep))
  19:         return (NULL);
  20:     return (rep.param.l[0]);
  21: }

Defined functions

XCharBitmap defined in line 7; used 2 times
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 695
Valid CSS Valid XHTML 1.0 Strict