Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
hpgl.h
Go to the documentation of this file.
1 /************************************************************************/
2 /**
3 
4  \file hpgl.h
5 
6  \version V1.3
7  \date 14.08.14
8  \brief Include file for hpgl
9 
10  \copyright (c) UCL / Dr. Andrew C. R. Martin 1991-2014
11  \author Dr. Andrew C. R. Martin
12  \par
13  Institute of Structural & Molecular Biology,
14  University College London,
15  Gower Street,
16  London.
17  WC1E 6BT.
18  \par
19  andrew@bioinf.org.uk
20  andrew.martin@ucl.ac.uk
21 
22 **************************************************************************
23 
24  This code is NOT IN THE PUBLIC DOMAIN, but it may be copied
25  according to the conditions laid out in the accompanying file
26  COPYING.DOC.
27 
28  The code may be modified as required, but any modifications must be
29  documented so that the person responsible can be identified.
30 
31  The code may not be sold commercially or included as part of a
32  commercial product except as described in the file COPYING.DOC.
33 
34 **************************************************************************
35 
36  Description:
37  ============
38 
39 
40 **************************************************************************
41 
42  Usage:
43  ======
44 
45 **************************************************************************
46 
47  Revision History:
48  =================
49 - V1.0 25.03.91 Original
50 - V1.1 07.07.14 Use bl prefix for functions By: CTP
51 - V1.2 31.07.14 Updated deprecation: Removed deprecated.h and added
52  prototypes for renamed functions. By: CTP
53 - V1.3 14.08.14 Moved deprecated function prototypes to deprecated.h
54  By: CTP
55 
56 *************************************************************************/
57 #ifndef _HPGL_H
58 #define _HPGL_H
59 
60 /************************************************************************/
61 /* Includes
62 */
63 #include <stdio.h>
64 
65 #include "SysDefs.h"
66 #include "MathType.h"
67 
68 /************************************************************************/
69 /* Prototypes
70 */
71 BOOL blHPGLInit(char *filename, char *AltFont, REAL xmargin, REAL ymargin);
72 void blHPGLPen(int num);
73 void blHPGLMove(REAL x, REAL y);
74 void blHPGLDraw(REAL x, REAL y);
75 void blHPGLSetDash(int style);
76 void blHPGLFont(int font, REAL size);
77 void blHPGLLText(REAL x, REAL y, char *string);
78 void blHPGLCBText(REAL x, REAL y, REAL offset, char *text);
79 void blHPGLROffText(REAL x, REAL y, REAL offset, char *text);
80 void blHPGLLCText(REAL x, REAL y, char *text);
81 void blHPGLCTText(REAL x, REAL y, REAL offset, char *text);
82 void blHPGLVText(REAL x, REAL y, REAL xoff, char *text, int TitleFont,
83  REAL TitleSize, char *label, int LabelFont, REAL LabelSize);
84 void blHPGLEnd(void);
85 void blHPGLShowText(char *text, BOOL orientation, int XBase, int YBase);
86 
87 /************************************************************************/
88 /* Include deprecated functions */
89 #define _HPGL_H_DEPRECATED
90 # include "deprecated.h"
91 /************************************************************************/
92 
93 
94 #endif
void blHPGLCBText(REAL x, REAL y, REAL offset, char *text)
Definition: hpgl.c:400
void blHPGLLText(REAL x, REAL y, char *string)
Definition: hpgl.c:368
void blHPGLCTText(REAL x, REAL y, REAL offset, char *text)
Definition: hpgl.c:521
void blHPGLFont(int font, REAL size)
Definition: hpgl.c:327
void blHPGLROffText(REAL x, REAL y, REAL offset, char *text)
Definition: hpgl.c:440
short BOOL
Definition: SysDefs.h:64
Redirect calls to deprecated functions.
void blHPGLSetDash(int style)
Definition: hpgl.c:286
BOOL blHPGLInit(char *filename, char *AltFont, REAL xmargin, REAL ymargin)
Definition: hpgl.c:170
double REAL
Definition: MathType.h:67
void blHPGLDraw(REAL x, REAL y)
Definition: hpgl.c:257
void blHPGLEnd(void)
Definition: hpgl.c:651
System-type variable type definitions.
void blHPGLPen(int num)
Definition: hpgl.c:214
Type definitions for maths.
void blHPGLVText(REAL x, REAL y, REAL xoff, char *text, int TitleFont, REAL TitleSize, char *label, int LabelFont, REAL LabelSize)
Definition: hpgl.c:577
void blHPGLLCText(REAL x, REAL y, char *text)
Definition: hpgl.c:482
void blHPGLMove(REAL x, REAL y)
Definition: hpgl.c:235
void blHPGLShowText(char *text, BOOL orientation, int XBase, int YBase)
Definition: hpgl.c:674