/usr/include/ncarg/hlu/CairoWorkstationP.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 | /*
* $Id: CairoWorkstationP.h 15910 2015-01-12 19:03:40Z brownrig $
*/
# ifndef _NCairoWorkstationP_h
# define _NCairoWorkstationP_h
# include <ncarg/hlu/WorkstationP.h>
# include <ncarg/hlu/CairoWorkstation.h>
# include <ncarg/gksP.h>
/*
* CAIRO workstation type identifiers start at 40.
*
*/
# define CPS (40)
# define CPNG (41)
# define CPDF (42)
# define CTIFF (43)
# define CX11 (44)
# define CEPS (45)
# define CQT (46)
# define CSVG (47)
/* We are creating distinct workstation objects for PS/PDF versus image-based cairo output formats.
* However, we'll use common methods and structs. In the struct below, some fields are applicable
* to only one or the other workstation type.
*/
typedef struct _NhlCairoWorkstationLayerPart {
NhlCairoFormat format; /* CPS, CPNG, CPDF, etc. */
NhlString filename;
int lower_x;
int lower_y;
int upper_x;
int upper_y;
NhlBoolean cairo_fill_hack;
/* fields for PS/PDF workstations */
NhlString paper_size; /* standard paper name, e.g., "legal", "A2", etc. */
NhlWorkOrientation orientation; /* PORTRAIT or LANDSCAPE */
float page_width; /* inches */
float page_height;
/* fields for image-based workstations */
_NGCPixConfig pixconfig;
/* fields for window-based workstations */
NhlBoolean window_id_set;
int window_id;
NhlBoolean pause_set;
NhlBoolean pause;
_NGCXWinConfig xwinconfig;
/* Private internal fields */
NhlBoolean dev_bounds_updated;
} NhlCairoWorkstationLayerPart;
typedef struct _NhlCairoWorkstationLayerRec {
NhlBaseLayerPart base;
NhlWorkstationLayerPart work;
NhlCairoWorkstationLayerPart cairo;
} NhlCairoWorkstationLayerRec;
typedef struct _NhlCairoWorkstationClassPart {
int place_holder;
} NhlCairoWorkstationClassPart;
typedef struct _NhlCairoWorkstationClassRec {
NhlBaseClassPart base_class;
NhlWorkstationClassPart work_class;
NhlCairoWorkstationClassPart cairo_class;
} NhlCairoWorkstationClassRec;
typedef struct _NhlCairoWorkstationLayerRec *NhlCairoWorkstationLayer;
typedef struct _NhlCairoWorkstationClassRec *NhlCairoWorkstationClass;
extern NhlCairoWorkstationClassRec NhlcairoDocumentWorkstationClassRec;
extern NhlCairoWorkstationClassRec NhlcairoImageWorkstationClassRec;
extern NhlCairoWorkstationClassRec NhlcairoWindowWorkstationClassRec;
#ifdef BuildQtEnabled
extern NhlCairoWorkstationClassRec NhlcairoQtWorkstationClassRec;
#endif
# endif /* _NCairoWorkstationP_h */
|