/usr/include/ncarg/gksP.h is in libncarg-dev 6.3.0-13.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | /*
* $Id: gksP.h,v 1.8.8.1 2010-03-17 20:53:30 brownrig Exp $
*/
/************************************************************************
* *
* Copyright (C) 2000 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
* The use of this Software is governed by a License Agreement. *
* *
************************************************************************/
/************************************************************************
* *
* Copyright (C) 1996 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: gksP.h
*
* Author: Jeff W. Boote
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Fri Mar 8 19:18:41 MST 1996
*
* Description: Private GKS library interface. This interface
* allows "C" native data types to be passed into
* the c drivers using the gescape function. This
* interface should not be used directly, but only
* by the gescape function in libncarg_gksC.
*
* There are no "public" interfaces defined in this file.
*/
#ifndef _NGKSP_
#define _NGKSP_
#define NGESC_CNATIVE -1450
#define NGC_XGETXPIX 1
#define NGC_XFREECI 2
#define NGC_XALLOCCOLOR 3
#define NGC_XSIZECHG 4
#define NGC_XWINCONFIG 5
#define NGC_PIXCONFIG 6
#define NGC_SETALPHA 7
#define NGC_GETALPHA 8
#define NGC_ANTIALIAS 9
#define NGC_CAIROFILLHACK 10 /* see Jira ticket ncl-1913 */
/* opcodes for setting opacity attributes */
#define NGC_LINEALPHA 0
#define NGC_FILLALPHA 1
#define NGC_MARKERALPHA 2
#define NGC_TEXTALPHA 3
#define NGC_BACKGROUNDALPHA 4
typedef struct {
int type;
int work_id;
unsigned long gksci;
unsigned long xpixnum; /* return */
} _NGCXGetXPix;
typedef struct {
int type;
int work_id;
unsigned long gksci;
} _NGCXFreeCi;
typedef void (*_NGCXAllocColorProc)(
void *cref,
void *color_def /* really (XColor*) */
);
typedef void (*_NGCXFreeColorsProc)(
void *cref,
unsigned long *pixels,
int npixels
);
typedef struct {
int type;
int work_id;
_NGCXAllocColorProc xalloc_color;
_NGCXFreeColorsProc xfree_colors;
void *cref;
} _NGCXAllocColor;
typedef void (*_NGCXGetSizeProc)(
void *closure,
unsigned long size
);
typedef struct {
int type;
int work_id;
_NGCXGetSizeProc xget_size;
void *closure;
} _NGCXGetSizeChg;
typedef struct {
int type;
int work_id;
int x;
int y;
int width;
int height;
char *title;
char *icon_title;
} _NGCXWinConfig;
typedef struct {
int type;
int work_id;
int width;
int height;
int format;
char *filename;
} _NGCPixConfig;
typedef struct {
int type;
int work_id;
int graphicAttrib;
float alpha;
} _NGCAlpha;
typedef struct {
int type;
int work_id;
int antialias_boolean;
} _NGCAntiAlias;
typedef struct { /* Jira ncl-1913 */
int type;
int work_id;
int fill_mode_boolean;
} _NGCCairoFillHack;
typedef struct {
int type;
int work_id;
} _NGCAny;
typedef union _NGCescapeRec_ {
int type;
_NGCAny any;
_NGCXGetXPix xgetxpix;
_NGCXFreeCi xfreeci;
_NGCXAllocColor xalloccolor;
_NGCXGetSizeChg xgetsizechg;
_NGCXWinConfig xwinconfig;
_NGCPixConfig pixconfig;
_NGCAlpha alphaconfig;
_NGCAntiAlias antialias;
_NGCCairoFillHack fillhack;
} _NGCesc;
/*
* This function should only be called from libncarg_gksC(s_gesc.c).
*/
int _NGCescape(
#ifdef NeedFuncProto
int func_id,
_NGCesc *cesc
#endif
);
/*
* This function should only be called from individual output drivers.
*/
_NGCesc *
_NGGetCEscInit(
#ifdef NeedFuncProto
void
#endif
);
#endif /* _NGKSP_ */
|