home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / libs / plotlib.lha / Plot_1.lzh / Header / GfxL3.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-19  |  3.2 KB  |  142 lines

  1. #ifndef GFXL3_H
  2. #define GFXL3_H
  3.  
  4. /****************************************************************
  5. *                                                                                                                                *
  6. *     Filename : GfxL3.h                                                                                        *
  7. *                                                                                                                                *
  8. *****************************************************************
  9. *                                                                                                                                *
  10. *        Comment : Includedatei für Plotlibrary Level 3 Bildschirm-    *
  11. *                            ausgabe                                                                                        *
  12. *                                                                                                                                *
  13. *                Rev : V1.0                                                                                            *
  14. *                                                                                                                                *
  15. *        History : V1.0 erstellen dieses Files                            05/12/89    *
  16. *                                                                                                                                *
  17. *                Doc : Plotlibrary User's Guide                                                    *
  18. *                                                                                                                                *
  19. *             Bugs : keine bekannten                                                                        *
  20. *                                                                                                                                *
  21. *            Autor : Oesch Silvano                                                                            *
  22. *                                                                                                                                *
  23. *            Datum : 05/12/89                                                                                    *
  24. *                                                                                                                                *
  25. ****************************************************************/
  26.  
  27. /****************************************************************
  28. *                                                                                                                                *
  29. *    Graphikmakros                                                                                                    *
  30. *                                                                                                                                *
  31. ****************************************************************/
  32.  
  33. /*******************/
  34. #ifdef AMIGA
  35. /*******************/
  36. #ifndef BLAU
  37.  
  38. #define BLAU(n) (n & 0x0000F)
  39. #define GRUEN(n) ((n >> 4) & 0x000F)
  40. #define ROT(n) ((n >> 8) & 0x000F)
  41.  
  42. #endif
  43. #endif
  44.  
  45. /****************************************************************
  46. *                                                                                                                                *
  47. *    Definition der Funktionsparameter                                                            *
  48. *                                                                                                                                *
  49. ****************************************************************/
  50.  
  51. #ifdef PROTOTYPEN
  52.  
  53. int ScOpenGraphics(void);
  54. void ScCloseGraphics(void);
  55. int ScGetMaxColor(void);
  56. int ScGetMaxX(void);
  57. int ScGetMaxY(void);
  58. void ScSetTextSize(void);
  59. void ScDrawText(int ,int ,char *);
  60. void ScClearGraphics(void);
  61. int ScGetFgColor(void);
  62. void ScSetFgColor(int );
  63. int ScGetBackColor(void);
  64. void ScSetBackColor(int );
  65. void ScDrawLine(int ,int ,int ,int );
  66. void ScDrawPolyLine(int ,GPT *);
  67. int ScFillPolyLine(int ,GPT *);
  68. void ScSetFillStyle(int );
  69. void ScDrawRectangle(int ,int ,int ,int );
  70. int ScGetTextSize(int );
  71. void ScSetLineStyle(int );
  72.  
  73. /*******************/
  74. #ifdef AMIGA
  75. /*******************/
  76.  
  77. int openlib(void);
  78. int openscreen(void);
  79.  
  80. #endif
  81.  
  82. /*******************/
  83. #ifdef __MSDOS__
  84. #ifdef __TURBOC__
  85. /*******************/
  86.  
  87. #define MAXDEFCOL 16
  88. #define MAXDRIVER    6
  89.  
  90. void initdriver(void);
  91. void initcolor(int count);
  92.  
  93. #endif
  94. #endif
  95.  
  96. #else
  97.  
  98. int ScOpenGraphics();
  99. void ScCloseGraphics();
  100. int ScGetMaxColor();
  101. int ScGetMaxX();
  102. int ScGetMaxY();
  103. void ScSetTextSize();
  104. void ScDrawText();
  105. void ScClearGraphics();
  106. int ScGetFgColor();
  107. void ScSetFgColor();
  108. int ScGetBackColor();
  109. void ScSetBackColor();
  110. void ScDrawLine();
  111. int ScDrawPolyLine();
  112. int ScFillPolyLine();
  113. void ScSetFillStyle();
  114. void ScDrawRectangle();
  115. int ScGetTextSize();
  116. void ScSetLineStyle();
  117.  
  118. /*******************/
  119. #ifdef AMIGA
  120. /*******************/
  121.  
  122. int openlib();
  123. int openscreen();
  124.  
  125. #endif
  126.  
  127. /*******************/
  128. #ifdef __MSDOS__
  129. #ifdef __TURBOC__
  130. /*******************/
  131.  
  132. #define MAXDEFCOL 16
  133. #define MAXDRIVER    6
  134.  
  135. void initdriver();
  136. void initcolor();
  137.  
  138. #endif
  139. #endif
  140. #endif
  141. #endif
  142.