This file is indexed.

/usr/include/ncbi/mappingp.h is in libvibrant6-dev 6.1.20120620-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
/*   mappingP.h
* ===========================================================================
*
*                            PUBLIC DOMAIN NOTICE
*            National Center for Biotechnology Information (NCBI)
*
*  This software/database is a "United States Government Work" under the
*  terms of the United States Copyright Act.  It was written as part of
*  the author's official duties as a United States Government employee and
*  thus cannot be copyrighted.  This software/database is freely available
*  to the public for use. The National Library of Medicine and the U.S.
*  Government do not place any restriction on its use or reproduction.
*  We would, however, appreciate having the NCBI and the author cited in
*  any work or product based on this material
*
*  Although all reasonable efforts have been taken to ensure the accuracy
*  and reliability of the software and data, the NLM and the U.S.
*  Government do not and cannot warrant the performance or results that
*  may be obtained by using this software or data. The NLM and the U.S.
*  Government disclaim all warranties, express or implied, including
*  warranties of performance, merchantability or fitness for any particular
*  purpose.
*
* ===========================================================================
*
* File Name:  mappingP.h
*
* Author:  Jonathan Kans, Alex Smirnov, Jill Shermer
*
* Version Creation Date:   1/19/93
*
* $Revision: 6.3 $
*
* File Description: 
*
* Modifications:  
* --------------------------------------------------------------------------
* $Log: mappingp.h,v $
* Revision 6.3  1999/10/04 17:16:32  kans
* include ncbidraw.h instead of vibrant.h, a couple Nlm_ prefixes
*
* Revision 6.2  1999/08/06 18:51:11  vakatov
* typo fixed
*
* Revision 6.1  1999/08/06 18:42:34  vakatov
* Moved "NormalizeBox()" from "viewer.c" to "mappingp.[ch]" & made it public
*
* ==========================================================================
*/

#ifndef _MAPPINGP_
#define _MAPPINGP_

#ifndef _NCBIDRAW_
#include <ncbidraw.h>
#endif

#ifndef _PICTURE_
#include <picture.h>
#endif

#ifndef _PICTUREP_
#include <picturep.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif


/*****************************************************************************
 *   STRUCTURE TYPEDEFS
 *****************************************************************************/

typedef struct Nlm_scaleinfo {
  Nlm_BoxInfo  worldWindow;
  Nlm_BoxInfo  worldWindow16;
  Nlm_Int4     scaleX;
  Nlm_Int4     scaleY;
  Nlm_Int4     offsetX;
  Nlm_Int4     offsetY;
} Nlm_ScaleInfo, PNTR Nlm_ScalePtr;

typedef struct Nlm_drawinfo {
  Nlm_AttPPtr   primattrib;
  Nlm_ScaleInfo scale;
  Nlm_AttPData  curattrib;
  Nlm_Boolean   checked;
  Nlm_Int1      highlight;
} Nlm_DrawInfo, PNTR Nlm_DrawInfoPtr;

typedef struct Nlm_vscaleinfo {
  Nlm_BoxInfo  world;
  Nlm_RecT     view;
  Nlm_BoxInfo  port;
  Nlm_Int4     scaleX;
  Nlm_Int4     scaleY;
  Nlm_Int2     scrollX;
  Nlm_Int2     scrollY;
  Nlm_Boolean  force;
} Nlm_VScaleInfo, PNTR Nlm_VScalePtr;


/*****************************************************************************
 *   FUNCTIONS
 *****************************************************************************/

extern void Nlm_LoadBox
(BoxPtr box, Int4 left, Int4 top, Int4 right, Int4 bottom);

extern void Nlm_OutsetBox
(BoxPtr box, Int4 dX, Int4 dY);

extern void Nlm_NormalizeBox
(Nlm_BoxInfo* box);

extern void Nlm_MapWorldPointToPixel
(Nlm_PointPtr pt, Nlm_PntPtr pnt, Nlm_ScalePtr scale);

extern void Nlm_MapPixelPointToWorld
(Nlm_PntPtr pnt, Nlm_PointPtr pt, Nlm_ScalePtr scale);

extern void Nlm_MapWorldBoxToRect
(Nlm_RectPtr r, Nlm_BoxPtr box, Nlm_ScalePtr scale);

extern void Nlm_MapRectToWorldBox
(Nlm_BoxPtr box, Nlm_RectPtr r, Nlm_ScalePtr scale);

extern Nlm_Boolean Nlm_BoxInViewport
(Nlm_RectPtr rct, Nlm_BoxPtr box, Nlm_VScalePtr scale);

extern Nlm_Boolean Nlm_LineIntoVPort
(Nlm_Int4Ptr x1, Nlm_Int4Ptr y1, Nlm_Int4Ptr x2, Nlm_Int4Ptr y2,
 Nlm_BoxPtr worldWindow);

extern Nlm_Boolean Nlm_IsLineInVPort
(Nlm_Int4 x1, Nlm_Int4 y1, Nlm_Int4 x2, Nlm_Int4 y2,
 Nlm_BoxPtr worldWindow);

extern Nlm_SegmenT Nlm_SearchSegment
(Nlm_SegmenT segment, Nlm_ScalePtr scalePtr, Nlm_PrimitivE PNTR prPtr);


/*****************************************************************************
 *   DEFINES
 *****************************************************************************/

#define ScaleInfo Nlm_ScaleInfo
#define ScalePtr Nlm_ScalePtr
#define DrawInfo Nlm_DrawInfo
#define DrawInfoPtr Nlm_DrawInfoPtr 
#define VScaleInfo Nlm_VScaleInfo 
#define VScalePtr Nlm_VScalePtr
#define LoadBox Nlm_LoadBox
#define OutsetBox Nlm_OutsetBox
#define NormalizeBox Nlm_NormalizeBox
#define MapWorldPointToPixel Nlm_MapWorldPointToPixel
#define MapPixelPointToWorld Nlm_MapPixelPointToWorld
#define MapWorldBoxToRect Nlm_MapWorldBoxToRect
#define MapRectToWorldBox Nlm_MapRectToWorldBox
#define BoxInViewport Nlm_BoxInViewport
#define LineIntoVPort Nlm_LineIntoVPort
#define IsLineInVPort Nlm_IsLineInVPort
#define SearchSegment Nlm_SearchSegment

#ifdef __cplusplus
}
#endif

#endif  /* _MAPPINGP_ */