home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / rom / graphics / setfont.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-27  |  1.0 KB  |  57 lines

  1. /*
  2.     (C) 1995 AROS - The Amiga Replacement OS
  3.     $Id: setfont.c,v 1.7 1997/01/27 00:36:12 ldp Exp $    $Log
  4.  
  5.     Desc: Graphics function SetFont()
  6.     Lang: english
  7. */
  8. #include "graphics_intern.h"
  9. #include <graphics/rastport.h>
  10. #include <graphics/text.h>
  11.  
  12. /*****************************************************************************
  13.  
  14.     NAME */
  15. #include <graphics/rastport.h>
  16. #include <graphics/text.h>
  17. #include <proto/graphics.h>
  18.  
  19.     AROS_LH2(void, SetFont,
  20.  
  21. /*  SYNOPSIS */
  22.     AROS_LHA(struct RastPort *, rp, A1),
  23.     AROS_LHA(struct TextFont *, textFont, A0),
  24.  
  25. /*  LOCATION */
  26.     struct GfxBase *, GfxBase, 11, Graphics)
  27.  
  28. /*  FUNCTION
  29.  
  30.     INPUTS
  31.  
  32.     RESULT
  33.  
  34.     NOTES
  35.  
  36.     EXAMPLE
  37.  
  38.     BUGS
  39.  
  40.     SEE ALSO
  41.  
  42.     INTERNALS
  43.  
  44.     HISTORY
  45.     29-10-95    digulla automatically created from
  46.                 graphics_lib.fd and clib/graphics_protos.h
  47.  
  48. *****************************************************************************/
  49. {
  50.     AROS_LIBFUNC_INIT
  51.     AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
  52.  
  53.     driver_SetFont (rp, textFont, GfxBase);
  54.  
  55.     AROS_LIBFUNC_EXIT
  56. } /* SetFont */
  57.