/usr/include/ncarg/hlu/Legend.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 290 291 292 293 294 295 296 297 298 299 300 301 | /*
* $Id: Legend.h,v 1.22 2008-05-27 20:55:30 dbrown Exp $
*/
/************************************************************************
* *
* Copyright (C) 1992 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: Legend.h
*
* Author: David I. Brown
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Fri Jun 11 15:17:49 MDT 1993
*
* Description: Legend public header file
*/
#ifndef _NLegend_h
#define _NLegend_h
#include <ncarg/hlu/View.h>
#include <ncarg/hlu/MultiText.h>
/* label alignment */
typedef enum _NhllgLabelAlignmentMode {
NhlITEMCENTERS = 0, NhlABOVEITEMS, NhlBELOWITEMS
} NhllgLabelAlignmentMode;
#define NhlTlgLabelAlignmentMode "lgLabelAlignmentMode"
/* Box sizing */
typedef enum _NhllgItemPlacementMode {
NhlUNIFORMPLACEMENT = 0, NhlEXPLICITPLACEMENT
} NhllgItemPlacementMode;
#define NhlTlgItemPlacementMode "lgItemPlacementMode"
/* Instance resources */
#define NhlNlgLegendOn "lgLegendOn"
#define NhlNlgOrientation "lgOrientation"
#define NhlNlgJustification "lgJustification"
#define NhlNlgBoxMajorExtentF "lgBoxMajorExtentF"
#define NhlNlgBoxMinorExtentF "lgBoxMinorExtentF"
#define NhlNlgItemCount "lgItemCount"
#define NhlNlgItemPlacement "lgItemPlacement"
#define NhlNlgAutoManage "lgAutoManage"
#define NhlNlgLabelOffsetF "lgLabelOffsetF"
#define NhlNlgTitleOffsetF "lgTitleOffsetF"
#define NhlNlgLeftMarginF "lgLeftMarginF"
#define NhlNlgRightMarginF "lgRightMarginF"
#define NhlNlgBottomMarginF "lgBottomMarginF"
#define NhlNlgTopMarginF "lgTopMarginF"
/* arrays */
#define NhlNlgMonoItemType "lgMonoItemType"
#define NhlNlgItemType "lgItemType"
#define NhlNlgItemTypes "lgItemTypes"
#define NhlNlgMonoDashIndex "lgMonoDashIndex"
#define NhlNlgDashIndex "lgDashIndex"
#define NhlNlgDashIndexes "lgDashIndexes"
#define NhlNlgMonoMarkerIndex "lgMonoMarkerIndex"
#define NhlNlgMarkerIndex "lgMarkerIndex"
#define NhlNlgMarkerIndexes "lgMarkerIndexes"
#define NhlNlgLineLabelStrings "lgLineLabelStrings"
#define NhlNlgMonoLineColor "lgMonoLineColor"
#define NhlNlgLineColor "lgLineColor"
#define NhlNlgLineColors "lgLineColors"
#define NhlNlgMonoMarkerColor "lgMonoMarkerColor"
#define NhlNlgMarkerColor "lgMarkerColor"
#define NhlNlgMarkerColors "lgMarkerColors"
#define NhlNlgMonoLineThickness "lgMonoLineThickness"
#define NhlNlgLineThicknessF "lgLineThicknessF"
#define NhlNlgLineThicknesses "lgLineThicknesses"
#define NhlNlgMonoMarkerThickness "lgMonoMarkerThickness"
#define NhlNlgMarkerThicknessF "lgMarkerThicknessF"
#define NhlNlgMarkerThicknesses "lgMarkerThicknesses"
#define NhlNlgMonoLineLabelFontHeight "lgMonoLineLabelFontHeight"
#define NhlNlgLineLabelFontHeightF "lgLineLabelFontHeightF"
#define NhlNlgLineLabelFontHeights "lgLineLabelFontHeights"
#define NhlNlgMonoMarkerSize "lgMonoMarkerSize"
#define NhlNlgMarkerSizeF "lgMarkerSizeF"
#define NhlNlgMarkerSizes "lgMarkerSizes"
#define NhlNlgLabelStrings "lgLabelStrings"
#define NhlNlgItemPositions "lgItemPositions"
#define NhlNlgItemOrder "lgItemOrder"
#define NhlNlgMonoLineLabelFontColor "lgMonoLineLabelFontColor"
#define NhlNlgLineLabelFontColor "lgLineLabelFontColor"
#define NhlNlgLineLabelFontColors "lgLineLabelFontColors"
#define NhlNlgMonoLineDashSegLen "lgMonoLineDashSegLen"
#define NhlNlgLineDashSegLenF "lgLineDashSegLenF"
#define NhlNlgLineDashSegLens "lgLineDashSegLens"
/*end of arrays */
#define NhlNlgLineLabelsOn "lgLineLabelsOn"
#define NhlNlgLineLabelFont "lgLineLabelFont"
#define NhlNlgLineLabelFontAspectF "lgLineLabelFontAspectF"
#define NhlNlgLineLabelFontThicknessF "lgLineLabelFontThicknessF"
#define NhlNlgLineLabelFontQuality "lgLineLabelFontQuality"
#define NhlNlgLineLabelConstantSpacingF "lgLineLabelConstantSpacingF"
#define NhlNlgLineLabelFuncCode "lgLineLabelFuncCode"
#define NhlNlgLabelAutoStride "lgLabelAutoStride"
#define NhlNlgLabelsOn "lgLabelsOn"
#define NhlNlgLabelPosition "lgLabelPosition"
#define NhlNlgLabelAngleF "lgLabelAngleF"
#define NhlNlgLabelJust "lgLabelJust"
#define NhlNlgLabelDirection "lgLabelDirection"
#define NhlNlgLabelAlignment "lgLabelAlignment"
#define NhlNlgLabelFont "lgLabelFont"
#define NhlNlgLabelFontColor "lgLabelFontColor"
#define NhlNlgLabelFontHeightF "lgLabelFontHeightF"
#define NhlNlgLabelFontAspectF "lgLabelFontAspectF" /* height/width */
#define NhlNlgLabelFontThicknessF "lgLabelFontThicknessF"
#define NhlNlgLabelFontQuality "lgLabelFontQuality"
#define NhlNlgLabelConstantSpacingF "lgLabelConstantSpacingF"
#define NhlNlgLabelFuncCode "lgLabelFuncCode"
#define NhlNlgLabelStride "lgLabelStride"
#define NhlNlgTitleOn "lgTitleOn"
#define NhlNlgTitleString "lgTitleString"
#define NhlNlgTitlePosition "lgTitlePosition"
#define NhlNlgTitleExtentF "lgTitleExtentF"
#define NhlNlgTitleAngleF "lgTitleAngleF"
#define NhlNlgTitleDirection "lgTitleDirection"
#define NhlNlgTitleFont "lgTitleFont"
#define NhlNlgTitleJust "lgTitleJust"
#define NhlNlgTitleFontColor "lgTitleFontColor"
#define NhlNlgTitleFontHeightF "lgTitleFontHeightF"
#define NhlNlgTitleFontAspectF "lgTitleFontAspectF" /* height/width */
#define NhlNlgTitleFontThicknessF "lgTitleFontThicknessF"
#define NhlNlgTitleFontQuality "lgTitleFontQuality"
#define NhlNlgTitleConstantSpacingF "lgTitleConstantSpacingF"
#define NhlNlgTitleFuncCode "lgTitleFuncCode"
#define NhlNlgBoxBackground "lgBoxBackground"
#define NhlNlgBoxLinesOn "lgBoxLinesOn"
#define NhlNlgBoxLineColor "lgBoxLineColor"
#define NhlNlgBoxLineThicknessF "lgBoxLineThicknessF"
#define NhlNlgBoxLineDashPattern "lgBoxLineDashPattern"
#define NhlNlgBoxLineDashSegLenF "lgBoxLineDashSegLenF"
#define NhlNlgPerimOn "lgPerimOn"
#define NhlNlgPerimColor "lgPerimColor"
#define NhlNlgPerimFill "lgPerimFill"
#define NhlNlgPerimFillColor "lgPerimFillColor"
#define NhlNlgPerimThicknessF "lgPerimThicknessF"
#define NhlNlgPerimDashPattern "lgPerimDashPattern"
#define NhlNlgPerimDashSegLenF "lgPerimDashSegLenF"
/* Class resources */
#define NhlClgLegendOn "LgLegendOn"
#define NhlClgOrientation "LgOrientation"
#define NhlClgJustification "LgJustification"
#define NhlClgBoxMajorExtentF "LgBoxMajorExtentF"
#define NhlClgBoxMinorExtentF "LgBoxMinorExtentF"
#define NhlClgAlignment "LgAlignment"
#define NhlClgItemCount "LgItemCount"
#define NhlClgItemPlacement "LgItemPlacement"
#define NhlClgAutoManage "LgAutoManage"
#define NhlClgMaxLabelAngleAdditionF "LgMaxLabelAngleAdditionF"
#define NhlClgLabelOffsetF "LgLabelOffsetF"
#define NhlClgTitleOffsetF "LgTitleOffsetF"
#define NhlClgLeftMarginF "LgLeftMarginF"
#define NhlClgRightMarginF "LgRightMarginF"
#define NhlClgBottomMarginF "LgBottomMarginF"
#define NhlClgTopMarginF "LgTopMarginF"
/* arrays */
#define NhlClgMonoItemType "LgMonoItemType"
#define NhlClgItemType "LgItemType"
#define NhlClgItemTypes "LgItemTypes"
#define NhlClgMonoDashIndex "LgMonoDashIndex"
#define NhlClgDashIndexes "LgDashIndexes"
#define NhlClgMonoMarkerIndex "LgMonoMarkerIndex"
#define NhlClgMarkerIndexes "LgMarkerIndexes"
#define NhlClgLineLabelStrings "LgLineLabelStrings"
#define NhlClgMonoLineColor "LgMonoLineColor"
#define NhlClgLineColors "LgLineColors"
#define NhlClgMonoMarkerColor "LgMonoMarkerColor"
#define NhlClgMarkerColors "LgMarkerColors"
#define NhlClgMonoLineThickness "LgMonoLineThickness"
#define NhlClgLineThicknesses "LgLineThicknesses"
#define NhlClgMonoMarkerThickness "LgMonoMarkerThickness"
#define NhlClgMarkerThicknesses "LgMarkerThicknesses"
#define NhlClgMonoLineLabelFontHeight "LgMonoLineLabelFontHeight"
#define NhlClgLineLabelFontHeights "LgLineLabelFontHeights"
#define NhlClgMonoMarkerSize "LgMonoMarkerSize"
#define NhlClgMarkerSizes "LgMarkerSizes"
#define NhlClgLabelStrings "LgLabelStrings"
#define NhlClgItemPositions "LgItemPositions"
#define NhlClgItemOrder "LgItemOrder"
#define NhlClgMonoLineLabelFontColor "LgMonoLineLabelFontColor"
#define NhlClgLineLabelFontColors "LgLineLabelFontColors"
#define NhlClgMonoLineDashSegLen "LgMonoLineDashSegLen"
#define NhlClgLineDashSegLens "LgLineDashSegLens"
/*end of arrays */
#define NhlClgLineLabelsOn "LgLineLabelsOn"
#define NhlClgLabelsOn "LgLabelsOn"
#define NhlClgLabelPosition "LgLabelPosition"
#define NhlClgLabelAlignment "LgLabelAlignment"
#define NhlClgLabelStride "LgLabelStride"
#define NhlClgTitleOn "LgTitleOn"
#define NhlClgTitleString "LgTitleString"
#define NhlClgTitlePosition "LgTitlePosition"
#define NhlClgTitleExtentF "LgTitleExtentF"
#define NhlClgBoxLinesOn "LgBoxLinesOn"
/*
* These class resources have been eliminated
*/
#if 0
#define NhlClgDashIndex "LgDashIndex"
#define NhlClgMarkerIndex "LgMarkerIndex"
#define NhlClgLineColor "LgLineColor"
#define NhlClgMarkerColor "LgMarkerColor"
#define NhlClgLineThicknessF "LgLineThicknessF"
#define NhlClgMarkerThicknessF "LgMarkerThicknessF"
#define NhlClgLineLabelFontHeightF "LgLineLabelFontHeightF"
#define NhlClgMarkerSizeF "LgMarkerSizeF"
#define NhlClgLineLabelFontColor "LgLineLabelFontColor"
#define NhlClgLineDashSegLenF "LgLineDashSegLenF"
#define NhlClgLineLabelFont "LgLineLabelFont"
#define NhlClgLineLabelFontAspectF "LgLineLabelFontAspectF"
#define NhlClgLineLabelFontThicknessF "LgLineLabelFontThicknessF"
#define NhlClgLineLabelFontQuality "LgLineLabelFontQuality"
#define NhlClgLineLabelConstantSpacingF "LgLineLabelConstantSpacingF"
#define NhlClgLineLabelFuncCode "LgLineLabelFuncCode"
#define NhlClgLabelAngleF "LgLabelAngleF"
#define NhlClgLabelJust "LgLabelJust"
#define NhlClgLabelDirection "LgLabelDirection"
#define NhlClgLabelFontColor "LgLabelFontColor"
#define NhlClgLabelFontHeightF "LgLabelFontHeightF"
#define NhlClgLabelFontAspectF "LgLabelFontAspectF" /* height/width */
#define NhlClgLabelFontThicknessF "LgLabelFontThicknessF"
#define NhlClgLabelFontQuality "LgLabelFontQuality"
#define NhlClgLabelConstantSpacingF "LgLabelConstantSpacingF"
#define NhlClgLabelFuncCode "LgLabelFuncCode"
#define NhlClgTitleAngleF "LgTitleAngleF"
#define NhlClgTitleDirection "LgTitleDirection"
#define NhlClgTitleJust "LgTitleJust"
#define NhlClgTitleFontColor "LgTitleFontColor"
#define NhlClgTitleFontHeightF "LgTitleFontHeightF"
#define NhlClgTitleFontAspectF "LgTitleFontAspectF" /* height/width */
#define NhlClgTitleFontThicknessF "LgTitleFontThicknessF"
#define NhlClgTitleFontQuality "LgTitleFontQuality"
#define NhlClgTitleConstantSpacingF "LgTitleConstantSpacingF"
#define NhlClgTitleFuncCode "LgTitleFuncCode"
#define NhlClgBoxBackground "LgBoxBackground"
#define NhlClgBoxLineColor "LgBoxLineColor"
#define NhlClgBoxLineThicknessF "LgBoxLineThicknessF"
#define NhlClgBoxLineDashPattern "LgBoxLineDashPattern"
#define NhlClgBoxLineDashSegLenF "LgBoxLineDashSegLenF"
#define NhlClgPerimOn "LgPerimOn"
#define NhlClgPerimColor "LgPerimColor"
#define NhlClgPerimFill "LgPerimFill"
#define NhlClgPerimFillColor "LgPerimFillColor"
#define NhlClgPerimThicknessF "LgPerimThicknessF"
#define NhlClgPerimDashPattern "LgPerimDashPattern"
#define NhlClgPerimDashSegLenF "LgPerimDashSegLenF"
#endif
/* end of resources */
extern NhlClass NhllegendClass;
#endif /* _NLegend_h */
|