psprivate.h

Go to the documentation of this file.
00001 
00002 /* ///////////////////////////////////////////////////////////////////////// */
00003 /* This file is a part of the BSTools package                                */
00004 /* written by Przemyslaw Kiciak                                              */
00005 /* ///////////////////////////////////////////////////////////////////////// */
00006 /* (C) Copyright by Przemyslaw Kiciak, 2008, 2012                            */
00007 /* this package is distributed under the terms of the                        */
00008 /* Lesser GNU Public License, see the file COPYING.LIB                       */
00009 /* ///////////////////////////////////////////////////////////////////////// */
00010 
00011 
00012 typedef enum {
00013   _drawline, _dcircle, _fcircle, _mcircle, _drawrect, _fillrect,
00014   _hatchrect, _moveto, _lineto, _shcone, _newpath
00015 } ps_proc;
00016 
00017 extern FILE *_ps_f;
00018 extern unsigned short _ps_dpi;   /* dots per inch */
00019 extern long _ps_written;
00020 extern float _ps_cgray;   /* current grey level */   
00021 extern float _ps_cred, _ps_cgreen, _ps_cblue;  /* current colour components */
00022 extern float _ps_cwidth;   /* current line width */   
00023 
00024 extern short _ps_bmp_y;   /* lines to the end of bitmap */
00025 extern unsigned short _ps_bmp_w;  /* size of the bitmap */
00026 extern byte _ps_bmp_p;   /* bitmap pixel size */
00027 
00028 
00029 void _ps_ExtendRect ( float x, float y );
00030 void _ps_OutProc ( ps_proc p );
00031 
00032 extern boolean _psl_trmk, _psl_btrmk, _psl_htrmk, _psl_bhtrmk;
00033 
00034 void _psl_InitPSLib ( void );