/usr/include/ncarg/hlu/MapPlotP.h is in libncarg-dev 6.1.2-7.
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 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 | /*
* $Id: MapPlotP.h,v 1.28 2008-08-09 00:25:02 dbrown Exp $
*/
/************************************************************************
* *
* Copyright (C) 1992 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: MapPlotP.h
*
* Author: David Brown
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Fri Oct 2 15:01:59 MDT 1992
*
* Description: Generic Map Plotting object
*/
#ifndef _NMapPlotP_h
#define _NMapPlotP_h
#include <ncarg/hlu/TransformP.h>
#include <ncarg/hlu/MapTransObjP.h>
#include <ncarg/hlu/MapPlot.h>
#include <ncarg/hlu/WorkspaceI.h>
/* private resources */
#define NhlNmpDumpAreaMap "mpDumpAreaMap"
#define NhlCmpDumpAreaMap "MpDumpAreaMap"
#define Nhl_mpDEF_DASH_SEGLEN 0.15
#define Nhl_mpDEF_LABEL_HEIGHT 0.008
#define Nhl_mpMAX_AREA_GROUPS 256
#define Nhl_mpMIN_AREA_GROUPS 11
#define mpALLOC_UNIT 128
typedef struct _NhlmpLineAttrs {
NhlBoolean on;
NhlDrawOrder order;
int color;
int gks_color;
int dash_pat;
NhlBoolean dash_seglen_set;
float dash_seglen;
float thickness;
} NhlmpLineAttrs;
typedef struct _NhlmpFillAttrs {
NhlBoolean color_set;
int color;
NhlBoolean pattern_set;
int pattern;
NhlBoolean scale_set;
float scale;
} NhlmpFillAttrs;
typedef struct _NhlmpLabelAttrs {
NhlBoolean on;
NhlDrawOrder order;
NhlBoolean height_set;
float height;
NhlTextDirection direction;
NhlFont font;
int color;
int gks_color;
float aspect;
float thickness;
NhlFontQuality quality;
float cspacing;
float angle;
char fcode[2];
int back_color;
NhlBoolean perim_on;
float perim_space;
float perim_lthick;
int perim_lcolor;
int gks_bcolor;
int gks_plcolor;
float real_height;
float pheight;
float pwidth;
float x_pos;
float y_pos;
NhlJustification just;
} NhlmpLabelAttrs;
typedef enum _mpDrawOp {
mpDRAWFILL,
mpDRAWINVERSEFILL,
mpDRAWOUTLINE,
mpDRAWGRID
} mpDrawOp;
typedef struct NhlMapPlotLayerPart {
/* Public resources */
NhlMapShapeMode shape_mode;
NhlGenArray area_names;
NhlGenArray area_types;
NhlGenArray fixed_groups;
NhlGenArray dynamic_groups;
NhlMapDataBaseVersion database_version;
NhlString data_set_name;
NhlMapDataResolution data_resolution;
NhlBoolean outline_masking_on_set;
NhlBoolean outline_masking_on;
NhlGenArray mask_outline_specs;
NhlBoolean outline_on;
NhlDrawOrder outline_order;
NhlMapBoundarySets outline_boundaries;
NhlGenArray outline_specs;
NhlmpLineAttrs geophysical;
NhlmpLineAttrs us_state;
NhlmpLineAttrs national;
NhlmpLineAttrs county;
NhlBoolean area_masking_on_set;
NhlBoolean area_masking_on;
NhlGenArray mask_area_specs;
NhlBoolean fill_on;
NhlDrawOrder fill_order;
int fill_pattern_background;
NhlMapBoundarySets fill_boundaries;
NhlGenArray fill_area_specs;
NhlSpecifiedFillPriority spec_fill_priority;
NhlBoolean spec_fill_direct;
NhlGenArray spec_fill_colors;
NhlGenArray spec_fill_patterns;
NhlGenArray spec_fill_scales;
int area_group_count;
NhlBoolean mono_fill_color;
NhlColorIndex fill_color;
NhlGenArray fill_colors;
NhlBoolean mono_fill_pattern;
NhlFillIndex fill_pattern;
NhlGenArray fill_patterns;
NhlBoolean mono_fill_scale;
float fill_scale;
NhlGenArray fill_scales;
float fill_dot_size;
NhlmpFillAttrs fill_default;
NhlmpFillAttrs ocean;
NhlmpFillAttrs land;
NhlmpFillAttrs inland_water;
NhlBoolean grid_spacing_set;
float grid_spacing;
float grid_lat_spacing;
float grid_lon_spacing;
float grid_max_lat;
float grid_polar_lon_spacing;
NhlMapGridMaskMode grid_mask_mode;
NhlmpLineAttrs grid;
NhlmpLineAttrs limb;
NhlmpLineAttrs perim;
NhlmpLabelAttrs labels;
/* intercepted resources */
NhlAnnotationDisplayMode display_tickmarks;
NhlBoolean label_auto_stride;
int xb_mode;
NhlGenArray xb_values;
NhlGenArray xb_labels;
char xb_label_fcode;
int xt_mode;
NhlGenArray xt_values;
NhlGenArray xt_labels;
char xt_label_fcode;
int yl_mode;
NhlGenArray yl_values;
NhlGenArray yl_labels;
char yl_label_fcode;
int yr_mode;
NhlGenArray yr_values;
NhlGenArray yr_labels;
char yr_label_fcode;
/* Private resources */
NhlBoolean dump_area_map;
/* Private Fields */
NhlBoolean update_req;
NhlBoolean new_draw_req;
NhlTransDat *predraw_dat;
NhlTransDat *draw_dat;
NhlTransDat *postdraw_dat;
NhlLayer overlay_object;
NhlGenArray dash_table;
int spec_fill_color_count;
int spec_fill_pattern_count;
int spec_fill_scale_count;
int trans_change_count;
NhlLayer map_data_handler;
NhlBoolean init_draw;
NhlBoolean view_changed;
NhlGenArray xbvalues;
NhlGenArray xblabels;
NhlGenArray xtvalues;
NhlGenArray xtlabels;
NhlGenArray ylvalues;
NhlGenArray yllabels;
NhlGenArray yrvalues;
NhlGenArray yrlabels;
NhlBoolean xb_major_length_set;
float xb_major_length;
NhlBoolean xt_major_length_set;
float xt_major_length;
NhlBoolean yl_major_length_set;
float yl_major_length;
NhlBoolean yr_major_length_set;
float yr_major_length;
NhlBoolean xb_major_outward_length_set;
float xb_major_outward_length;
NhlBoolean xt_major_outward_length_set;
float xt_major_outward_length;
NhlBoolean yl_major_outward_length_set;
float yl_major_outward_length;
NhlBoolean yr_major_outward_length_set;
float yr_major_outward_length;
NhlBoolean xb_font_height_set;
float xb_font_height;
NhlBoolean xt_font_height_set;
float xt_font_height;
NhlBoolean yl_font_height_set;
float yl_font_height;
NhlBoolean yr_font_height_set;
float yr_font_height;
NhlBoolean xb_on_set;
NhlBoolean xb_on;
NhlBoolean xt_on_set;
NhlBoolean xt_on;
NhlBoolean yl_on_set;
NhlBoolean yl_on;
NhlBoolean yr_on_set;
NhlBoolean yr_on;
NhlBoolean xb_labels_on_set;
NhlBoolean xb_labels_on;
NhlBoolean xt_labels_on_set;
NhlBoolean xt_labels_on;
NhlBoolean yl_labels_on_set;
NhlBoolean yl_labels_on;
NhlBoolean yr_labels_on_set;
NhlBoolean yr_labels_on;
} NhlMapPlotLayerPart;
typedef struct _NhlMapPlotLayerRec {
NhlBaseLayerPart base;
NhlViewLayerPart view;
NhlTransformLayerPart trans;
NhlMapPlotLayerPart mapplot;
} NhlMapPlotLayerRec;
typedef struct NhlMapPlotClassPart{
void *foo;
} NhlMapPlotClassPart;
typedef struct _NhlMapPlotClassRec{
NhlBaseClassPart base_class;
NhlViewClassPart view_class;
NhlTransformClassPart trans_class;
NhlMapPlotClassPart mapplot_class;
} NhlMapPlotClassRec;
typedef struct _NhlMapPlotClassRec *NhlMapPlotClass;
typedef struct _NhlMapPlotLayerRec *NhlMapPlotLayer;
extern NhlMapPlotClassRec NhlmapPlotClassRec;
#endif /* _NMapPlotP_h */
|