summaryrefslogtreecommitdiffstats
path: root/ast/grf_2.0.c
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-09-21 17:02:41 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-09-21 17:02:41 (GMT)
commitbd7d67f66c53df36bb50e3423bfc91eae8618201 (patch)
tree343b06f7a9f2decdfa8d3e4aae885be3e909aa14 /ast/grf_2.0.c
parentf2f490ba0f98917b590fd7e538b9514e4119e640 (diff)
downloadblt-bd7d67f66c53df36bb50e3423bfc91eae8618201.zip
blt-bd7d67f66c53df36bb50e3423bfc91eae8618201.tar.gz
blt-bd7d67f66c53df36bb50e3423bfc91eae8618201.tar.bz2
update ast
Diffstat (limited to 'ast/grf_2.0.c')
-rw-r--r--ast/grf_2.0.c101
1 files changed, 0 insertions, 101 deletions
diff --git a/ast/grf_2.0.c b/ast/grf_2.0.c
deleted file mode 100644
index 170c191..0000000
--- a/ast/grf_2.0.c
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
-* Name:
-* grf_2.0.c
-
-* Purpose:
-* Implement the grf module required by AST V2.0 if no graphics system
-* is available.
-
-* Description:
-* This file implements the low level graphics functions required
-* by the rest of AST V2.0, by reporting errors when called.
-
-* Inheritance:
-* This module is not a class and does not inherit.
-
-* Copyright:
-* Copyright (C) 1997-2006 Council for the Central Laboratory of the
-* Research Councils
-
-* Licence:
-* This program is free software: you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation, either
-* version 3 of the License, or (at your option) any later
-* version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General
-* License along with this program. If not, see
-* <http://www.gnu.org/licenses/>.
-
-* Authors:
-* DSB: David S. Berry (Starlink)
-
-* History:
-* 23-OCT-1996 (DSB):
-* Original version.
-* 13-NOV-1996 (DSB):
-* Modified to issue error messages using astError instead of printf.
-* 23-NOV-2004 (DSB):
-* Renamed from grf_null.c
-*/
-
-/* Header files */
-/* ============ */
-#include "grf.h" /* Declare the functions in this module */
-#include "error.h" /* AST error reporting facilities */
-#include "ast_err.h" /* AST error codes */
-
-/* Function Prototypes */
-/* =================== */
-static void Report( const char * );
-
-/* Function definitions */
-/* ==================== */
-int astGFlush( void ){
- Report( "astGFlush");
- return 0;
-}
-
-int astGLine( int n, const float *x, const float *y ){
- Report( "astGLine" );
- return 0;
-}
-
-int astGQch( float *chv, float *chh ){
- Report( "astGQch" );
- return 0;
-}
-
-int astGMark( int n, const float *x, const float *y, int type ){
- Report( "astGMark" );
- return 0;
-}
-
-int astGText( const char *text, float x, float y, const char *just,
- float upx, float upy ){
- Report( "astGText" );
- return 0;
-}
-
-int astGTxExt( const char *text, float x, float y, const char *just,
- float upx, float upy, float *xb, float *yb ){
- Report( "astGTxExt" );
- return 0;
-}
-
-int astGAttr( int attr, double value, double *old_value, int prim ){
- Report( "astGAttr" );
- return 0;
-}
-
-static void Report( const char *name ){
- astError( AST__GRFER, "%s: No graphics facilities are available.", name );
- astError( AST__GRFER, "Re-link using an option such as '-pgplot' with "
- "the ast_link script." );
-}