This file is indexed.

/usr/include/dx/image.h is in libdx4-dev 1:4.4.4-4build1.

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
/***********************************************************************/
/* Open Visualization Data Explorer                                    */
/* (C) Copyright IBM Corp. 1989,1999                                   */
/* ALL RIGHTS RESERVED                                                 */
/* This code licensed under the                                        */
/*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
/***********************************************************************/


#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif

#ifndef _DXI_IMAGE_H_
#define _DXI_IMAGE_H_

/* TeX starts here. Do not remove this comment. */

/*
\section{Image fields}

This section describes routines for creating a field object that
represents an image of a particular size, for getting a pointer to the
pixels for the image field, and querying the dimensions of the image
field.

An image field is a field with a regular grid of positions with unit
spacing, and a regular grid of quadrilateral connections.  These
routines simplify the task of creating and accessing such a field.
*/

Field DXMakeImageFormat(int, int, char *);
Field DXMakeImage(int width, int height);
/**
\index{DXMakeImage}
Creates a new field object that represents an image of the specified
size.  Returns the image, or returns null and sets the error code to
indicate an error.
**/

RGBColor *DXGetPixels(Field i);
/**
\index{DXGetPixels}
Returns a pointer to the array of pixels associated with the image
field.  This is a pointer to the global memory array and can therefore
be modified.  Returns the pointer, or returns null and sets the error
code to indicate an error.
**/

Field DXGetImageSize(Field i, int *width, int *height);
Object DXGetImageBounds(Object o, int *x, int *y, int *width, int *height);
/**
\index{DXGetImageSize}\index{DXGetImageBounds}
{\tt DXGetImageSize} returns the width and height of a simple image
field.  {\tt DXGetImageBounds} returns the the origin and dimensions of
a simple or composite image field (such as is generated by the Arrange
module).  Returns the image, or returns null and sets the error code
to indicate an error.
**/

Field DXOutputRGB(Field i, int fd);
/**
\index{DXOutputRGB}
Writes the specified image field to the specified file descriptor as
three bytes (red, green and blue) per pixel.  Returns {\tt i}, or
returns null and sets the error code to indicate an error.
**/

Object DXDisplayFB(Object i, char *name, int x, int y);
/**
\index{OutputFB}
Outputs an image {\tt i} to the frame buffer named by {\tt name} at the
position specified by {\tt x} and {\tt y}.  Returns {\tt i}, or
returns null and sets the error code to indicate an error.
**/

Object DXDisplayX(Object i, char *host, char *window);
/**
\index{DXDisplayX}
Creates an X window on the specified {\tt host} with the title
specified by {\tt window}, and displays the contents of the image
specified by {\tt i} in the window.  Returns {\tt i}, or returns null
and sets the error code to indicate an error.
**/

#endif /* _DXI_IMAGE_H_ */

#if defined(__cplusplus) || defined(c_plusplus)
}
#endif